The javascript is dynamically included on the page. You need to have the
extensions filter set up on your web.xml (and I also updated to latest
version of myfaces libs from CVS just in case). I know this because I
just happened to throw in the calendar component for our web app. Got it
done in about five minutes, the component works beatifully and is
*impressive*. Thanks for whoever implemented it! One comment though,
inputCalendar doesn't support timezone attribute.. I think it should.
Agree? Anybody planning to do that? If not, I may just need to go in and
do it myself.

Kalle

> -----Original Message-----
> From: Whitney Hunter [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 11, 2005 2:58 PM
> To: MyFaces Discussion
> Subject: x:inputCalendar
> 
> Hello,
> 
> I am trying to use the x:inputCalendar compnent like this:
> 
> <x:inputCalendar id="searchDate"
>       monthYearRowClass="yearMonthHeader"
>       weekRowClass="weekHeader"
>       currentDayCellClass="currentDayCell"
>       value="#{searchController.searchDate}"
>       renderAsPopup="true"
>       popupTodayString="#{messages['popup_today_string']}"
>       popupWeekString="#{messages['popup_week_string']}"/>
> 
> I basically took the code out of the myfaces examples. It 
> renders OK, but when I press on the ... button, I get a 
> Javascript error:
> 
>     Error: jscalendarPopUpCalendar is not defined
> 
> Where does the javascript for this component come from?
> 
> Thanks,
> Whitney
> 
> 
> 

Reply via email to