How to use radio-Buttons when iteratingThis should do the trick.

    <html:radio  property="auswahl" value="<%= adresse.getName() %>" />

or even

    <html:radio  property="auswahl" value="<bean:write name="adresse"
property="name"/>" />

Greetings Ralph

----- Original Message -----
From: Friedli Beat [UFA AG Her]
To: '[EMAIL PROTECTED]'
Sent: Thursday, August 30, 2001 11:25 AM
Subject: How to use radio-Buttons when iterating


How can I tell the radio-button to take the value from the collection I'm
iterating throug?
<%--I'm iterating thrugh the collection adressen --%>
<logic:iterate name="radio" property="adressen" id="adresse" >

        <%--Im trying to create a radiobutton for each "name" in
"adress"--%>
         <html:radio  property="auswahl" value="Here should stand the name"
/>

</logic:iterate>


Thanks,
Beat Friedli


Reply via email to