Friday

f:selectItems => adding tooltip

Put pass-through into to the namespace.
xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"

You can use passthrough 'title' attribute:
<f:selectItems value="#{values}" pt:title="Your tooltip desc"/>

2 comments:

  1. tooltip with dynamic content????

    ReplyDelete
  2. You can give your dynamic content like given values: p:title="#{values}"

    ReplyDelete