aspose file tools*
The moose likes JSF and the fly likes JSF- tomahawk calander problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF- tomahawk calander problem" Watch "JSF- tomahawk calander problem" New topic
Author

JSF- tomahawk calander problem

hassan ali
Ranch Hand

Joined: Apr 23, 2006
Posts: 127
I have configured tomahawk,i have used
date :<tutputText id="birthDate" value="#{Calander.date}" />

and it works fine. (date : Nov 29, 2008)
but when i try calander like this.

<t:inputCalendar id="calendar" monthYearRowClass="yearMonthHeader"
weekRowClass="weekHeader"
currentDayCellClass="currentDayCell"
value="#{Calander.date}"
renderAsPopup="true"
popupDateFormat="MM/dd/yyyy"
renderPopupButtonAsImage="true">
</t:inputCalendar>

This is error massage.

root cause
java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

I think we need a more complete stack trace. It looks like probably an exception inside the Calendar initialization routine.


Customer surveys are for companies who didn't pay proper attention to begin with.
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
Tim is right in his earlier post, the tomahawk specification describes the use of an inline calendar vs a popup calendar

Here is a link to the description :

Tomahawk Calendar
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

I see that they've made some major improvements to the online docs!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF- tomahawk calander problem