Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
cgi-callout in replicant
System
I have a cgi-callout in a <select> in a replicant. When the button is clicked, the onCallout event is triggered and it calls a function to populate the <select>. My issue is how do I determine which button was clicked. If I’m in the third replicant how do I know to only populate the third <select>? I am using FormAPI.
This DCT works, but since I don’t know which button was clicked I populate all the replicants. This isn’t good since I wipe out previously selected choices.
Thanks for any help.
Here’s is the portion of my DCT:
<container name="mappings">
<container combination="and" location="" max="4" min="1" name="maprep">
<label>Source and Target Mapping</label>
<item name="source" rowcontinue="t">
<label>Source Path</label>
<description>Enter a source folder</description>
<select required="t">
<cgi-callout label="Get Folders"/>
<option value="Choose a source" label="Choose a source"/>
</select>
</item>
<item name="target" rowcontinue="f">
<label>Target Path</label>
<description>Enter a target folder</description>
<select required="t">
<option value="Choose a target" label="Choose a source"/>
</select>
</item>
</container>
</container>
Find more posts tagged with
Comments
There are no comments yet