Thanks for the information.
-Original Message-From: Heath Borders
[mailto:[EMAIL PROTECTED]Sent: Tuesday, April 05, 2005 4:14
PMTo: MyFaces DiscussionSubject: Re: How to set a
component's value in validator method
Yes. Inside your validator, you receive an instance of the
Is this possible to do ?
-Original Message-
From: Srikanth Madarapu
Sent: Tuesday, April 05, 2005 10:58 AM
To: My Faces Discussion (E-mail)
Subject: How to set a component's value in validator method
Hi
I need to set a value (to null) for a component in the validator method. If
Yes. Inside your validator, you receive an instance of the UIComponent whose value is being validated.
Just cast the UIComponent to an EditableValueHolder and set its value to null. During the Update Model Values phase, the null value will get propagated up to your bean.
However, if another
3 matches
Mail list logo