May I make a suggestion?  You're causing the implicit creation of many 
strings ... and doing it in a loop (bad).  Try this:

<html:form ...>
<logic:iterate id="theRadio" indexId="index" name="myFormBean"
property="myRadios">
<html:radio property="myRadios[<%= index %>]" value="A"/><html:radio
property="myRadios[<%= index %>]" value="B"/>
</logic:iterate>
</html:form>

This way, you don't have the implicit string creation (you get one every 
time you use the + to concatenate).  Object creation is slow :-( so 
don't do it if you don't have to.

Regards,

Eddie

Arnaud HERITIER wrote:

>Ok I found myself a solution (it seems) :
>
>I need to modify the JSP page to index manually the property and I don't
>need to use the indexed="true" which indexes the BEAN and not the property :
><html:form ...>
><logic:iterate id="theRadio" indexId="index" name="myFormBean"
>property="myRadios">
><html:radio property="<%=\"myRadios[\"+index+\"]\"%>" value="A"/><html:radio
>property="<%=\"myRadios[\"+index+\"]\"%>" value="B"/>
></logic:iterate>
></html:form>
>
>Arnaud
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to