Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
onReplicantBeforeAdd & onReplicantAdd on same event ?
nipper
I need to either not allow a replicant to be added or change it when it is added. I was hoping to do this:
IWEventRegistry.addItemHandler("/Root/Container/TextField", "onReplicantBeforeAdd", checkReplicantIsValid);
IWEventRegistry.addItemHandler("/Root/Container/TextField", "onReplicantAdd", checkReplicant);
The first event fires but not the second (even when the onReplicantBeforeAdd returns true and it does add the replicant. Basically the 2nd event needs to adjust the items in the container.
If this is not supported/doesn't work then I guess I will use the 2nd event and remove the replicant that was added. Prefer not to, any ideas ?
Closing thread it is OnReplicantAdded
Find more posts tagged with
Comments
There are no comments yet