This content has been marked as final.
Show 3 replies
-
1. Re: Dynamic Validations on HtmlInputText
nbelaevski May 3, 2010 5:52 AM (in response to kapil29)Hi Kapil,
Use javax.faces.component.UIInput.addValidator(Validator)
-
2. Re: Dynamic Validations on HtmlInputText
kapil29 May 4, 2010 1:41 AM (in response to nbelaevski)Use javax.faces.component.UIInput.addValidator(Validator)
But how can I use this? could you please explain the neccessary step for adding the validator on Dynamic HtmlInputText.
Thanks
Kapil
-
3. Re: Dynamic Validations on HtmlInputText
nbelaevski May 4, 2010 6:33 AM (in response to kapil29)Kapil,
- Create new instance of validator
- Configure validator attributes
- Add validator to component