Good afternoon,
Need help about using "if logic" to determine whether to display a
column under display:table
For example:
<display:table id="row_rec"
name="alist_paging_bean"
export="true"
class="simple"
cellspacing="0"
cellpadding="5"
requestURI="ProcessAction"
keepStatus="true"
pagesize="<%=bean_display.getPageSize() %>"
partialList="true"
size="<%=bean_display.getTotalRecNum() %>"
defaultorder="ascending"
defaultsort="1"
>
Need sth like:
======================
if %{#attr.row_rec.show_col1}
<display:column property="col1" title="COL1" sortable="true" />
Otherwise, do not display "col1".
What is the grammer of "if %{#attr.row_rec.show_col1}" in jsp please?
In the Bean.java,
private boolean show_rec1;
Thanks a lot!
--
Lu Ying
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user