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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to