column Sorting style changes for all columns, once its changed
--------------------------------------------------------------

         Key: DISPL-357
         URL: http://jira.codehaus.org/browse/DISPL-357
     Project: DisplayTag
        Type: Bug

  Components: Paging/Sorting  
    Versions: 1.1    
    Reporter: Pankaj Batra
 Attachments: issue.jpg

When a column is sorted and got a style (order1 or order2) all following 
columns also get that style.
This problem comes due to all headercells keeping the HtmlAttributeMap objects 
with same key and values references, If one is changed others are also changes
This happens due to cloning of  adding clone of HtmlAttributeMap in HeaderCell 
(in ColumnTag.java)
I think overriding clone method in HtmlAttributeMap will solve the issue.

Issue.jpg attached to see the problem

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



_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to