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:

 

  1. What is the purpose of submittedValue when value is there?
  2. Even if the user while including say a <t:inputText> component specifies a property value=”#{}” then also the value is null when it goes to the validator’s validate method but the submittedValue is correctly populated?

 

Thanks,

madhav

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to