Menu

Dynamic Links and paging.

Help
2004-11-01
2012-10-08
  • Steve Webster

    Steve Webster - 2004-11-01

    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

     
    • Sakari Isoniemi

      Sakari Isoniemi - 2005-10-05

      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 ???

       
    • Bastian Bowe

      Bastian Bowe - 2004-11-02

      Apply the patch from
      http://jira.codehaus.org/browse/DISPL-86

      Regards

       
      • Richard Tuquet Laburre

        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

         
        • Bastian Bowe

          Bastian Bowe - 2004-11-26

          > 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".

           

Log in to post a comment.

MongoDB Logo MongoDB