[EMAIL PROTECTED] wrote:
Albert L. Sapp asked:
This is my first post so I will try to make it short. I am trying to
use the logic:iterate and html:multibox. I found what I
thought was a
good example through a google search, but I just can't get it to work.
Here is the exception I get: javax.servlet.ServletException: Cannot
find bean unit in any scope I understand the error, but don't know
how to fix it.
The example I am following said to setup the tags as follows:
<logic:iterate id="unit" property="bannerUnits">
<html:multibox property="selectedUnits">
<bean:write name="unit" property="unitID"/>
</html:multibox>
<bean:write name="unit" property="name"/> </logic:iterate>
[snip]
I think you may need a <bean:define> tag after the <logic:iterate> to
make the value available. See
http://struts.apache.org/struts-action/struts-taglib/tlddoc/bean/define.
html
I've blocked out much of this from my memory because JSTL is so much
easier.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks, George. We are using JSTL in other JSP. I will try that in
place of the iterate tag.
Al