rich
Tag togglePanel


The <rich:togglePanel> component is used as a base for the other switchable components, the <rich:accordion> component and the <rich:tabPanel> component. It provides an abstract switchable component without any associated markup. As such, the <rich:togglePanel> component could be customized to provide a switchable component when neither an accordion component or a tab panel component is appropriate.

@author akolonitsky @author Brian Leathem


Tag Information
Component type org.richfaces.TogglePanel
Tag Name rich:togglePanel
Renderer Type org.richfaces.TogglePanelRenderer
Handler Class org.richfaces.view.facelets.html.TogglePanelTagHandler

Attributes
Name Required Type Description
activeItem false java.lang.String Holds the active panel name. This name is a reference to the name identifier of the active child <rich:togglePanelItem> component.
binding false javax.faces.component.UIComponent The value binding expression used to wire up this component to a component property of a JavaBean class
converter false javax.faces.convert.Converter Converter instance registered with this component.
cycledSwitching false boolean Applicable when cycling through the tabs. If "true", then when the last tab is active, cycling to next will activate the first tab, if "false", cycling to next will have not effect. The inverse applies for the first tab, and cycling to previous. Whether to Default: false
dir false java.lang.String Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
id false java.lang.String The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
immediate false boolean Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
itemChangeListener false javax.el.MethodExpression Occurs on the server side when an item is changed through Ajax using the server mode
lang false java.lang.String Code describing the language used in the generated markup for this component.
onbeforeitemchange false java.lang.String The client-side script method to be called before the item is changed.
onclick false java.lang.String Javascript code executed when a pointer button is clicked over this element.
ondblclick false java.lang.String Javascript code executed when a pointer button is double clicked over this element.
onitemchange false java.lang.String The client-side script method to be called after the item is changed.
onmousedown false java.lang.String Javascript code executed when a pointer button is pressed down over this element.
onmousemove false java.lang.String Javascript code executed when a pointer button is moved within this element.
onmouseout false java.lang.String Javascript code executed when a pointer button is moved away from this element.
onmouseover false java.lang.String Javascript code executed when a pointer button is moved onto this element.
onmouseup false java.lang.String Javascript code executed when a pointer button is released over this element.
rendered false boolean Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
style false java.lang.String CSS style(s) to be applied when this component is rendered.
styleClass false java.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.
switchType false org.richfaces.component.SwitchType The switch mode when a panel is activated. One of: "client", "server", "ajax". Default: "ajax"
title false java.lang.String Advisory title information about markup elements generated for this component.


Output Generated by Tag Library Documentation Generator.