Tobago Components 1.5.x
Tag label


Renders a label component.

UIComponentClass: org.apache.myfaces.tobago.component.UILabel

RendererType: Label



Tag Information
Tag Classorg.apache.myfaces.tobago.internal.taglib.LabelTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
Type: java.lang.String
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The value binding expression linking this component to a property in a backing bean.

Warning: For the tobago extension library tx the binding differs from JSP and Facelets:

  • JSP: The component is the inner main control (e. g. UIInput).
  • Facelets: The component is the outer UIPanel.

Type: javax.faces.component.UIComponent
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
Type: boolean
Default: true
accessKeyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Character)

**** @deprecated. Will be removed in a future version ****

Deprecated! Has not longer any function.
Type: java.lang.Character
labelWithAccessKeyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)

**** @deprecated. Will be removed in a future version ****

Deprecated! Use 'label' instead. Text value to display as label. If text contains an underscore the next character overwrites 'accesskey'.
Type: java.lang.String
forfalsefalsejava.lang.StringId of the component, this is related to.
Type: java.lang.String
inlinefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)

**** @deprecated. Will be removed in a future version ****

This should be handled by e.g. a flow layout manager (since 1.5.0)

Flag indicating this component should rendered as an inline element.
Type: boolean
Default: false
tipfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Text value to display as tooltip.
Type: java.lang.String
markupfalsefalsejavax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.context.Markup)
Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer.
Type: org.apache.myfaces.tobago.context.Markup
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Text value to display as label. Overwritten by 'labelWithAccessKey'
Type: java.lang.String

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.