Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Handle combination=or in formapi
System
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 Server
Code 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/../foo","onItemChange",myCallbackFunction);
or
IWEventRegistry.addItemHandler("/some path/../foo","onReplicantAdded",myCallbackFunction);
Find more posts tagged with
Comments
There are no comments yet