This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "AJAX in JSF" Watch "AJAX in JSF" New topic


vibhor mathur

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

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

Joined: Jun 06, 2009
Posts: 11
actually i have solved the problem using html SELECT.
I agree. Here's the link:
subject: AJAX in JSF
It's not a secret anymore!