Apache MyFaces HTML
Tag outputLabel


Renders a HTML label element. In addition to the JSF specification, MyFaces allows it to directly give an output text via the "value" attribute. Unless otherwise specified, all attributes accept static values or EL expressions.


Tag Information
Tag Classorg.apache.myfaces.taglib.html.HtmlOutputLabelTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsefalsejava.lang.StringThe developer-assigned ID of this component. The ID must be unique within the scope of the tag's enclosing naming container (e.g. h:form or f:subview). This value must be a static value.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)
A boolean value that indicates whether this component should be rendered. Default value: true.
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The initial value of this component.
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
An expression that specifies the Converter for this component. The value can either be a static value (ID) or an EL expression. When a static id is specified, an instance of the converter type registered with that id is used. When this is an EL expression, the result of evaluating the expression must be an object that implements the Converter interface.
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
CSS styling instructions.
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The CSS class for this element. Corresponds to the HTML 'class' attribute.
dirfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
langfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
The base language of this document.
titlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
An advisory title for this element. Often used by the user agent as a tooltip.
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when the element is clicked.
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when the element is double-clicked.
onmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when the pointing device is pressed over this element.
onmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when the pointing device is released over this element.
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when the pointing device is moved into this element.
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when the pointing device is moved while it is in this element.
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when the pointing device is moves out of this element.
onkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when a key is pressed over this element.
onkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when a key is pressed down over this element.
onkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Script to be invoked when a key is released over this element.
onblurfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Specifies a script to be invoked when the element loses focus.
onfocusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Specifies a script to be invoked when the element receives focus.
escapefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Indicates whether rendered markup should be escaped. Default: true
accesskeyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Sets the access key for this element.
tabindexfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Specifies the position of this element within the tab order of the document.
forfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Client ID the label should be displayed for.

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.