org.apache.myfaces.custom.date
Class HtmlDateRenderer

java.lang.Object
  |
  +--javax.faces.render.Renderer
        |
        +--org.apache.myfaces.renderkit.html.HtmlRenderer
              |
              +--org.apache.myfaces.custom.date.HtmlDateRenderer

public class HtmlDateRenderer
extends HtmlRenderer

$Log: HtmlDateRenderer.java,v $ Revision 1.14 2004/12/27 04:11:11 mmarinschek Data Table stores the state of facets of children; script tag is rendered with type attribute instead of language attribute, popup works better as a column in a data table Revision 1.13 2004/12/24 13:21:51 matzew organized imports Revision 1.12 2004/12/10 02:15:19 svieujot New popupCalendar attribute, and implements UserRoleAware. Revision 1.11 2004/12/09 12:54:26 svieujot Changes to check for submitted-value first Revision 1.10 2004/12/09 05:13:02 svieujot Mark potential bugs where we use the backing bean's value, and do not check for submitted value Revision 1.9 2004/10/13 11:50:57 matze renamed packages to org.apache Revision 1.8 2004/10/04 17:47:55 svieujot Bugfix for bug 1039797 (Missing setter in HtmlInputDateTag), and add User Role support to InputDate. Revision 1.7 2004/07/30 13:09:04 svieujot Render numbers as 2 digits Revision 1.6 2004/07/30 02:59:00 svieujot Enable disabled attribute Revision 1.5 2004/07/26 02:00:05 svieujot Change structure to keep the data entered by the user even if they can't be converted Revision 1.4 2004/07/21 20:34:13 svieujot Add error handling Revision 1.3 2004/07/18 03:08:23 svieujot inputDate : add a type="date|time|both" similar as f:convertDateTime Revision 1.2 2004/07/17 21:03:05 svieujot Clean code Revision 1.1 2004/07/17 20:52:53 svieujot First version of an x:inputDate component

Version:
$Revision: 1.14 $ $Date: 2004/12/27 04:11:11 $
Author:
Sylvain Vieujot (latest modification by $Author: mmarinschek $)

Field Summary
static java.lang.String DATE_MESSAGE_ID
          The message identifier of the FacesMessage to be created if the creditcard check fails.
 
Constructor Summary
HtmlDateRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 java.lang.Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent uiComponent, java.lang.Object submittedValue)
           
protected  boolean isDisabled(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 
Methods inherited from class org.apache.myfaces.renderkit.html.HtmlRenderer
encodeChildren
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_MESSAGE_ID

public static final java.lang.String DATE_MESSAGE_ID

The message identifier of the FacesMessage to be created if the creditcard check fails.

See Also:
Constant Field Values
Constructor Detail

HtmlDateRenderer

public HtmlDateRenderer()
Method Detail

isDisabled

protected boolean isDisabled(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIComponent uiComponent)

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent uiComponent)
               throws java.io.IOException
Overrides:
encodeEnd in class javax.faces.render.Renderer
java.io.IOException

decode

public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent uiComponent)
Overrides:
decode in class javax.faces.render.Renderer

getConvertedValue

public java.lang.Object getConvertedValue(javax.faces.context.FacesContext context,
                                          javax.faces.component.UIComponent uiComponent,
                                          java.lang.Object submittedValue)
                                   throws javax.faces.convert.ConverterException
Overrides:
getConvertedValue in class javax.faces.render.Renderer
javax.faces.convert.ConverterException