Nargzul
asked on
rich:tooltip on rich:tree ?
Is there a way to display some tooltip into each element of the tree, displaying by exemple the "description" field of each item?
ASKER
But the problem is the Tree is dynamic and recursive.
So how can I specify this?
I can put a outputText in the recursive tree adaptor???
So how can I specify this?
I can put a outputText in the recursive tree adaptor???
<rich:tree id="tree" switchType="ajax" ajaxSubmitSelection="true" value="#{AddDeal.deal.idRequestedService}">
<rich:recursiveTreeNodesAdaptor roots="#{AddDeal.rootService}" var="item" nodes="#{item.serviceCollection}" />
</rich:tree>
ASKER
I've try this but it doesn't work:
<rich:tree id="tree" switchType="ajax" ajaxSubmitSelection="true" value="#{AddDeal.deal.idRequestedService}">
<rich:recursiveTreeNodesAdaptor roots="#{AddDeal.rootService}" var="item" nodes="#{item.serviceCollection}" >
<h:outputText value="#{item.name}" title="#{item.description}"/>
</rich:recursiveTreeNodesAdaptor>
</rich:tree>
ASKER
up!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
To long to implement.
If you want a tooltip on the icon you can use javascript (onmouseover, onmouseout) to show and hide a popup box.
Open in new window