When rendering de the HTML page with the form atribute parameter 
"PARAMETER_SORTUSINGNAME" is not rendered.
-----------------------------------------------------------------------------------------------------------

                 Key: DISPL-598
                 URL: http://jira.codehaus.org/browse/DISPL-598
             Project: DisplayTag
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Alvaro Villarroel
            Priority: Minor


When rendering de the HTML page with the form atribute parameter 
"PARAMETER_SORTUSINGNAME" is not rendered.
Possible solution is to add in class HtmlTableWriter :

private void writeFormFields()
    {
        Map parameters = baseHref.getParameterMap();

        ParamEncoder pe = new ParamEncoder(this.tableModel.getId());

        addIfMissing(parameters, 
pe.encodeParameterName(TableTagParameters.PARAMETER_ORDER));
        addIfMissing(parameters, 
pe.encodeParameterName(TableTagParameters.PARAMETER_PAGE));
        addIfMissing(parameters, 
pe.encodeParameterName(TableTagParameters.PARAMETER_SORT));
        addIfMissing(parameters, 
pe.encodeParameterName(TableTagParameters.PARAMETER_SORTUSINGNAME)); 
<------this line is missing


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

        

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to