Hi all, I've a seemingly simple question which I've been struggling with, and haven't found any documentation or discussion about it.
I simply want to create a dynamic set of radio buttons with labels, but I'm not sure how to do it. <t:radiogroup t:id="searchCategoryGroup"> <t:loop source="searchCategories" value="searchCatIterator"> <t:radio value="searchCatIterator" label="${searchCatIterator.name}"/> <t:label for="?"/> </t:loop> </t:radiogroup> How do I bind the label to the radio button? I've tried stuff like this: <t:loop source="searchCategories" value="searchCatIterator" index="radioIndex"> <t:radio t:id="radio_${radioIndex}" value="searchCatIterator" label="${searchCatIterator.name}"/> <t:label for="radio_${radioIndex}"/> </t:loop> but that complains about the id "radio_${radioIndex}" not being valid (I suppose variable expansion is not taking place here). I'd very much appreciate some pointers. Thanks! Levi -- View this message in context: http://n2.nabble.com/-T5.1--Radio-buttons%2C-Labels%2C---Loops--tp2949062p2949062.html Sent from the Tapestry Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org