Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > how to use logic:Empty within c:forEach

Reply
Thread Tools

how to use logic:Empty within c:forEach

 
 
PC Leung
Guest
Posts: n/a
 
      06-30-2004
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}">
&nbsp
</logic:empty>
<logic:notEmpty name="${row.usernm}">
${row.usernm}
</logic:notEmpty>
</td>
<td width="50">
<logic:empty name="${row.usergrp}">
&nbsp
</logic:empty>
<logic:notEmpty name="${row.usergrp}">
${row.usergrp}
</logic:notEmpty>
</td>
</tr>
</c:forEach>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dealing with nested xml within nested xml within...... Ultrus Python 3 07-09-2007 09:00 PM
GetElementbyID question - within MasterPage/contentpage - within tables Elmo Watson ASP .Net 1 05-08-2007 05:12 PM
How do I include a server tag within a javascript parameter which is itself within a HTML element event? mark4asp ASP .Net 2 11-07-2006 06:23 AM
Referring to a textbox within a web control within an aspx KatB ASP .Net 0 04-22-2005 07:14 PM
search within a search within a search - looking for better way...my script times out Abby Lee ASP General 5 08-02-2004 04:01 PM



Advertisments