You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yaron Sela <ya...@bezeqint.net> on 2003/03/10 19:08:39 UTC
Nested tag problem
Hi
All the iterator and nested tags worked until I have added another bean:write (<bean:write name="region" property="value"/>) to the value of a check box and I have got an error: org.apache.jasper.JasperException: /searchDira.jsp(335,108) equal symbol expected
If I wrote the bean:write (sign with bold) outside the checkbox tag It worked
what's can be the problem?
<logic:iterate id="city" name="citiesManager" property="cities">
<table id="option_<bean:write name="city" property="id"/>" style="display:none" cellpadding="0" cellspacing="0">
<tr>
<nested:root name="city">
<nested:iterate id="region" property="regions">
<td>
<div class="normaltd"><bean:write name="region" property="label"/>
<html:checkbox property="region" value="<bean:write name="region" property="value"/>"/>
</div>
</td>
</nested:iterate>
</nested:root>
</tr>
</table>
</logic:iterate>
Thanks for your time.
Yaron