Thanks Bryan! -----Ursprüngliche Nachricht----- Von: Bryan Smith [mailto:[EMAIL PROTECTED] Im Auftrag von Bryan Smith Gesendet: Dienstag, 21. Februar 2006 02:50 An: [email protected] Betreff: RE: Displaytag URL parameters
By all means I hope I'll be corrected if wrong, but: <http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html> http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html "To determine the request parameter name for column sorting you can do: new ParamEncoder(tableId).encode(TableTagParameters.PARAMETER_SORT)) To get the order (ASC/DESC): new ParamEncoder(tableId).encode(TableTagParameters.PARAMETER_ORDER)) Descending is 2, Ascending is 1." I'm not certain, but that number should be the same for that table as long as the ID remains the same... If you want to generate yourself: <http://displaytag.sourceforge.net/11/displaytag/apidocs/org/displaytag/util /ParamEncoder.html> http://displaytag.sourceforge.net/11/displaytag/apidocs/org/displaytag/util/ ParamEncoder.html BS From: Martin Kindler <cor.de"> <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]>cor.de> Displaytag URL parameters 2006-02-16 04:40 For navigation purposes I need to know how the parametes added by the Displaytag library to my URIs are built. I want to provide links for directly accessing the e. g. second page of a table sorted by column 3. I see these parameters have the format "d-<some number>-[s|p|o]" with changing number. I can't find any documentation or info searching the mailing list or even googling :-( using Displaytag 1.1 in a Struts 1.2.8 application. Martin
<<attachment: winmail.dat>>

