h:selectOneListbox - need to show as list box if size is 1

Hi ,

I am using h:selectOneListbox in my application ,When I am trying to delete the elements one by one till only one item should show in my list box, but it is showing as drop down box.

I need to show as list box , Can you please let me know any one has any idea on the same.

Thanks,

Ramesh

[323 byte] By [ramesh@ibma] at [2007-11-26 15:36:56]
# 1
I don't understand the problem? The selectOneListbox is actually a drop down box.Aren't you confused with selectOneMenu?
BalusCa at 2007-7-8 21:54:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi ,Thanks for your response , If we have only one item in the <h:selectOneListBox > it is showing as a combobox ,If we have more than 1 item in the <h:selectOneListBox > it will show as a list box ..
ramesh@ibma at 2007-7-8 21:54:42 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...