Hope this helps.
<bean:define id="list" name='localForm' property="myList" scope="session"/>
<logic:iterate id="myRow" name="list">
<bean:write name="myRow" property="myName"/>
</logic:iterate>
Here in this example, 'myList' is a java.util.List kept as a attribute in
the ActionForm.
Cheers!,
-MS.
"Abel Mui�o Vizcaino" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Hello.
>
> I'm receiving a weird error that I can't understand (I don't know if I'm
blind or if it is a really strange error).
>
> I have this code on a jsp page included from another one:
>
> <tr valign="top">
> <th align="right" width="50%">
> <bean:message key="UserProfile.interests"/>
> </th>
> <td align="left" width="50%">
> <logic:iterate id="element" name="interestsSet">
> <html:multibox property="interests"><bean:write
>name="interest"
property="value"/></html:multibox>
> <bean:write name="element" property="label"/><br>
> </logic:iterate>
> </td>
> </tr>
>
> Where interestsSet is a java.util.List of a custom made bean-class with
getValue() and getLabel() methods, and interests is a property of the action
form that contains this tags.
>
> The problem I'm having is that the logic:iterate tag throws a lot of
exceptions (i think it's that tag, becouse if I comment out the inner tags
using <% /* ... */ %> it keeps failing, but if I comment out the whole
iterate block, the page loads without problems.
>
>
> Someone can give me a hint?
>
> Thanks a lot.
> --
> [ *** Non � L.O.U. *** ] [ *** No a la L.O.U. *** ]
>
> Abel Mui�o Vizcaino (Futuro Ingeniero Inform�tico F.I.C, U.D.C.)
> mailto:[EMAIL PROTECTED] ICQ UIN: 145623385
> http://www.xente.mundo-r.com/abel.muinho/
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>