public class DatePickerRenderer extends BaseRenderer
| Constructor and Description |
|---|
DatePickerRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
java.lang.Object |
getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object val) |
assertParmeters, getParameterComponents, outputAttributepublic void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
decode in class javax.faces.render.RendererThe decode method takes the parameters from the external requests, finds the
ones revelant to this component and decodes the results into an object known
as the "submitted value".public java.lang.Object getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object val)
throws javax.faces.convert.ConverterException
getConvertedValue in class javax.faces.render.Rendererjavax.faces.convert.ConverterExceptionIn the Process Validations phase, this method is called to convert the values
to the datatype as required by the component.
It is possible at this point that a custom Converter instance will be used - this
is why we have not yet converted the values to a data type.public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeBegin in class javax.faces.render.Rendererjava.io.IOExceptionAll rendering logic for this component is implemented here. A renderer for an
input component must render the submitted value if it's set, and use the local
value only if there is no submitted value.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.