Code: Select all
public void onCellEdit(CellEditEvent event) {
Object newValue = event.getNewValue();
}
After some days of investigation, i got to what cause the problem:
while the execution of APPLY_REQUEST_VALUE it does the following actions:
1. Get the submitted value and insert correctly to the input component.
2. Override this value later while saving descendant state.
So, what hapened - now the input contains null instead of the input from the user.
And in source source level::
1. The decode of HtmlBasicInputRenderer, fill correctly the submitted value of the UIInput component, with the input.
2. the method saveDescendantState, the state does not exist in the
, it becomes to be null.getStateHelper().get(PropertyKeys.saved)
so what happened, in the following piece of correct code,
Code: Select all
state.setValue(input.getLocalValue());
state.setValid(input.isValid());
state.setSubmittedValue(input.getSubmittedValue());
state.setLocalValueSet(input.isLocalValueSet());
i will clear, that my xhtml seems exactly as in the demo.
The only difference thay i see is the mojarra version.
Please advise, what should be done to solve the issue.
*Sorry if english is not nice, it's not my first language.
My system:
mojarra-2.2.13
primefaces 6.2-SNAPSHOT
wildfly-10.1.0.Final