• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

no horizontal scrollbar in SelectOneListBox?

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Lars Vegas",
Please check your private messages.
-Ben
 
Lars Vegas
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic