[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-10587) richfaces-showcase: tables sorting demo: frequent clicks not processed

Flávio Henrique (JIRA) jira-events at lists.jboss.org
Fri Feb 25 06:11:06 EST 2011


    [ https://issues.jboss.org/browse/RF-10587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584712#comment-12584712 ] 

Flávio Henrique edited comment on RF-10587 at 2/25/11 6:10 AM:
---------------------------------------------------------------

More information here: http://community.jboss.org/thread/162943?tstart=30

I made the change you recommended  render="tabela at body", but I still can´t get the second click on header sort the datatable. Maybe I need to create another issue, because it isn´t related to frequent clicks.

Why? Because a single click on the sortable header makes multiples call to sorByNome() even in @ViewScoped or @SessionScoped.

 
The first click, even firing multiples calls, works, because nomeOrder starts with SortOrder.unsorted and became ascending, then, after the second click (yet multiples calls) anomeOrder still ascending (because of the last call), not descending.

 
As I undestood, that this behavior can happens if you do not go with @ViewScoped or @SessionScoped, but both are suffering from the same problem.


      was (Author: flaviohenrique):
    I made the change you recommended  render="tabela at body", but I still can´t get the second click on header sort the datatable. Maybe I need to create another issue, because it isn´t related to frequent clicks.

Why? Because a single click on the sortable header makes multiples call to sorByNome() even in @ViewScoped or @SessionScoped.

 
The first click, even firing multiples calls, works, because nomeOrder starts with SortOrder.unsorted and became ascending, then, after the second click (yet multiples calls) anomeOrder still ascending (because of the last call), not descending.

 
As I undestood, that this behavior can happens if you do not go with @ViewScoped or @SessionScoped, but both are suffering from the same problem.

  
> richfaces-showcase: tables sorting demo: frequent clicks not processed
> ----------------------------------------------------------------------
>
>                 Key: RF-10587
>                 URL: https://issues.jboss.org/browse/RF-10587
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: examples
>    Affects Versions: 4.0.0.Milestone6
>            Reporter: Ilya Shaikovsky
>            Assignee: Konstantin Mishin
>            Priority: Minor
>             Fix For: 4.0.0.Final
>
>
> change render to table at body to solve the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list