You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Peter Eichenauer <pi...@2d.com> on 2003/07/24 10:28:54 UTC

Problem with logic:iterate and bean:write

Hello, I have a problem with using <bean:write> inside <logic:iterate>.

The code I use:

<logic:iterate id="date" name="orderBean" property="dates" indexId="index"> ...
<bean:write name="date" format="dd.MM.yyyy"/>
...
</logic:iterate>

The object with id="date" is of type java.util.Date. The documentation of <bean:write> says, "if property is not specified, the value of the bean itself will be rendered". 

But my JSP throws an Exception: Cannot find bean date in any scope.

Any suggestions?
Thanks, Peter

....

_____________________________________________________________
Get your own *FREE* family web site
ParentShack - the easiest way to build a web site for your child
http://www.parentshack.com/go?2




























.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org