|
As far as i know, that is
because: à Values are applied in APPLY_REQUEST_VALUES phase to the
submittedValue field à Values are converted/validated in the PROCESS_VALIDATION
phase… à The next phase is UPDATE_MODEL_VALUES phase… JSF
applies the submittedValue to the value field (If validation/Convertion was
sucecssfull) Hope this helps…
(See http://www-128.ibm.com/developerworks/java/library/j-jsf2/
for more information) Dominik Von: Madhav Bhargava
[mailto:[EMAIL PROTECTED] Hi All, I am developing a custom validator. My validator is
enclosed in one EditableValueHolder component and then tries to get the value
from other EditableValueHolder component. When I say – EditableValueHolder component = (EditableValueHolder)uiComponent; Component.getValue(); getValue() method returns me null even when the value
is filled in and submitted. When I check the whole component I found that
submittedValue attribute has the correct value and the value attribute was
null. Could anyone explain me the following:
Thanks, madhav
|

