Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form is not submitting in JSF while using two SelectOneMenu

 
sunil langeh
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am working on JSF 1.2 version, As per requirement i am populating two drop down list in JSP but the problem is my action is not executing while submitting the page, it is just refreshing the page in same window.

Interesting part is: its working fine if i am using any one of the drop down list separately, but not while using both together.
Please help..

Here is the code:
 
sunil langeh
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends Please assist me for this problem...Thanks
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ask yourself how will the form know what "value" the user selected? Something is missing in the selectOneMenu.
 
sunil langeh
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tsang, Got your hint, Let me try and will get back with thanks.. :)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic