[
https://issues.jboss.org/browse/RF-11575?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-11575:
---------------------------------
I have reproduced on following Metamer page (just added execute=@form to datascroller):
http://localhost:8080/metamer/faces/components/richDataTable/components1....
The problem is in following method:
{code:java|title=javax.faces.component.UIInput:updateModel:804}
public void updateModel(FacesContext context) {
if (context == null) {
throw new NullPointerException();
}
if (!isValid() || !isLocalValueSet()) {
return;
}
ValueExpression ve = getValueExpression("value");
{code}
When sending request with commandButton, {{isLocalValueSet == true}},
but when executing using dataScroller[execute=@form], {{isLocalValueSet == false}}, so
method returns prematuraly.
Need to debug more
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