This content has been marked as final.
Show 3 replies
-
1. Re: display tooltip for simpleTogglePanel header
ilya_shaikovsky Jan 29, 2008 4:25 AM (in response to jieshengz)check this:
<rich:simpleTogglePanel width="200"> <f:facet name="header"> <h:panelGroup id="header" style="width:100%" layout="block"> <h:outputText value="test"/> <rich:toolTip styleClass="class"> <h:outputText value="test"/> </rich:toolTip> </h:panelGroup> </f:facet> <h:outputText value="test"/> </rich:simpleTogglePanel>
works as you need for me. -
2. Re: display tooltip for simpleTogglePanel header
jieshengz Feb 5, 2008 9:02 AM (in response to jieshengz)I played around the tooltip a little bit. I found that toolTip has to be included in a JSF component such as h:panelGroup, tomahawk:div. If it is included inside a plain html element (I uses facelet) like span, div with an id, the tooltip may not behave as is expected.
-jason -
3. Re: display tooltip for simpleTogglePanel header
ilya_shaikovsky Feb 5, 2008 9:20 AM (in response to jieshengz)tooltip searches for the closier parent component in JSF tree. So your plain html elements not saved there. And the tooltip found next parent.