Hello to all,
We are using the taglib with Spring, and need all paging link urls to
link to a specific url: "searchPage.html?pageIndex={0}",
where {0} is the page number (as indicated in the configuration
properties documentation). Now by using the following
configuration:
<display:table .... requestURI="searchPage.htm">
...
<display:setProperty name="paging.banner.page.link"
value='<a href="?pageIndex={0}">{0}<a>' />
</display:table>
Individual page links display just fine (e.g.<a
href="searchPage.htm?pageIndex=3">3</a>, for the 3d page).
The problem is that the First/Prev, Next/Last url's use the (default?)
"page" string as paging parameter and also append
all search form parameters in the query string (example for the "Last"
page link), ignoring the provided property:
<a
href="searchPage.htm?criteria1=&criteria2=&pageIndex=1&page=10&[rest
of query params]">Last</a>
In the docs there are options to change how pagining banner text, but
not the links to these pages themselves...
Shouldn't all links follow the suggested format? Please let me know if
we should open an issue for this or there is something we are missing...
Thanks in advance
Economopoulos Spyros
Athens - Greece
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user