Hi! I have a collection of ProductItemSummary from
stored in a user bean which is in turn stored in an
HTTP session. I want to perform an iteration and
inside it, I have to perform an IF statement.
Basically, I have this:

<logic:iterate name="user" id="productItemSummary"
property="productItemsSummaryCollection">
    <tr>
      <logic:equal name="user" id="productItemSummary"
property="reorder"
      scope="session" value="0">
      <td colspan=1 bgcolor="#b0b0b0">
      </logic:equal>
      <logic:equal name="productItemSummary"
property="reorder"
      scope="session" value="1">
      <td colspan=1 bgcolor="#b00000">
      </logic:equal>
</logic:iterate>

The code above doesn't work. 
Any help is greatly appreciated.

Regards,
L. Yeung

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Reply via email to