External pagination not working with checkbox decorator
-------------------------------------------------------

                 Key: DISPL-610
                 URL: http://jira.codehaus.org/browse/DISPL-610
             Project: DisplayTag
          Issue Type: Bug
          Components: Decorators
    Affects Versions: 1.2
            Reporter: Stuart Williamson


When using external pagination in combination with the checkbox decorator there 
appears to be an issue when trying to change pages. This appears to be related 
to the fact that external pagination utilises the "page" request parameter to 
determine the page to display and internal pagination utilises a request 
parameter something like "d-148916-p". Upon page load the following hidden form 
elements are created automatically:
    <input type="hidden" value="" name="d-148916-p"/>
    <input type="hidden" value="" name="d-148916-s"/>
    <input type="hidden" value="" name="d-148916-o"/>
But there is nothing for the "page" parameter.

However, if the initial page is loaded using a URL with the page parameter 
present (e.g. 
http://localhost/GUIFramework/PaginatedCheckboxesListAction.action?page=1) the 
following hidden form elements are created:
    <input type="hidden" value="" name="d-148916-p"/>
    <input type="hidden" value="" name="d-148916-s"/>
    <input type="hidden" value="" name="d-148916-o"/>
    <input type="hidden" value="1" name="page"/>
Everything then seems to work as expected.

-- 
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:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to