how to use logic:Empty within c:forEach
From: PC Leung (leungpingcheung01-public_at_yahoo.com.hk)
Date: 06/30/04
- Next message: Dario (drinking coffee in the office…): "Re: Singleton Question"
- Previous message: Jean-Francois Theoret: "OpenJMS w/RMI - lots of PingThreads??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jun 2004 08:43:01 -0700
The following coding always return blank values.
If I remove logic tags, it shows values correctly.
How can I use logic:Empty inside c:forEach ?
Thanks
<c:forEach items="${resultSet.rows}" var="row">
<tr>
<td width="20%">
<logic:empty name="${row.usernm}">
 
</logic:empty>
<logic:notEmpty name="${row.usernm}">
${row.usernm}
</logic:notEmpty>
</td>
<td width="50">
<logic:empty name="${row.usergrp}">
 
</logic:empty>
<logic:notEmpty name="${row.usergrp}">
${row.usergrp}
</logic:notEmpty>
</td>
</tr>
</c:forEach>
- Next message: Dario (drinking coffee in the office…): "Re: Singleton Question"
- Previous message: Jean-Francois Theoret: "OpenJMS w/RMI - lots of PingThreads??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]