This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSF and the fly likes AJAX in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "AJAX in JSF" Watch "AJAX in JSF" New topic
Author

AJAX in JSF

vibhor mathur
Greenhorn

Joined: Jun 06, 2009
Posts: 11
I am using ajax to dynamically populate a drop down list in jsf. But when I select one item in the populated list and submit the form the selected value becomes null. what may be the problem?
Vaibhav Mittal
Greenhorn

Joined: Jun 11, 2008
Posts: 23
I faced a similar problem too. Can you provide the code of that part. Just check a few things. Check if the menu is enclosed in a <h:form>. Can point out other problems if you provide the code.


"Life is good"
vibhor mathur
Greenhorn

Joined: Jun 06, 2009
Posts: 11
actually i have solved the problem using html SELECT.
 
GeeCON Prague 2014
 
subject: AJAX in JSF