Menu

Partiallist wrong paging banner no columns

anjula
2007-09-19
2012-10-09
  • anjula

    anjula - 2007-09-19

    I am working on a partial list implementation with dynamic columns. The external paging and sorting seems to working fine.

    Following is the code in jsp;
    <display:table name="detailedList" id="detailedList" size="size" sort="external" class="list" requestURI="" cellspacing="0" cellpadding="0"
    export="true" >

    When no columns are selected I display empty table with an error message saying "Select atleast one column" . I have set the property basic.empty.showtable=true in my custom displaytag.properties file.

    However, I noticed that it still displays the paging banner(navigation links) along with the empty table. How can I disable it or is there a workaround available ?

    Any input appreciated.

    Thanks.

     
    • Harun

      Harun - 2007-10-08

      To remove pagination banner, when table is empty set following properties in tabletag.properties file

      paging.banner.onepage=<span></span>
      paging.banner.no_items_found=<span></span>
      paging.banner.one_item_found=<span></span>
      paging.banner.all_items_found=<span></span>

      The above mentioned properties, are related to pagination banner, and kicks in when there is an empty table, or table list is not more than one page....

       

Log in to post a comment.