Hi all,
I'm trying to render dynamic RadioGroup like here:

> <t:radiogroup t:id="radioGroup"
>
                      value="value"
>                       label="prop:context.availableLabel"
>                       encoder="valueEncoderForFeature"
>                       validate="prop:selectValidator">
>
<t:loop source="context.availableItemList" value="oneItem">
>                       <t:radio label="literal:oneItem.name" value="oneItem"
> />
>     </t:loop>
>
</t:radiogroup>
>
Now labels are not rendered at all. Component renders only radiobuttons
without any text lables.
I can't add <t:tabel> tag because I have no defined Radio component in my
component class (it could be several radiobuttons inside one RadioGroup).
I tried also use plain html, like
<label
for="${currentFeature.id}-feature-label">${currentFeature.name}</label>
<input id="${currentFeature.id}-feature-label" t:type="radio"
label="literal:currentFeature.name" value="currentFeature" />
but tapestry rewrites input id, so label is rendered but not work as a label
(click on it does'nt work)

How can I achieve a normal label behavior in my case?
Thanks in advance.
Anton

Reply via email to