A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to create a h:selectOneMenu with a default value?
Mc. Alvin Bautista
Joined: Jul 17, 2006
Aug 04, 2006 17:22:00
Do you have any idea on how to create a dropdown box in
with default value? For example I have a list of values:
value = "default"
value = "ABC"
value = "DEF"
Then after setting the list of values, I will populate the dropdown box. What if I have a default value of "DEF" in my dropdown box, how could I display it to be the default value on the dropdown box. Can anyone help me?
Thanks in advance.
Joined: Aug 27, 2002
Aug 07, 2006 07:42:00
is this what you are looking for ?
I agree. Here's the link:
subject: How to create a h:selectOneMenu with a default value?
Problem in Reset button.
JSF dropdown components problem
Dynamic chnage on List from chnage on DropDown(ComboBox)
Re-posting a JSP page
how to populate dropdown box dynamically
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014