Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX in JSF

 
vibhor mathur
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vibhor mathur
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually i have solved the problem using html SELECT.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic