• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem using tomahawk inputCalendar component

 
Alagar Samy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

I'm using inputCalendar component from tomahawk.1.1.5 jar.
Even after adding MyFaces Extensions Filter entry in my web.xml, inputCalendar is not identifying the javascript files and due to it my page is displaying with java script errors.

So I have manually copied the following java script files from tomahawk.1.1.5 jar to my project directory.

date.js
JSPopup.js
popcalendar.js
prototype.js

Now no java script error its coming but the component is behaving is unexpected way. I'm facing following issues
1) Hug space is there between the input text box and the calendar icon.
2) When I click on calendar icon, the calendar is rendered in same page and not in the popup.

Are there any more configurations I have missed?
What should I do?

Code Sample I have used:

JSP :
<t:inputCalendar id="dateId"
styleClass="dateInput"
rendered="true" renderAsPopup="true"
currentDayCellClass="currentDayCell"
value="#{bean.chartDate}">
</t:inputCalendar>


Thank in advance.
 
Tim Holloway
Bartender
Posts: 18417
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's 2 things I learned are essential when using the Tomahawk calendar:

1. Make sure you've configured the filter that sends out the javascript.

2. Make sure you've set up all the CSS elements that the calendar needs.
 
Max Moore
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well... you must forget the tomahawk calendar component. Actually it's piece of crap. You have a lot of problem with Portal integration. I changed it for Jenia4Faces calendar component. It's really amazing and works into the portal environment. You'll have any problem with javascript files and css...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!