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 class
HtmlCalendarRenderer.CalendarDateTimeConverter
static interface
HtmlCalendarRenderer.DateConverter

Method Summary

static void
addScriptAndCSSResources(FacesContext facesContext, UIComponent component)
Used by the x:inputDate renderer : HTMLDateRenderer
void
decode(FacesContext facesContext, UIComponent component)
void
encodeEnd(FacesContext facesContext, UIComponent component)
Object
getConvertedValue(FacesContext facesContext, UIComponent uiComponent, Object submittedValue)
static String
getLocalizedLanguageScript(DateFormatSymbols symbols, String[] months, int firstDayOfWeek, HtmlInputCalendar inputCalendar)
static String[]
mapMonths(DateFormatSymbols symbols)

Methods inherited from class org.apache.myfaces.renderkit.html.HtmlRenderer

encodeChildren

Method Details

addScriptAndCSSResources

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

decode

public void decode(FacesContext facesContext,
                   UIComponent component)

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
            throws IOException

getConvertedValue

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

getLocalizedLanguageScript

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

mapMonths

public static String[] mapMonths(DateFormatSymbols symbols)