Hello guys,
Do you have any idea on how to create a dropdown box in
jsf with default value? For example I have a list of values:
value[0] = "default"
value[1] = "ABC"
value[2] = "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.