Hello to all,
I have been trying for the last few days to send this message to the
user list but with no luck....
We are using the display taglib with Spring, and need all link to pages to
link to the following - simple - 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):
<a
href="searchPage.htm?criteria1=&criteria2=&pageIndex=1&*page*=10&[rest
of query params]">Last</a>
where, apart from the other parameters we do *not* want "pageIndex" has been
replaced
by "page" (I guess the default).
In the docs there are options to change the paging 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 at Jira or there is something we are missing...
Thanks in advance
Economopoulos Spyros
Athens - Greece
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel