RichFaces
Tag toggleControl


A link type control for switching betwen togglePanel's facets. The Target Panel is specified with the "for" attribute. It can be located even inside or outside the togglePanel. As the result of switching between facets, the previous facet is hidden and the next is shown.


Tag Information
Tag Classorg.richfaces.taglib.ToggleControlTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
actionListenerfalsefalsejava.lang.StringMethodBinding pointing at method accepting an ActionEvent with return type void
forfalsefalsejava.lang.StringString containing comma separated ids (in the format of a UIComponent.findComponent() call) of the target components.
ajaxSinglefalsefalsejava.lang.Stringif true, submit ONLY one field/link, instead of all form controls
datafalsefalsejava.lang.StringSerialized (on default with JSON) data passed on the client by a developer on AJAX request. It's accessible via "data.foo" syntax
switchToStatefalsefalsejava.lang.StringContains one of the facets names where target togglePanel is switched to
actionExpressionfalsefalsejava.lang.StringThe action method binding expression.
eventsQueuefalsefalsejava.lang.StringName of requests queue to avoid send next request before complete other from same event. Can be used to reduce number of requests of frequently events (key press, mouse move, etc.)
langfalsefalsejava.lang.StringCode describing the language used in the generated markup for this component
accesskeyfalsefalsejava.lang.StringAccess key that, when pressed, transfers focus to this element
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for this component
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered
dirfalsefalsejava.lang.StringDirection indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
onblurfalsefalsejava.lang.StringJavascript code executed when this element loses focus
onmouseupfalsefalsejava.lang.StringJavaScript code executed when a pointer button is released over this element
valuefalsefalsejava.lang.StringInitial value to set when rendered for the first time
actionfalsefalsejava.lang.StringMethodBinding pointing at the application action to be invoked, if this UIComponent is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property
focusfalsefalsejava.lang.Stringid of element to set focus after request completed on client side
requestDelayfalsefalsejava.lang.StringDelay (in ms.) for send ajax request on JavaScript event. In conjunction with events queue can reduce number of requests on keyboard or mouse move events
onmousemovefalsefalsejava.lang.StringJavaScript code executed when a pointer button is moved within this element
ignoreDupResponsesfalsefalsejava.lang.StringIf true, unfinished request will be aborted on new event
ondblclickfalsefalsejava.lang.StringJavascript code executed when a pointer button is double clicked over this element
statusfalsefalsejava.lang.StringID (in format of call UIComponent.findComponent()) of Request status component
onmouseoutfalsefalsejava.lang.StringJavaScript code executed when a pointer button is moved away from this element
styleClassfalsefalsejava.lang.StringSpace-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
tabindexfalsefalsejava.lang.StringPosition of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767
bypassUpdatesfalsefalsejava.lang.StringIf "true", after process validations phase skip updates of model beans an force render response. Can be used for validate components input
oncompletefalsefalsejava.lang.StringJavaScript code for call after request completed on client side
onkeyupfalsefalsejava.lang.StringJavaScript code executed when a key is released over this element
onfocusfalsefalsejava.lang.StringJavaScript code executed when this element receives focus
onkeydownfalsefalsejava.lang.StringJavaScript code executed when a key is pressed down over this element
onkeypressfalsefalsejava.lang.StringJavaScript code executed when a key is pressed and released over this element
renderedfalsefalsejava.lang.StringIf "false", this component is not rendered.
onmouseoverfalsefalsejava.lang.StringJavaScript code executed when a pointer button is moved onto this element
immediatefalsefalsejava.lang.StringTrue means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase
limitToListfalsefalsejava.lang.StringIf "true", updates on client side ONLY elements from this 'reRender' property. if "false" (default) updates all rendered by ajax region components
bindingfalsefalsejava.lang.StringThe attribute takes a value-binding expression for a component property of a backing bean
onclickfalsefalsejava.lang.StringJavascript code executed when a pointer button is clicked over this element
onmousedownfalsefalsejava.lang.StringJavaScript code executed when a pointer button is pressed down over this element
panelIdfalsefalsejava.lang.StringAttribute defines Id for corresponding panel.
timeoutfalsefalsejava.lang.StringResponse waiting time on a particular request. If a response is not received during this time, the request is aborted

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.