File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes unable to populate select one menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "unable to populate select one menu " Watch "unable to populate select one menu " New topic
Author

unable to populate select one menu

abhijita singha
Greenhorn

Joined: Sep 07, 2010
Posts: 7
this is my JSF code

this is my backing bean code

when i am executing this program i m getting error that bean.

Max Katz
Ranch Hand

Joined: Aug 03, 2009
Posts: 72
It might not like that you named the property 'value', try changing the name. Also, nothing to do with Ajax4jsf. Take out a4j:support and use standard onchange event to test first.


Blog: http://mkblog.exadel.com
HTML Prototypes: http://gotiggr.com
abhijita singha
Greenhorn

Joined: Sep 07, 2010
Posts: 7
i have used the on change function it works but with Ajax 4 j sf it is giving errors may be some problem due to initialization of that bean.
and one thing i noted request is getting dispatched twice
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to populate select one menu
 
Similar Threads
JSF keeps displaying old values after Validation Phase fails (ignoring actionListeners settings)
h:selectOneMenu and valueChangeListener
Birth Date nightmare - passing variable between beans and java objects
noSuchElementException when using SelectoneMenu
JSF + PrimeFace: Validation Error: Value is not valid