We finally took our time to change our code from the 3.0M1 to 3.2. We need a title for each element of the picklist (which shows a more detailed information about each item).
With 3.0M1 it was possible to do a workaround by providing a converter which inserted a "<span title='information'>itemLabel</span>".
Code: Select all
return String.format("<span title='%s'>%s</span>", realName, name);
Is there any possibility to achieve this now? Also workarounds are welcomed!
I also tried to use a <p:column> setting an ID and a <p:tooltip> referring to this ID - but the ID won't get rendered:
Code: Select all
<p:pickList id="groupPickList" value="#{bean.members}"
var="user" converter="userConverter">
<p:column style="width:75%" id="#{user.id}">
#{user.name}
<p:tooltip for="#{user.id}" value="#{user.realName}" />
</p:column>
</p:pickList>
crappi
MyFaces 2.0.3 | Mojarra 2.1.2 | PrimeFaces 3.2