DefaultHref implementation of Href generates duplicated parameters in 
querystring
---------------------------------------------------------------------------------

                 Key: DISPL-518
                 URL: http://jira.codehaus.org/browse/DISPL-518
             Project: DisplayTag
          Issue Type: Bug
          Components: HTML Generation
    Affects Versions: 1.1.1
            Reporter: Piotr Kiraga
         Attachments: DefaultHref-CUSTOM.zip

Using external sorting and partial usage of displaytag.

Noticed that parameters for all generated links by displaytag are duplicated. 
Every request done by generated link (paging, sorting, export) causes that 
every querystring parameter is duplicated again. Despite the fact that this 
behavior could interfere with business logic it very quick overflow some 
browsers buffer for URL string so it makes the request unworkable as well.

Temporary, ugly and partial solution:
I've replaced some Java code from DefaultHref implementation of Href, so it now 
doesn't duplicate parameters, but doesn't support sets of checkboxes or radio 
buttons either. For my use case it seems to work fine. Changed (customized) 
DefaultHref class has been attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to