I am using T5 5.0.11. What I want to achieve is the following: I have 2 lists, one with all possible options, and the other pre-selected options. I want to dynamically create a group of checkboxes that correspond to all the possible options, with the ones matching the pres-selected values checked. I have gotten so far as:
<t:loop source="availableRoles" value="availableRole"> <t:checkbox t:id="selectedRoles" t:value="prop:availableRole.id" t:label="prop:availableRole.name"/> <t:label for="selectedRoles">${availableRole.name}</t:label> </t:loop> What I am struggling with are: 1. In the generated HTML, there is no value field in the <input> tag. The t:value part in the tml is ignored. 2. All checkboxs are checked - how do I pass my pre-selected list to the loop component? Thanks, Eric -- View this message in context: http://www.nabble.com/-T5--How-to-dynamically-render-a-set-of-checkboxes-tp19696667p19696667.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]