public class LabelRenderer extends HtmlBasicInputRenderer
LabelRenderer renders Label element.
.
HtmlBasicRenderer.Paramlogger| Constructor and Description |
|---|
LabelRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected java.lang.String |
getForComponentClientId(javax.faces.component.UIComponent component,
javax.faces.context.FacesContext context,
java.lang.String forValue)
Builds and returns the clientId of the component that is
represented by the forValue.
|
getConvertedValue, getValue, setSubmittedValueaddGenericErrorMessage, augmentIdReference, convertClientId, decode, encodeRecursive, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getMessageIter, getParamList, getRendersChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessarypublic void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeBegin in class javax.faces.render.Rendererjava.io.IOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeEnd in class HtmlBasicRendererjava.io.IOExceptionprotected java.lang.String getForComponentClientId(javax.faces.component.UIComponent component,
javax.faces.context.FacesContext context,
java.lang.String forValue)
getClientId(context) is not possible.component - UIComponent that represents the labelcontext - FacesContext for this requestforValue - String representing the "id" of the component
that this label represents.Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.