I do have the extensions filter, but it is still not working for me. I have the 1.08 release. Does anyone know if this works without getting the head of CVS? The example works, so I figure that I should be able to get it to work too. I must be missing something...

Korhonen, Kalle wrote:

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





begin:vcard
fn:Whitney Hunter
n:Hunter;Whitney
email;internet:[EMAIL PROTECTED]
note:gpg public key: http://www.hunterfam.com/gpg/whitney.asc
x-mozilla-html:TRUE
url:http://www.hunterfam.com
version:2.1
end:vcard

Reply via email to