Dear All,

I have had a request to allow for some "tooltip" style information to popup when a mouse goes over a given node.

The outputText title attribute does this, but how can I set that from a value contained within a node?

i.e. I would like to extend the TreeNode to include a String field called (say) toolTipText. I create the getter & setter etc & then I'd like to be able to have something like:

<h:outputText value="#{node.description}" title="#{node.toolTipText}" styleClass="nodeFolder" />


Has anyone got any idea of how I can do this/ how I can extend node to include other fields which are accessible from the jsf/jsp?

TIA


Adam

Reply via email to