It could be the form bean wfsContentForm or it's features property doesn't
exist at the time you call the <logic:iterate tag. Do you have your
<logic:iterate tag inside a <html:form tag and defined the approprite
mappings in struts-config?, the wfsContentForm bean will be created if yes.
Otherwise, make sure wfsContentForm exists in one of the scopes, request,
session etc.


Saul


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 06, 2004 8:16 PM
Subject: Need some Multibox help.


> Hi everyone.
>
> I need some simple multibox help here.
>
> I've gone through the example in the O Reilly book, and have thoroughly
torn
> apart the example at http://j2ee.lagnada.com/struts/multibox-example1.htm
and I
> cannot get mine to work.
>
> The problem lies in the logic:iterate's id tag.
>
> error:  [ServletException in:/WEB-INF/pages/WFSConfigContent.jsp] Cannot
find
> bean feature in any scope'
>
> Where id="feature"
>
> Here's my code, which is mostly copied from the OReilly book.
>
> <logic:iterate id="feature" name="wfsContentForm" property="features">
> <html:multibox property="selectedFeatures">
> <bean:write name="feature"/>
> </html:multibox>
> <bean:write name="feature"/>
> </logic:iterate>
>
> Is there something I have to do to instantiate a bean named 'feature'? in
the
> above example link, I can't find '_bean' referenced anywhere else.
>
> Thanks!
>
> Richard
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to