[richfaces-issues] [JBoss JIRA] Updated: (RF-8192) dataTables: change default header facet for sorting generation

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Dec 8 09:09:29 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-8192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Shaikovsky updated RF-8192:
--------------------------------

    Description: 
https://jira.jboss.org/jira/browse/RF-4731 fix caused the facets generation always no matter if default sorting used or not.

I think that this should be changed to:
1) selfSorted = true 
1.1) headers present - icons which reflects current sorting should be there
1.2) headers not defined - them should be generated and icons added to it.
2) selfSorted=false 
2.1) headers present - icons still should be there and reflect current sorting
2.2) headers absent - them should not be generated

  was:
https://jira.jboss.org/jira/browse/RF-4731 fix caused the facets generation always no matter if default sorting used or not.

I think that this should be changed to:
1) selfSorted = true 
1.1) headers present - icons should be there
1.2) headers not defined - them should be generated and icons added to it.
2) selfSorted=false 
2.1) headers present - icons still should be there and reflect current sorting
2.2) headers absent - them should not be generated



Actually there is one more maybe preferable solution - just revert this back to state before prev fix. Then the user will be able to define empty header if he need just sorting state. And we will not add anything automatically if user not need in it.

> dataTables: change default header facet for sorting generation
> --------------------------------------------------------------
>
>                 Key: RF-8192
>                 URL: https://jira.jboss.org/jira/browse/RF-8192
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables, regression
>    Affects Versions: 3.3.2.SR1
>            Reporter: Ilya Shaikovsky
>            Assignee: Nick Belaevski
>             Fix For: 3.3.3.BETA1
>
>
> https://jira.jboss.org/jira/browse/RF-4731 fix caused the facets generation always no matter if default sorting used or not.
> I think that this should be changed to:
> 1) selfSorted = true 
> 1.1) headers present - icons which reflects current sorting should be there
> 1.2) headers not defined - them should be generated and icons added to it.
> 2) selfSorted=false 
> 2.1) headers present - icons still should be there and reflect current sorting
> 2.2) headers absent - them should not be generated

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

        


More information about the richfaces-issues mailing list