[richfaces-issues] [JBoss JIRA] (RF-11575) rich:dataScroller - execute=@form does not save model on page change
Lukáš Fryč (Commented) (JIRA)
jira-events at lists.jboss.org
Fri Oct 21 13:07:45 EDT 2011
[ https://issues.jboss.org/browse/RF-11575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636557#comment-12636557 ]
Lukáš Fryč commented on RF-11575:
---------------------------------
This was caused by fact that DataScrollEvent is queued in APPLY_REQUEST_VALUES phase, so the page was changed before the UPDATE_MODEL_VALUES has been triggered (in which data tables values are updated (for current page)).
I have deferred this event invocation to INVOKE_APPLICATION, which is right after UPDATE_MODEL_VALUES, but before RENDER_RESPONSE in which we need to change the page actually.
> rich:dataScroller - execute=@form does not save model on page change
> --------------------------------------------------------------------
>
> Key: RF-11575
> URL: https://issues.jboss.org/browse/RF-11575
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.1.0.Milestone4
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Priority: Critical
> Fix For: 4.1.0.Milestone4
>
>
> In RF-10936, Ajax attributes was enabled to dataScroller to enable execute=@form, which effectively allows user to save table values when changing page, but the functionality still doesn't work - form is processed but model is not updated.
> {code:XML}
> <rich:dataTable var="person" value="#{people}>
> ...
> <h:selectBooleanCheckbox value="#{person.sex}" />
> ...
> <rich:dataScroller execute="@form" />
> ...
> </rich:dataTable>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list