You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Abel Muiño Vizcaino <ab...@mundo-r.com> on 2002/04/03 00:38:30 UTC
Strange error with logic:iterate
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:abel.muinho@mundo-r.com ICQ UIN: 145623385
http://www.xente.mundo-r.com/abel.muinho/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>