wood burning stoves*
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 Android Security Essentials Live Lessons 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.
It is sorta covered in the JavaRanch Style Guide.
subject: AJAX in JSF
Similar Threads
Job Market Trend
is there any ajax based datagrid component around?
jafvalidations-ajax problem
What should I learn next,ajax or ejb?