I have an sql statement
<sql:query dataSource="" var="row" >
SELECT col, col2, col3 from table
</sql:query>
<display:table name="${row.rows" id="row1"/>
and it displays the information below.
col col2 col3
2 7 0
5 6 2
BUT when I do this:
<display:table name="${row.rows" id="row1">
<c:if test=${col3 != 0}">
<display:column property="col"/>
<display:column property="col2"/>
<display:column property="col3"/>
</c:if>
</display:table>
This displays a table with col, col2 and col3 like so
col col2 col3
2 7 0
1 6 2
Shouldnt it display just this?
col col2 col3
1 6 2
It works when I do it with a <c:forEach> statement without the <display:table>.
Please help me, What am I doing wrong?
thanks
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user