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

Reply via email to