org.apache.myfaces.custom.calendar
Class HtmlCalendarRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.renderkit.html.HtmlRenderer
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer
- public class HtmlCalendarRenderer
- extends HtmlRenderer
- Version:
- $Revision: 239482 $ $Date: 2005-08-24 01:34:01 +0200 (Wed, 24 Aug 2005) $
- Author:
- Martin Marinschek (latest modification by $Author: svieujot $)
Method Summary |
static void |
addScriptAndCSSResources(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Used by the x:inputDate renderer : HTMLDateRenderer |
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
java.lang.Object |
getConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Object submittedValue)
|
static java.lang.String |
getLocalizedLanguageScript(java.text.DateFormatSymbols symbols,
java.lang.String[] months,
int firstDayOfWeek,
HtmlInputCalendar inputCalendar)
|
static java.lang.String[] |
mapMonths(java.text.DateFormatSymbols symbols)
|
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 |
HtmlCalendarRenderer
public HtmlCalendarRenderer()
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
addScriptAndCSSResources
public static void addScriptAndCSSResources(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Used by the x:inputDate renderer : HTMLDateRenderer
- Throws:
java.io.IOException
getLocalizedLanguageScript
public static java.lang.String getLocalizedLanguageScript(java.text.DateFormatSymbols symbols,
java.lang.String[] months,
int firstDayOfWeek,
HtmlInputCalendar inputCalendar)
mapMonths
public static java.lang.String[] mapMonths(java.text.DateFormatSymbols symbols)
decode
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
getConvertedValue
public java.lang.Object getConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Object submittedValue)
throws javax.faces.convert.ConverterException
- Throws:
javax.faces.convert.ConverterException