problem with <t:inputCalendar>
I am trying to use the <t:inputcalendar > component of myFaces. I have put tomahawk.jar and commons-lang-2.0.jar in my WEB-INF/lib directory. The component appear in my jsp page but when I click on the button to open the calendar I get a javascript error saying "Object expected"
This is the content of my jsp file:
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<h:form styleClass="form" id="form1">
<t:inputCalendar id="secondOne" monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
currentDayCellClass="currentDayCell" value="#{pc_Bidon.madate}" renderAsPopup="true"/>
</h:form>
Then I put in my jsp file the following:
<SCRIPT LANGUAGE="JavaScript" SRC="popcalendar_init.js"></script>
<SCRIPT LANGUAGE="JavaScript" SRC="popcalendar.js"></script>
( I copied the two files from tomahawk.jar to my jsp file folder)
And after that I don't have the javascript error.
It seems as if my application cannot find all the ressources that are in the tomahawk.jar . No images are displayed and no javascript files are used.
Is there something to do to tell my application to search for the ressources ?
Thanks a lot for your help.
Didi

