Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
FormAPI - Finding Replicant Index
justin_hardin
We have successfully registered event handlers on a select box inside of a replicant. Each time the value of the select control changes in ANY of the replicants, the event is fired.
Unfortunately, we can't tell WHICH replicant fired the event.
Is there a way to determine this?
- - - - - - - - - - - - - - - - - - - -
Justin Hardin
Sr IS Developer - PeopleSoft
Find more posts tagged with
Comments
Migrateduser
The event handler function can receive the replicant item as an argument.
e.g. if you registered a function "changeType" for onItemChange on the select box, you can define the function as :
function changeType(item) {
alert(item.getName() );
}
The alert will be something like "REPLICANT_ITEM[2]/SELECT_ITEM" if you changed the select box of second replicant.
Hope this helps.
justin_hardin
Thanks!!! That did the trick.
- - - - - - - - - - - - - - - - - - - -
Justin Hardin
Sr IS Developer - PeopleSoft