This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with selectOneMenu

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two selectOneMenu . One is populated based on the selected value of the first, that is the first has onselect="submit()" that is once you select a value the form reloads and the second selectOneMenu loads up vaules from the database, Problem is it works until i set "required=true" on other form objects on the same page. seems the page does'nt submit until other fields have been filled. Is there a solution to this problem
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to make sure that the end of the Java code that runs on submit goes to the render phase. I forgot the exact method and parameter to do that, but a simple Google search should show it pretty quickly, or a search on this forum.

Good Luck

Mark
 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mark Spritzler:
You need to make sure that the end of the Java code that runs on submit goes to the render phase. I forgot the exact method and parameter to do that, but a simple Google search should show it pretty quickly, or a search on this forum.

Good Luck

Mark


Do you mean by setting immediate=true, if thats what you mean i have already tried that but its not working
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic