We have a multipage table with dynamic links. Clicking on the links deletes / updates data in the table.
The returning page always returns to page 1, is there an easy way (with out embedding d-xxxx-p=3) tags in the dynamic link to return to the page the user was viewing?
Thanks for any help.
Regards
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i think that i have the same problem which is :
On the same jsp page,i have
a table which contains items (generated with displaytag) ; in each row, i add a column which contains links
a struts form which permits to edit informations ; this form is updated by a struts action called when the users click on the link of the table
When i submit my form and go back to the list, i lost all my url parameters which permit to displaytag to display the table
And very important, i can see the value of the fields of my form in the URL (and i don't want that)
How can i do to keep the displaytag parameters in the url and suppress the url parameter which are about my form ?
I would be try the patch but i don't know how to patch ? what i have to do with the ".diff" files ?
Thanks for help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> How can i do to keep the displaytag parameters in the url and suppress the url parameter which are about my form ?
Use table tag parameter "excludedParams". See the documentation. If you want't to keep pagination when clicking on links outside of the displaytag table search the displaytag mailing list for subject " Using paginng attributes outside of table tag".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
(Using displaytag-1.0-b3 in a struts env.)
We have a multipage table with dynamic links. Clicking on the links deletes / updates data in the table.
The returning page always returns to page 1, is there an easy way (with out embedding d-xxxx-p=3) tags in the dynamic link to return to the page the user was viewing?
Thanks for any help.
Regards
Steve
Have you solved the problem ?
My problem was how to goto to ceratain page
in Struts for ex.
requestURI="searchCashregisterActionRes.do?d-49653-p=3"
where hardcoded "d-49653-p=3" should be replaced with ???
Apply the patch from
http://jira.codehaus.org/browse/DISPL-86
Regards
i think that i have the same problem which is :
On the same jsp page,i have
When i submit my form and go back to the list, i lost all my url parameters which permit to displaytag to display the table
And very important, i can see the value of the fields of my form in the URL (and i don't want that)
How can i do to keep the displaytag parameters in the url and suppress the url parameter which are about my form ?
I would be try the patch but i don't know how to patch ? what i have to do with the ".diff" files ?
Thanks for help
> How can i do to keep the displaytag parameters in the url and suppress the url parameter which are about my form ?
Use table tag parameter "excludedParams". See the documentation. If you want't to keep pagination when clicking on links outside of the displaytag table search the displaytag mailing list for subject " Using paginng attributes outside of table tag".