ICE Components
Tag panelTooltip


The panelTooltip is a container component that renders the panel as tooltip that hovers on top of an element. This component can be used with conjunction of the panelGroup.

The popupTooltip contains two user defined regions which are defined using named facets. The facet names are "header" and "body".

The hide functionality is controlled by the hideOn attribute.

Note: The panelTooltip can be draggable as well.


Tag Information
Tag Classcom.icesoft.faces.component.paneltooltip.PanelTooltipTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean
displayListenerfalsefalsejava.lang.StringThe displayListener is a MethodBinding/MethodExpression that specifies a method on a backing bean that will accept a com.icesoft.faces.component.DisplayEvent.
displayOnfalsefalsejava.lang.String

The following are the valid values for the displayOn attribute:

  • hover (default): cursor hover
  • click: left mouse button clicked
  • altclick: right mouse button clicked (tied to the "contextmenu" JS event)
  • dblclick: double click
draggablefalsefalsejava.lang.StringWhen set to 'true' this panelTooltip is draggable. The user will be able to drag the panel to any position on the page. Note: all Draggable panels must be contained in a form. If the panelTooltip is draggable it becomes dynamic automatically.
effectfalsefalsejava.lang.StringThe Javascript Effect
hideOnfalsefalsejava.lang.String

The following are the valid values for the autoHide attribute:

  • mouseout
  • mousedown
  • none

mouseout :

the tooltip will be hide (un-rdender or invisible, depending on the dynamic attribute) when the user moves the mouse out of the triggering component.

mousedown :

the tooltip will be hide (un-rdender or invisible, depending on the dynamic attribute) when the user clicks any area outside of the panelTooltip itself is clicked.

none :

the tooltip will not be hide until the application changes the "visible" attribute to be false

hoverDelayfalsefalsejava.lang.String# of milliseconds that mouse must be continuously hovered over the component before the tooltip is displayed.
idfalsefalsejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
moveWithMousefalsefalsejava.lang.StringWhen set to "true" this will cause the panelTooltip to track with the mouse. Default is "false"
onclickfalsefalsejava.lang.StringNo Description
onclickeffectfalsefalsejava.lang.StringEffect invoked on onclick event
ondblclickfalsefalsejava.lang.StringNo Description
ondblclickeffectfalsefalsejava.lang.StringEffect invoked on ondblclick event
onkeydownfalsefalsejava.lang.StringNo Description
onkeydowneffectfalsefalsejava.lang.StringEffect invoked on onkeydown event
onkeypressfalsefalsejava.lang.StringNo Description
onkeypresseffectfalsefalsejava.lang.StringEffect invoked on onkeypress event
onkeyupfalsefalsejava.lang.StringNo Description
onkeyupeffectfalsefalsejava.lang.StringEffect invoked on onkeyup event
onmousedownfalsefalsejava.lang.StringNo Description
onmousedowneffectfalsefalsejava.lang.StringEffect invoked on onmousedown event
onmousemovefalsefalsejava.lang.StringNo Description
onmousemoveeffectfalsefalsejava.lang.StringEffect invoked on onmousemove event
onmouseoutfalsefalsejava.lang.StringNo Description
onmouseouteffectfalsefalsejava.lang.StringEffect invoked on onmouse event
onmouseoverfalsefalsejava.lang.StringNo Description
onmouseovereffectfalsefalsejava.lang.StringEffect invoked on onmouseover event
onmouseupfalsefalsejava.lang.StringNo Description
onmouseupeffectfalsefalsejava.lang.StringEffect invoked on onmouseup event
renderedfalsefalsejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
renderedOnUserRolefalsefalsejava.lang.StringIf user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered.
styleClassfalsefalsejava.lang.String

Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.

Defines the base class name for all style classes. Default value is icePnlTlTip

  • icePnlTlTip
  • icePnlTlTipHdr
  • icePnlTlTipBody
  • icePnlTlTipFtr
visiblefalsefalsejava.lang.StringSet the visibility of this component. When false CSS style is set to display:none

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.