-3

I am using display tag pagination where i get banner like this

63 items found, displaying 1 to 10.[First/Prev] `1, 2, 3, 4, 5, 6, 7 [Next/Last]`

but i want it like this

1, 2, 3, 4, 5, 6, 7 [Next/Last]

is there any property to customize pagination banner the pagination page is

    <display:table name="groupInfoBeanList" list="groupInfoBeanList" pagesize="10" requestURI="manageGroupLink" decorator="com.cdr.Decorator.CheckBoxDecorator" class="table table-striped">
        <display:setProperty name="paging.banner.placement" value="bottom" />
        <display:column property="checkBox" title="Select" />
        <display:column property="groupId" title="Group Id" sortable="true" />
        <display:column property="groupDescription" title="Group Description"   />
        <display:column property="companyType" title="Company Type" sortable="true" />
        <display:column property="companyName" title="Company Name" sortable="true" />
    </display:table>
amit bhardwaj
  • 883
  • 2
  • 8
  • 18

2 Answers2

0

what you have to do is change The default properties are defined in the TableTag.properties file included in the library jar.

please refer to this link to see how to override default property settings

using the tag like the following :

<display:setProperty name="paging.banner.full" value="<span class="pagelinks"> [ <a href="{3}">Next</a>/ <a href="{4}">Last </a>]</span> " />

and please give me some feedback

Hope that Helps .

0

Use this property <display:setProperty name="paging.banner.group_size" value="7"/>

This will allow you to display 7 pages on the pagination bar.

Mike
  • 777
  • 3
  • 16
  • 41