http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html is a good
start, but while trying to implement I came across a few questions:
- when trying to find out which field to sort in my requestUri?sort=name
String name = request.getParameter("sort");
The "name" is not what is declared in the
<display:column property="firstName" sortable="true"
sortName="firstNameForSort" title="First Name" />
as "sortName" but the same string as in "property"
- also when I sort a page, it is displayed in correct order, but the column
Header doesn't turn "blue" as per the default CSS nor is the up- or
downward triangle emphasized.
Is that an error of my implementation of the
org.displaytag.pagination.PaginatedList interface, or do I have to
manually teach displaytag which column header to activate. If the latter
how would I add the 3 parameters in
http://foo.bar.com/page.jsp;jsessionid=1E1D377691FAD3FA5F5FB92B027D781C?d-5151304-p=1&d-5151304-s=3&d-5151304-o=1
to an already existing HttpServletRequest? Or could I set it like this:
request.setAttribute("d-5151304-s",new Integer(3));
probably not...
Any help would be appreciated!
Ralf
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user