Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSF
Do custom validators not work on h:selectOneMenu ?
Dave Alvarado
Ranch Hand
Posts: 436
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I'm using Tomahawk 1.1.9 and
JBoss
5.1. I wrote a custom validator but it is not getting invoked for select items. Here is the code I'm using ...
<h:selectOneMenu styleClass="hourMenu" id="domeTourTime2" value="#{domeTour.prefs[1].time}"> <f:selectItems value="#{domeTour.timePrefItems}"/> <f:validator validatorId="TourRequiredIfCheckedValidator" /> </h:selectOneMenu>
Anyone have any thoughts about this or ideas to troubleshoot further? Thanks, - Dave
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Using disabled attribute in SelectOneMenu
List box initialization through managed bean
Getting this error when binded with a list for selectItems in jsf1.2_10
How to set default selection for selectOneMenu?
Conversion Error setting value ''{0}'' for ''{1}''
More...