File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF- tomahawk calander problem

 
hassan ali
Ranch Hand
Posts: 127
  • 0
  • 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: 17619
39
Android Eclipse IDE Linux
  • 0
  • 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
  • 0
  • 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: 17619
39
Android Eclipse IDE Linux
  • 0
  • 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