org.apache.myfaces.tobago.taglib.extension
Class LabelExtensionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.myfaces.tobago.taglib.extension.LabelExtensionTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, HasTip, HasValue
public class LabelExtensionTag
- extends BodyTagSupport
- implements HasValue, HasTip
Renders a label to any component.
Short syntax of:
<tc:panel>
<f:facet name="layout">
<tc:gridLayout columns="fixed;*"/>
</f:facet>
<tc:label value="#{label}" for="@auto"/>
...
</tc:panel>
This is the universal version of the special versions: <tx:in>, etc.
In other words:
<tx:label>
<tc:in/>
</tx:label>
does the same like
<tx:in/>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_COLUMNS
public static final String DEFAULT_COLUMNS
- See Also:
- Constant Field Values
LabelExtensionTag
public LabelExtensionTag()
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class BodyTagSupport
- Throws:
JspException
doEndTag
public int doEndTag()
throws JspException
- Specified by:
doEndTag
in interface Tag
- Overrides:
doEndTag
in class BodyTagSupport
- Throws:
JspException
release
public void release()
- Specified by:
release
in interface Tag
- Overrides:
release
in class BodyTagSupport
setValue
public void setValue(String value)
- Description copied from interface:
HasValue
- The current value of this component.
- Specified by:
setValue
in interface HasValue
setTip
public void setTip(String tip)
- Description copied from interface:
HasTip
- Text value to display as tooltip.
- Specified by:
setTip
in interface HasTip
setRendered
public void setRendered(String rendered)
setMarkup
public void setMarkup(String markup)
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.