This content has been marked as final.
Show 8 replies
-
1. Re: Validator with a combobox
monstor Nov 20, 2008 4:22 AM (in response to monstor)Sorry, I don't give you the right code on my combobox...
<rich:comboBox value="#{exigenceRepoService.modulePere}" suggestionValues="#{exigenceRepoService.listeModule}" directInputSuggestions="true" converter="comboBoxModuleConverter" width="250" validator="#{ajoutModuleValidator}" />
-
2. Re: Validator with a combobox
ilya_shaikovsky Nov 20, 2008 4:31 AM (in response to monstor)which version you using?
-
3. Re: Validator with a combobox
monstor Nov 20, 2008 4:32 AM (in response to monstor)I use 3.2.2 GA
-
4. Re: Validator with a combobox
ilya_shaikovsky Nov 20, 2008 4:49 AM (in response to monstor)will be verified.
https://jira.jboss.org/jira/browse/RF-4993 -
5. Re: Validator with a combobox
monstor Nov 20, 2008 4:57 AM (in response to monstor)Ok, thanks.
When the 3.3 version release ? -
6. Re: Validator with a combobox
ilya_shaikovsky Nov 20, 2008 5:03 AM (in response to monstor)About a middle of December..
-
7. Re: Validator with a combobox
abelevich Dec 9, 2008 9:13 AM (in response to monstor)Hi,
try validator="ajoutModuleValidator" instead of validator="#{ajoutModuleValidator}" -
8. Re: Validator with a combobox
adubovsky Jan 13, 2009 4:40 AM (in response to monstor)Hi,
See description of validator attribute from tld: "MethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component"
So, if you need to add custom validator implemented as class, you need to use <f:validator validatorId="ajoutModuleValidator"/> tag, where validatorId - validator id registered in faces-config.