2 Replies Latest reply on Jan 6, 2009 8:30 AM by haefti

    RichFaces replacement for a select box?

    haefti

      Hi!
      I have a question which is maybe a little bit weird. ;)

      Due to the z-index-problem of IE6 with select boxes when using divs as overlay I would like to use a component which has the same functionality like h:selectOneListbox but does not use the "select" tag.

      I tried the orderingList component but I don't think that I can strip it down to the functionality of a simple select box.

      Is there any alternative to have some kind of "DHTML"-component to avoid a "classic" HTML select box?

      Thank you!

      haefti

        • 1. Re: RichFaces replacement for a select box?
          ilya_shaikovsky

          check inplaceSelect component

          • 2. Re: RichFaces replacement for a select box?
            haefti

            Thanks for your help but I forgot to mention, that I only need a box of a certain vertical size showing several items like this:


            some value 1
            some value 2
            some value 3
            some value 4
            some value 5


            (BTW, crazy, that these tags are allowed in the forum :-) )

            inplaceSelect does not show a list without any event or am I wrong?

            I will have look at the orderingList component again but I don't know how to get the selected element and if it's possible to allow only one element to be selected.

            Any help is appreciated.

            Thanks!

            haefti