pageContext.setAttribute("bar",projects,PageContext.PAGE_SCOPE);
it's an attribute in the page scope, not session, does
it have to be in a session? I am only using it for
the current page...
--- Eric Lemle <[EMAIL PROTECTED]> wrote:
> Is bar in the session?
>
> >>> [EMAIL PROTECTED] 3/2/2005 12:45:03 PM
> >>>
> thanks I am running into a related problem with
> radio
> buttons:
>
> <logic:iterate id="element" name="bar">
>
> <html:radio idName="element" value="name"
> property="pName">
>
> </html:radio>
>
> </logic:iterate>
> when rendered it says:
> [ServletException in:/calc/ProjectManagerMain.jsp]
> Cannot find bean under name
> org.apache.struts.taglib.html.BEAN'
> What's wrong?
> thanks
>
>
> --- Eric Lemle <[EMAIL PROTECTED]> wrote:
>
> > I think this is what you are looking for....
> >
> > <logic:iterate name="myVector" id="myProject"
> > indexId="i">
> > <bean:define id="mydescription" name="myProject"
> > property="description" />
> > <bean:write name="mydescription"/>
> > </logic:iterate>
> >
> > -Eric
> >
> >
> >
> > >>> [EMAIL PROTECTED] 3/2/2005 12:09:49 PM
> > >>>
> > hi folks,
> > I am trying to iterate a through a Vector of
> object
> > of
> > class Project where project has getter and setter
> > getDescription(),setDescription(),etc
> > In the jsp page I first created bean of name bar.
> > Vector v=new Vector();
> > Project p1=new Project();
> > p1.setName("project1");
> > p1.setDescription("des");
> >
>
pageContext.setAttribute("bar",v,PageContext.PAGE_SCOPE);
> >
> > then trying to iterate over bar
> > <logic:iterate id="element" name="bar">
> >
> > </logic:iterate>
> >
> >
> >
> >
> > __________________________________
> > Celebrate Yahoo!'s 10th Birthday!
> > Yahoo! Netrospective: 100 Moments of the Web
> > http://birthday.yahoo.com/netrospective/
> >
> >
>
---------------------------------------------------------------------
> > 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]
> >
> >
>
>
>
>
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
>
>
---------------------------------------------------------------------
> 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]
>
>
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]