aspose file tools
The moose likes JSF and the fly likes selectOneMenu and selectItems; getting null Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "selectOneMenu and selectItems; getting null" Watch "selectOneMenu and selectItems; getting null" New topic
Author

selectOneMenu and selectItems; getting null

Stas Melnychenko
Greenhorn

Joined: Feb 20, 2012
Posts: 14

I have selectOneMenu item on my page



And I have backbean:

Stas Melnychenko
Greenhorn

Joined: Feb 20, 2012
Posts: 14

I made some change with same result




And value is still null.
Stas Melnychenko
Greenhorn

Joined: Feb 20, 2012
Posts: 14

I figured out, that setter never called.
Stas Melnychenko
Greenhorn

Joined: Feb 20, 2012
Posts: 14

I remove immediate=true from my submit button.
Work fine!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: selectOneMenu and selectItems; getting null
 
Similar Threads
Trouble with JSF selectOneMenu
<h:selectOneMenu issue defaulting to specific selectItem
selectOneMenu
JSF keeps displaying old values after Validation Phase fails (ignoring actionListeners settings)
Strange behaviour with h:selectOneMenu value