Geoffrey,
Your code should be working, see my working code of an iterate in an iterate
both with bean:write functionality.
Regardes,
jef
-----Original Message-----
From: Geoffrey Van Nuffelen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 05 June, 2001 11:28
To: Struts-User (E-Mail)
Subject: logic:iterate or bean:write ERROR !!!
Hi all,
I always have a problem with the iterate and write tag.
If I don't specify a "bean:write" tag into an "logic:iterate" tag, I don't
have any error... But If a specify a write tag I have an exception error :
The error :
---------------
javax.servlet.ServletException: Cannot find bean client in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at _0002fClientList_0002ejspClientList_jsp_66._jspService
My JSP :
-------------
...
<logic:iterate id="client" name="test" property="clients">
<TR>
<TD><bean:write name="client" property="pmclient"/></TD>
</TR>
</logic:iterate>
...
test is an object wich has a property clients (array of client ) and a
method getClients(). pmclient is a property of client ( the method
getPmclient() exist).
Is someone has a working example... I would be really happy !!!
Thanks,
Geoffrey...
personList.jsp