rich
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
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for this component
oncompletefalsefalsejava.lang.StringJavaScript code for call after request completed on client side
renderedfalsefalsejava.lang.StringIf "false", 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)
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
bypassUpdatesfalsefalsejava.lang.StringIf "true", after process validations phase skip updates of model beans an force render response. Can be used for validate components input
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
accesskeyfalsefalsejava.lang.StringAccess key that, when pressed, transfers focus to this element
switchToStatefalsefalsejava.lang.StringContains one of the facets names where target togglePanel is switched to
limitToListfalsefalsejava.lang.StringIf "true", updates on client side ONLY elements from this 'reRender' property. if "false" (default) updates all rendered by ajax region components
onkeypressfalsefalsejava.lang.StringJavaScript code executed when a key is pressed and released over this element
ajaxSinglefalsefalsejava.lang.Stringif true, submit ONLY one field/link, instead of all form controls
ondblclickfalsefalsejava.lang.StringJavascript code executed when a pointer button is double clicked over this element
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered
panelIdfalsefalsejava.lang.StringNo Description
onblurfalsefalsejava.lang.StringJavascript code executed when this element loses focus
onmouseoverfalsefalsejava.lang.StringJavaScript code executed when a pointer button is moved onto this element
forfalsefalsejava.lang.StringString containing comma separated ids (in the format of a UIComponent.findComponent() call) of the target components.
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
onkeyupfalsefalsejava.lang.StringJavaScript code executed when a key is released over this element
tabindexfalsefalsejava.lang.StringPosition of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767
timeoutfalsefalsejava.lang.Stringresponse waiting time on a particular request. If a response is not received during this time, the request is aborted
langfalsefalsejava.lang.StringCode describing the language used in the generated markup for this component
onclickfalsefalsejava.lang.StringJavascript code executed when a pointer button is clicked over this element
statusfalsefalsejava.lang.StringID (in format of call UIComopnent.findComponent()) of Request status component
onmouseoutfalsefalsejava.lang.StringJavaScript code executed when a pointer button is moved away from this element
onkeydownfalsefalsejava.lang.StringJavaScript code executed when a key is pressed down over this element
onmousedownfalsefalsejava.lang.StringJavaScript code executed when a pointer button is pressed down over this element
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
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.)
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
datafalsefalsejava.lang.StringSerialized (on default with JSON) data passed on the client by a developer on AJAX request. It's accessible via this.data
onfocusfalsefalsejava.lang.StringJavaScript code executed when this element receives focus
onmouseupfalsefalsejava.lang.StringJavaScript code executed when a pointer button is released over this element
bindingfalsefalsejava.lang.StringThe attribute takes a value-binding expression for a component property of a backing bean
ignoreDupResponsesfalsefalsejava.lang.StringIf true, unfinished request will be aborted on new event
onmousemovefalsefalsejava.lang.StringJavaScript code executed when a pointer button is moved within this element

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.