Forums Register Login

Problem with selectOneMenu

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 

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
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1453 times.
Similar Threads
Wierd DataTable Problem
A Problem with events
Problem with initializing managed-property parameter
Issue With selectOneMenu ValueChangeListener Not Firing
JSF keeps displaying old values after Validation Phase fails (ignoring actionListeners settings)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:38:22.