Meaningless Drivel is fun!*
The moose likes JSF and the fly likes f:ajax not working within h:selectOneMenu.  Please explain why this super simple example is not work 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 "f:ajax not working within h:selectOneMenu.  Please explain why this super simple example is not work" Watch "f:ajax not working within h:selectOneMenu.  Please explain why this super simple example is not work" New topic
Author

f:ajax not working within h:selectOneMenu. Please explain why this super simple example is not work

Christopher Whu
Ranch Hand

Joined: Sep 03, 2008
Posts: 80
i have seen quite a few questions about why ajax is not firing in jsf drop downs... i am stuck on this right now so i created a simple example and i look forward to the discussion that it creates.

Backing Bean



and here is the xhtml





Christopher Whu
Ranch Hand

Joined: Sep 03, 2008
Posts: 80
i am hoping this saves some people some headaches but i updated jsf-api.jar and jsf-impl.jar w/in my modules directory in glass fish and now my code is working as you think it should... Its beautiful... I hope this saves someone some time. I was using an up to date version of glassfish and i guess my mojarra related jars where old?



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: f:ajax not working within h:selectOneMenu. Please explain why this super simple example is not work
 
Similar Threads
How to optimize code using JSF
Ajax implementation
Form calling a session scoped backing bean constructor twice
java.lang.ClassNotFoundException for my generic DAO
Can't get JSF selectOneMenu to show list of items