This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectOneListBox size attribute not working

 
Peter LaForest
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

Thanks for any help in advance.

JSF documentation states that if I set the size attribute for the selectOneListBox element that the number of options displayed will be limited to that number. I have also found info that a vertical scroll bar will appear to handle overflow.

This does not appear to be working.

All elements are displayed regardless of what I set the size attribute to.

code sample:

<h:selectOneListBox id="id"
size="10"
value="#{MyBean.myvariable}"
valueChangeListener="#{MyBean.mylistener}">
<f:selectItems id="id" value="#{MyBean.mylist}" />
</h:selectOneListBox>

Tomcat 6.0.14
JVM 1.5.0 MAC OSX
IE 7.0
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic