You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by Bob Schellink <sa...@gmail.com> on 2010/04/12 15:07:28 UTC

Click Calendar 1.2.0-RC1 build available

Hi all,

Click Calendar 1.2.0-RC1 build is available here[1]. This release should be compatible with Click 
2.2.0-RC1. Please report any issues you find.

kind regards

bob

[1]: http://click-calendar.googlecode.com/files/click-calendar-1.2.0-RC1.jar

Re: Click Calendar 1.2.0-RC1 build available

Posted by Bob Schellink <sa...@gmail.com>.
Hi,

On 13/04/2010 00:19, easydoor wrote:
>
> new JsImport("/click/jscalendar/calendar-
>
> the jscalendar folder doesn't exist, it is calendar ...
> perhaps this error is due to this call ?
>


'/click/calendar' contains the resources for the DateField control shipped with Click extras. This 
library is based on the Prototype JavaScript library.

'/click/jscalendar' is used by the Click Calendar module which is based on the JSCalendar javascript 
library. So the import is correct.

kind regards

bob

Re: Click Calendar 1.2.0-RC1 build available

Posted by easydoor <ch...@valdoise.fr>.
Bob Schellink <sabob1 <at> gmail.com> writes:

> 
> Hi all,
> 
> Click Calendar 1.2.0-RC1 build is available here[1]. This release should be
compatible with Click 
> 2.2.0-RC1. Please report any issues you find.
> 
> kind regards
> 
> bob
> 
> [1]: http://click-calendar.googlecode.com/files/click-calendar-1.2.0-RC1.jar
> 
> 
Jar integrated, but when i click on the calendar icon, 
there's no calendar display

In the CalendarField.class, you call in the getHeadElements :

new JsImport("/click/jscalendar/calendar-

the jscalendar folder doesn't exist, it is calendar ... 
perhaps this error is due to this call ?



Re: Click Calendar 1.2.0-RC1 build available

Posted by Bob Schellink <sa...@gmail.com>.
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
>>
>
>


Re: Click Calendar 1.2.0-RC1 build available

Posted by Bob Schellink <sa...@gmail.com>.
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
>


Re: Click Calendar 1.2.0-RC1 build available

Posted by Bob Schellink <sa...@gmail.com>.
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

Re: Click Calendar 1.2.0-RC1 build available

Posted by easydoor <ch...@valdoise.fr>.
Bob Schellink <sabob1 <at> gmail.com> writes:

> 
> Hi all,
> 
> Click Calendar 1.2.0-RC1 build is available here[1]. This release should be
compatible with Click 
> 2.2.0-RC1. Please report any issues you find.
> 
> kind regards
> 
> bob
> 
> [1]: http://click-calendar.googlecode.com/files/click-calendar-1.2.0-RC1.jar
> 
> 
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 ...