org.alfresco.web.ui.common.renderer
Class DatePickerRenderer
java.lang.Object
javax.faces.render.Renderer
org.alfresco.web.ui.common.renderer.BaseRenderer
org.alfresco.web.ui.common.renderer.DatePickerRenderer
public class DatePickerRenderer
- extends BaseRenderer
Method Summary |
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)
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, encodeChildren, encodeEnd, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatePickerRenderer
public DatePickerRenderer()
decode
public void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
- Overrides:
decode
in class javax.faces.render.Renderer
- See Also:
The 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".
getConvertedValue
public java.lang.Object getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object val)
throws javax.faces.convert.ConverterException
- Overrides:
getConvertedValue
in class javax.faces.render.Renderer
- Throws:
javax.faces.convert.ConverterException
- See Also:
In 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.
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Overrides:
encodeBegin
in class javax.faces.render.Renderer
- Throws:
java.io.IOException
- See Also:
All 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.