f:selectItem doesn't have a title property. So I think you can't specify a title for each option.

Although it has a itemDescription property.
javadoc says:
Description of this option, for use in development tools.
I've seen no examples for that even with development tools.


On 5/8/06, Lisaa <[EMAIL PROTECTED]> wrote:

Hi.,
  I have something like:

<t:selectOneRadio  value="#{configuration.leasingartSelected}"
>valueChangeListener="#{configuration.leasingartValueChange}">

<f:selectItem itemValue="Privat" itemLabel="Privat" />
  <f:selectItem itemValue="Gewerblich" itemLabel="Geschäftlich" />

</t:selectOneRadio>

I would like to place title (tooltip) for the rendered 2 radio buttons each
one with different texts (not setting "title" attribute common for both
buttons).

Lets say with equivalent HTML:
Male:
<input type="radio" name="Sex" value="male" title="male">

Female:
<input type="radio" name="Sex" value="female" title="female">


How could I achieve that?

Any help is highly appreciated.

Thanks.
--
View this message in context: http://www.nabble.com/SelectOneRadio%2Btitle-%28tooltip%29-t1578182.html#a4284271
Sent from the MyFaces - Users forum at Nabble.com.


Reply via email to