hi,I have a container in my DCT whose combination attribute is set as or. I need to call a formapi function each time, a user clicks the "+" sign on this container in the DCR and changes the container item.I tried onReplicantAdded and onItemChange...both of them havent worked for me. Any pointers would be helpful....TS 7.1/Windows ServerCode snippet:DCT-------------<container name="foo" location="foo" combination="or" min="1" max="1">.... <container name="a" location=a" min="1" max="10"> ..... </container> <container name="b" location=b" min="1" max="10"> ..... </container> <container name="c" location=c" min="1" max="10"> ..... </container></container>JS file:---------------IWEventRegistry.addItemHandler("/some path/../media_gallery","onItemChange",myCallbackFunction);orIWEventRegistry.addItemHandler("/some path/../media_gallery","onReplicantAdded",myCallbackFunction);
Hi ISCBorisB,Sorry for the confusion. I have updated the code snippet. it maps to foo.I am getting a plus sign on the foo container with an combination="or" set for the sub containers within. when i click on the plus, i see a small menu with options to select the sub containers...say a,b,c.If i select b, a is no longer visible and same is the case with c...and so on.I want to trap this click of a plus sign using formapi.