Sorry, let me try rephrasing my question:

When I click on the checkbox, how do I modify the corresponding object in the loop? The only way I can see of doing this is to iterate manually, in which case a Tapestry checkbox component is not usable in a loop.

Peter

Peter Stavrinides wrote:
Hi All

I this scenario:
<t:loop source="myDOA" value="selectedDOA" encoder="encoder">
           <t:checkbox t:id="archived" />
</t:loop>

How do I use the checkbox correctly when the user clicks it? 'I want to associate it with an object' via a primary key perhaps...but the checkbox only seems to have a value property of the type boolean:

http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Checkbox.html

Sorry if this question seems trivial, but I have been scratching my head for a while now.

thanks,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to