Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF- tomahawk calander problem

 
hassan ali
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we need a more complete stack trace. It looks like probably an exception inside the Calendar initialization routine.
 
Kavita Tipnis
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see that they've made some major improvements to the online docs!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic