This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes SelectOneMenu problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "SelectOneMenu problems" Watch "SelectOneMenu problems" New topic

SelectOneMenu problems

Joao Zava

Joined: Aug 12, 2008
Posts: 3

I'm working with a basic crud, where exist one SelectOneMenu

The problem is when I need to select one item from dataTable list

To all fields work fine, but not to the SelectOneMenu!

Anybody know how to do it???

Sorry for bad english

Thanks for help!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951

I cannot tell for certain, but coding parameters on a JSF action always fires off alarms in my head. JSF normally doesn't need parameters, since it's all done in the backing beans.

One thing that does look exceptionally strange, however, is that you have no action bound to your commandButton. Without an action, how do you expect anything to act on your inputs?

Customer surveys are for companies who didn't pay proper attention to begin with.
Joao Zava

Joined: Aug 12, 2008
Posts: 3
But the problem is only about the SelectOneMenu.

For example, when clicked on button, the fields need to be filled.

For all it fields works fine, except for the SelectOneMenu!
wood burning stoves
subject: SelectOneMenu problems
Similar Threads
Validation Error on SelectOneMenu
The action of my commandButton does not work any more after using SelectOneMenu
How to set Default selection in h:selectOneMenu
Validating a selectOneMenu
i am facing some problem with <h:selectOneMenu>