What are you using to store you data? Make sure it is a List, or an Array.

Matt

On 3/10/06, Frehe, Torsten < [EMAIL PROTECTED]> wrote:
Hi,
 
in our application we have an overview page which uses displaytag to display a table.
On this page the user can select a row and use a details button to show the details of the selected row on a separate page.
When the user returns to the overview page, the table is reset to its defaults, i.e. sort order is lost and the user sees the first page of the table.
This is not the desired behaviour. We'd like the user to see the same data in the same order that we've shown her before using the details button.
 
How can we save the sort and paging values to show the table in the same state as the user has last seen it?
 
Any hints? Our strategy would be to store the parameters that displaytag has generated in the session and read them from the session.
 
This would mean modifying the source code. If there is an out of the box solution we'd be glad to know.
 
 
Regards Torsten


******************************************************************
Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum
Informationsaustausch. Wir koennen auf diesem Wege keine
rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen
Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie bestimmt
sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in
Verbindung zu setzen.

Please use your E-mail connection with us exclusively for the exchange
of information. We do not accept legally binding declarations (orders,
etc.) by this means of communication. The contents of this message is
confidential and intended only for the recipient indicated. Taking
notice of this message or disclosure by third parties is not
permitted. In the event that this message is not intended for you,
please contact us via E-mail or phone.

******************************************************************

Reply via email to