I tryed, the following sample but it doesn't works. <ww:iterator value="[EMAIL PROTECTED]@SESSION_KEY].basket">
I also tryed to figure out why, and found what I can't get back a static value. The following tag returns nothing. I guess it means null. Does I do somthing in the wrong way or there is bug in code or documentation? <ww:property value="@[EMAIL PROTECTED]" /> ----- Original Message ----- From: "Francisco Hernandez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 26, 2004 7:35 AM Subject: Re: [OS-webwork] How to get access to jsp variable from ww:iterator tag. > should be > <ww:iterator value="[EMAIL PROTECTED]@SESSION_KEY].basket"> > > remigijus wrote: > > > Hi > > > > Can anyone suggest how to get value of the basket object in the > > ww:iterator tag. I tyed to user ww:set, ww:push, but there is no > > documentation and it's very hard to figure out, how to solve it. > > > > <% > > OgnlValueStack stack = ActionContext.getContext().getValueStack(); > > User user = (User) session.getAttribute(UserModel.SESSION_KEY); > > Basket basket = user.getBasket(); > > %> > > > > <ww:iterator value="basket" status="stat"> > > <tr id="form" color="white"> > > <td><ww:property value="code" /></td> > > <td><ww:property value="title" /></td></tr> > > </ww:iterator> > > > > Thanks Remis > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork