I found this in a Google search:

I believe you will need to include the Date.js, popcalendar_init.js, and
popcalendar.js (in that order) in the head of your jsp.  I was receiving
javascript errors as well because it needs those javascript files to set up
the javascript calendar.  Try that and let me know if it solves anything.

http://mail-archives.apache.org/mod_mbox/myfaces-users/200606.mbox/[EMAIL 
PROTECTED]

Does anyone have a working example using these files (Date.js, 
popcalendar_init.js, and
popcalendar.js)?

Also, setting styles for the t:inputCalendar has been impossible for me.  Found 
some sympathy in
another post:

No matter what I do, I can't get the popup calendar to use a different style or 
theme.

No matter what I put in popupTheme and even if I remove the attribute entirely, 
the popup renders
exactly the same... as if there were no styles at all on the table elements. It 
finds the images,
but none of the styles are set properly.

Help?

http://forum.java.sun.com/thread.jspa?threadID=730626&messageID=4205104

Any suggestions?

The Wiki only has a reference to the documentation page which is sparse and 
does not have a clear
link to an example (http://myfaces.apache.org/tomahawk/calendar.html).

The MyFaces example set has not been updated for the current release
(http://www.irian.at/myfaces/calendar.jsf).

Please help.

Mike



--- Mike Duffy <[EMAIL PROTECTED]> wrote:

> 
> <t:inputCalendar id="estimatedStartDate" monthYearRowClass="yearMonthHeader" 
>   weekRowClass="weekHeader"
>   currentDayCellClass="currentDayCell" 
> value="#{issueCreate.estimatedStartDate}" 
>   renderAsPopup="true"
>   popupTodayString="someString" popupWeekString="someOtherString"/>
> 
> I am using the latest and greatest of both Tomahawk and MyFaces.  
> t:inputCalendar used to work
> correctly.  Now, the icon image appears several lines below the text box and 
> the calendar
> renders
> as a hidden div not as a popup.
> 
> Any suggestions?
> 
> Thx.
> 
> Mike
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to