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

Flávio Henrique commented on RF-10587:
--------------------------------------

I made the change you recommended  render="tabela@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@body to solve the problem.

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

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to