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