• Post Reply Bookmark Topic Watch Topic
  • New Topic

no horizontal scrollbar in SelectOneListBox?

 
Lars Vegas
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have SelectOneListBox with the tag "contentStyle="width: 200;"" to avoid a big size of the listbox in my webapp. The problem now is that the horizontal scrollbar is not rendered so I cannot see the really long values in my box. Some of the values are the same at the beginning and I need to see the whole value. The SelectOneListBox is taken from trinidad.
I tried already to set "overflow: scroll;" in css and referenced it in the tag "inlineStyle" but that didn't work.
Does anyone in here know how to get the horizontal scrollbar?
Thanks for helping,
Lars
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Lars Vegas
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A tooltip onmouseover would also do if possible. But I fear that doesn't work either with selectItems!?
I can't believe that it is not possible to create a horizontal scrollbar in a SelectOneListbox. Then this element is of no use...
Any help appreciated!
Lars
 
A. Dusi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a similar requirement in my project. I ended up making custom components for selectItem and selectItems. The components take an additional attribute called tooltip which will be displayed as a tooltip. I used JSF in Action by Kito D Mann for reference, but I am sure there is plenty of help available online too.
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ben Souther:
"Lars Vegas",
Please check your private messages.
-Ben


This is at least his second notice. I remember asking Lars a while ago to change his display name, but he chose to ignore my request.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!