File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17421

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?

An IDE is no substitute for an Intelligent Developer.
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!
I agree. Here's the link:
subject: SelectOneMenu problems
It's not a secret anymore!