org.apache.myfaces.custom.calendar

Class 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 $)

Nested Class Summary
static classHtmlCalendarRenderer.CalendarDateTimeConverter
interfaceHtmlCalendarRenderer.DateConverter
Method Summary
static voidaddScriptAndCSSResources(FacesContext facesContext, UIComponent component)
Used by the x:inputDate renderer : HTMLDateRenderer
voiddecode(FacesContext facesContext, UIComponent component)
voidencodeEnd(FacesContext facesContext, UIComponent component)
ObjectgetConvertedValue(FacesContext facesContext, UIComponent uiComponent, Object submittedValue)
static StringgetLocalizedLanguageScript(DateFormatSymbols symbols, String[] months, int firstDayOfWeek, HtmlInputCalendar inputCalendar)
static String[]mapMonths(DateFormatSymbols symbols)

Method Detail

addScriptAndCSSResources

public static void addScriptAndCSSResources(FacesContext facesContext, UIComponent component)
Used by the x:inputDate renderer : HTMLDateRenderer

Throws: IOException

decode

public void decode(FacesContext facesContext, UIComponent component)

encodeEnd

public void encodeEnd(FacesContext facesContext, UIComponent component)

getConvertedValue

public Object getConvertedValue(FacesContext facesContext, UIComponent uiComponent, Object submittedValue)

getLocalizedLanguageScript

public static String getLocalizedLanguageScript(DateFormatSymbols symbols, String[] months, int firstDayOfWeek, HtmlInputCalendar inputCalendar)

mapMonths

public static String[] mapMonths(DateFormatSymbols symbols)