public class LabelRenderer extends HtmlBasicInputRenderer
LabelRenderer renders Label element.
.
HtmlBasicRenderer.Param
logger
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, setSubmittedValue
addGenericErrorMessage, augmentIdReference, convertClientId, decode, encodeRecursive, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getMessageIter, getParamList, getRendersChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeBegin
in class javax.faces.render.Renderer
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class HtmlBasicRenderer
java.io.IOException
protected 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.