Sorry, In my case, userstag is not a bean, it is an iterate reference, so when I have tried
<logic:iterate id="userstag" name="Users" property="users" > <br> <td align="left"> <html:radio property="typeOfRequestor" value="<%userstag.userName%>"/> <bean:write name="userstag" property="userName" filter="true"/> </td> </logic:iterate> <br> it does not work, my html code which is generated has in it value="<%userstag.userName%>" Do I need to use a custom tag? Cheers Tony Alvin Kutttikkat Antony wrote: > Hello, > Why don't u try this way? but I have tryed this in property field and it is working! > > <html:radio property="typeOfRequestor" > value="<%=userstag.userName%>"/> > > > > alvin kuttikkat antony > Internet und Virtuelle Hochshule > Directory > Universität München > > Leopoldstr .3 > 80802 München > Germany > > Office Tel + 49.89.21025979 > Office Fax + 49.89.21025980 > > > >>>>[EMAIL PROTECTED] 12/04/01 01:49am >>> >>>> > Hi > > I want to put a radio button in a form and have the value of the "value" > field to come from a bean, only I don't know how to do this. The > incorrect way to writting this is > > <html:radio property="typeOfRequestor" > value="<bean:write name="userstag" property="userName" > filter="true"/>" > /> > > Which will give problems, how can I set the value of the "value" field > to a value in a bean? > > Cheers > > Tony > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>