I think I've found the problem you were facing. CalendarField imported the DateField resources
(prototype) which clashes with other JavaScript libraries such as jQuery. I've changed the behavior
so that CalendarField does not import resources from DateField. Updated jar available here:
http://click-calendar.googlecode.com/files/click-calendar-1.2.0-RC1.jar
regards
bob
On 13/04/2010 19:07, Bob Schellink wrote:
Also look at the Click log. Here is what I see when doing a clean deploy:
[Click] [trace] deployed /click/jscalendar/calendar.js
bob
On 13/04/2010 17:30, Bob Schellink wrote:
On 13/04/2010 16:53, easydoor wrote:
The calendar doesn't appear when i click on the icon.
In other hand, I saw in the CalendarField.class that you call a js
file under
click/jscalendar, this folder doesn't exit in the distribution ...
The resources under 'click/jscalendar' is part of the click-calendar.jar
not the Click distribution. If you deploy your application to Tomcat for
example, have a look at the exploded WAR to see which files were
deployed. In tomcat this will be under:
tomcat/webapps/<your-app>/click
Also when you say the calendar does not appear, are there JavaScript
errors?
bob