You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@click.apache.org by Axel Morgner <ax...@morgner.de> on 2010/06/17 23:53:30 UTC
Errors in ClickClick Demos
Hi,
does anyone know the status of the ClickClick project?
Apperantly, there's low activity on http://code.google.com/p/click-jquery/.
Some demo examples are not working correctly
(http://clickclick-jquery.appspot.com/ajax/form-demo.htm,
http://clickclick-jquery.appspot.com/ajax/validation/jquery-validation1-demo.htm).
Regards
--
Axel Morgner
Software Developer, GUI & UX Designer, Consultant, Project Manager
Java, ECM, CMS, Open Source, LAMP, Oracle, NoSQL, Mobile OS
Berkersheimer Bahnstr. 21 mail axel@morgner.de
60435 Frankfurt am Main phone +49(0)69/26496757
Deutschland / Germany fax +49(0)69/26496756
Re: Errors in ClickClick Demos
Posted by georgex <ge...@yahoo.com>.
Axel Morgner wrote:
>
> I'd like to add Ajax features to my Click-based project. So should I
> just wait for the jquery things to appear in click-jquery project, or
> wait for Click 2.3.0?
>
As I see it, the Ajax functionality is already to a great degree moved to
Click - it just needs some documentation and some more examples, so you
don't have to wait for Click 2.3.0 final release to be able to use Ajax in
you project (from my experience so far, the Click trunk code was very stable
compared to other frameworks).
Click-jQuery shouldn't also take too much to appear since all the code it's
already in ClickClick - it just needs some changes to use this new Click
API.
George.
--
View this message in context: http://click.1134972.n2.nabble.com/Errors-in-ClickClick-Demos-tp5193124p5198692.html
Sent from the click-user mailing list archive at Nabble.com.
Re: Errors in ClickClick Demos
Posted by Axel Morgner <ax...@morgner.de>.
Ok, seems I was a little bit confused. :-)
I'd like to add Ajax features to my Click-based project. So should I
just wait for the jquery things to appear in click-jquery project, or
wait for Click 2.3.0?
Axel
Am 18.06.2010 08:48, schrieb Adrian A.:
>> Apperantly, there's low activity on
>> http://code.google.com/p/click-jquery/.
> The project was registered just a few days ago :).
>
> Adrian.
>
>
--
Axel Morgner
Software Developer, GUI & UX Designer, Consultant, Project Manager
Java, ECM, CMS, Open Source, LAMP, Oracle, NoSQL, Mobile OS
Berkersheimer Bahnstr. 21 mail axel@morgner.de
60435 Frankfurt am Main phone +49(0)69/26496757
Deutschland / Germany fax +49(0)69/26496756
Re: Errors in ClickClick Demos
Posted by "Adrian A." <a....@gmail.com>.
> Apperantly, there's low activity on http://code.google.com/p/click-jquery/.
The project was registered just a few days ago :).
Adrian.
Re: Errors in ClickClick Demos
Posted by Bob Schellink <sa...@gmail.com>.
Its difficult to say with open source as people only work whenever they get a chance or want to
scratch their itch. The next release will only be a Milestone not a final so there is still some
ways to go.
Bob
On 4/07/2010 02:29, Andrei wrote:
> When is 2.3 release?
>
> On Sat, Jul 3, 2010 at 12:28 PM, Andrei <gmlvsk@gmail.com
> <ma...@gmail.com>> wrote:
>
> Looks good now
>
>
> On Sat, Jul 3, 2010 at 12:20 PM, Bob Schellink <sabob1@gmail.com
> <ma...@gmail.com>> wrote:
>
> Can you refresh your page. I just uploaded a new version.
>
> Kind regards
>
> Bob
>
>
>
Re: Errors in ClickClick Demos
Posted by Andrei <gm...@gmail.com>.
When is 2.3 release?
On Sat, Jul 3, 2010 at 12:28 PM, Andrei <gm...@gmail.com> wrote:
> Looks good now
>
>
> On Sat, Jul 3, 2010 at 12:20 PM, Bob Schellink <sa...@gmail.com> wrote:
>
>> Can you refresh your page. I just uploaded a new version.
>>
>> Kind regards
>>
>> Bob
>>
>>
>
Re: Errors in ClickClick Demos
Posted by Andrei <gm...@gmail.com>.
Looks good now
On Sat, Jul 3, 2010 at 12:20 PM, Bob Schellink <sa...@gmail.com> wrote:
> Can you refresh your page. I just uploaded a new version.
>
> Kind regards
>
> Bob
>
>
Re: Errors in ClickClick Demos
Posted by Bob Schellink <sa...@gmail.com>.
Can you refresh your page. I just uploaded a new version.
Kind regards
Bob
Re: Errors in ClickClick Demos
Posted by Andrei <gm...@gmail.com>.
Strange, now it works ok
On Sat, Jul 3, 2010 at 12:17 PM, Andrei <gm...@gmail.com> wrote:
> when i go to new site i get following exception
>
> Class org.apache.click.service.TemplateException
> Message org.apache.velocity.exception.ResourceNotFoundException: Unable to
> find resource '/click-jquery/example/template/desktopmenu.template.js'
>
> On Sat, Jul 3, 2010 at 2:09 AM, Bob Schellink <sa...@gmail.com> wrote:
>
>> I've updated both ClickClick[1] and Click-jQuery[2] examples. Both example
>> are dependent on the
>> upcoming Click 2.3.0 Milestone 1. Note that I've moved Click-jQuery to a
>> new GAE domain:
>>
>> from: http://clickclick-jquery.appspot.com
>> to: http://click-jquery.appspot.com
>>
>> Example should work on most browsers including IE6.
>>
>> Kind regards
>>
>> Bob
>>
>> PS: Both examples are run in development mode until the GAE automapping
>> issue is resolved.
>>
>> [1]: http://clickclick-examples.appspot.com
>> [2]: http://click-jquery.appspot.com
>>
>>
>> On 30/06/2010 00:16, Bob Schellink wrote:
>> > On 29/06/2010 23:52, Axel Morgner wrote:
>> >> Yes, that's exactly what I meant.
>> >>
>> >> When I switch the browser language from DE to EN, the error is gone.
>> >
>> >
>> > Thanks, I've checked in the fix. Couple of the click-page.properties had
>> a specified,
>> > including click-page_de.properties.
>> >
>> > Kind regards
>> >
>> > Bob
>> >
>>
>>
>
Re: Errors in ClickClick Demos
Posted by Andrei <gm...@gmail.com>.
when i go to new site i get following exception
Class org.apache.click.service.TemplateException
Message org.apache.velocity.exception.ResourceNotFoundException: Unable to
find resource '/click-jquery/example/template/desktopmenu.template.js'
On Sat, Jul 3, 2010 at 2:09 AM, Bob Schellink <sa...@gmail.com> wrote:
> I've updated both ClickClick[1] and Click-jQuery[2] examples. Both example
> are dependent on the
> upcoming Click 2.3.0 Milestone 1. Note that I've moved Click-jQuery to a
> new GAE domain:
>
> from: http://clickclick-jquery.appspot.com
> to: http://click-jquery.appspot.com
>
> Example should work on most browsers including IE6.
>
> Kind regards
>
> Bob
>
> PS: Both examples are run in development mode until the GAE automapping
> issue is resolved.
>
> [1]: http://clickclick-examples.appspot.com
> [2]: http://click-jquery.appspot.com
>
>
> On 30/06/2010 00:16, Bob Schellink wrote:
> > On 29/06/2010 23:52, Axel Morgner wrote:
> >> Yes, that's exactly what I meant.
> >>
> >> When I switch the browser language from DE to EN, the error is gone.
> >
> >
> > Thanks, I've checked in the fix. Couple of the click-page.properties had
> a specified,
> > including click-page_de.properties.
> >
> > Kind regards
> >
> > Bob
> >
>
>
Re: Errors in ClickClick Demos
Posted by Bob Schellink <sa...@gmail.com>.
I've updated both ClickClick[1] and Click-jQuery[2] examples. Both example are dependent on the
upcoming Click 2.3.0 Milestone 1. Note that I've moved Click-jQuery to a new GAE domain:
from: http://clickclick-jquery.appspot.com
to: http://click-jquery.appspot.com
Example should work on most browsers including IE6.
Kind regards
Bob
PS: Both examples are run in development mode until the GAE automapping issue is resolved.
[1]: http://clickclick-examples.appspot.com
[2]: http://click-jquery.appspot.com
On 30/06/2010 00:16, Bob Schellink wrote:
> On 29/06/2010 23:52, Axel Morgner wrote:
>> Yes, that's exactly what I meant.
>>
>> When I switch the browser language from DE to EN, the error is gone.
>
>
> Thanks, I've checked in the fix. Couple of the click-page.properties had a specified,
> including click-page_de.properties.
>
> Kind regards
>
> Bob
>
Re: Errors in ClickClick Demos
Posted by Bob Schellink <sa...@gmail.com>.
On 29/06/2010 23:52, Axel Morgner wrote:
> Yes, that's exactly what I meant.
>
> When I switch the browser language from DE to EN, the error is gone.
Thanks, I've checked in the fix. Couple of the click-page.properties had a specified,
including click-page_de.properties.
Kind regards
Bob
Re: Errors in ClickClick Demos
Posted by Axel Morgner <ax...@morgner.de>.
Yes, that's exactly what I meant.
When I switch the browser language from DE to EN, the error is gone.
Am 29.06.2010 11:15, schrieb Bob Schellink:
> Ah, by changing the language on my browser I see an exception. Just to confirm this is the same
> issue, can you check under Firebug the "Net" panel -> POST -> XML. Here is it what I see:
>
> XML Parsing Error: undefined entity Location:
> moz-nullprincipal:{c1315d97-8daa-41c6-af17-51867b9e5238} Line Number 30, Column 71:
>
> ...</label> </td>
>
> ' ' is not valid in XML. I'll track down where this character is rendered from Click. It should
> be ' '
>
> Kind regards
>
> Bob
>
> On 29/06/2010 18:39, Axel Morgner wrote:
>> Hi Bob,
>>
>> thanks for your reply.
>>> The link above works for me using Firefox 3.6.4 so I assume you mean
>>> it doesn't work locally?
>> Don't you get the Javascript alert box after submitting the form? I get
>> it locally and with the hosted demos, regardless of the browser (tested
>> with IE 6-9pre, FF 3.5.10+3.6.6, Safari 5.0, Chrome 5+6dev, Opera
>> 10.10+10.54).
>>> If you aren't using it yet, I suggest you install Firebug when working
>>> with Ajax. It is a great tool to
>>> provide feedback when there are errors. You might also want to test
>>> using Click trunk and the
>>> Click-jQuery[1] code.
>> Yes, I did some debugging, and the form seems to work (the taconite code
>> contains "Successfully submitted Form")|.| But in postSubmit() the
>> onError() function is called, which leads to the Javascript alert box.
>>
>> I'll test my code locally against Click trunk however.
>>
>> Best regards
>>
>> Axel
--
Axel Morgner
Software Engineering / GUI & UX Design / Project Management
mail axel@morgner.de Berkersheimer Bahnstr. 21
phone +49(0)69/26496757 60435 Frankfurt am Main
fax +49(0)69/26496756 Deutschland / Germany
Re: Errors in ClickClick Demos
Posted by Bob Schellink <sa...@gmail.com>.
Ah, by changing the language on my browser I see an exception. Just to confirm this is the same
issue, can you check under Firebug the "Net" panel -> POST -> XML. Here is it what I see:
XML Parsing Error: undefined entity Location:
moz-nullprincipal:{c1315d97-8daa-41c6-af17-51867b9e5238} Line Number 30, Column 71:
...</label> </td>
' ' is not valid in XML. I'll track down where this character is rendered from Click. It should
be ' '
Kind regards
Bob
On 29/06/2010 18:39, Axel Morgner wrote:
> Hi Bob,
>
> thanks for your reply.
>> The link above works for me using Firefox 3.6.4 so I assume you mean
>> it doesn't work locally?
> Don't you get the Javascript alert box after submitting the form? I get
> it locally and with the hosted demos, regardless of the browser (tested
> with IE 6-9pre, FF 3.5.10+3.6.6, Safari 5.0, Chrome 5+6dev, Opera
> 10.10+10.54).
>> If you aren't using it yet, I suggest you install Firebug when working
>> with Ajax. It is a great tool to
>> provide feedback when there are errors. You might also want to test
>> using Click trunk and the
>> Click-jQuery[1] code.
> Yes, I did some debugging, and the form seems to work (the taconite code
> contains "Successfully submitted Form")|.| But in postSubmit() the
> onError() function is called, which leads to the Javascript alert box.
>
> I'll test my code locally against Click trunk however.
>
> Best regards
>
> Axel
Re: Errors in ClickClick Demos
Posted by Axel Morgner <ax...@morgner.de>.
Hi Bob,
thanks for your reply.
> The link above works for me using Firefox 3.6.4 so I assume you mean
> it doesn't work locally?
Don't you get the Javascript alert box after submitting the form? I get
it locally and with the hosted demos, regardless of the browser (tested
with IE 6-9pre, FF 3.5.10+3.6.6, Safari 5.0, Chrome 5+6dev, Opera
10.10+10.54).
> If you aren't using it yet, I suggest you install Firebug when working
> with Ajax. It is a great tool to
> provide feedback when there are errors. You might also want to test
> using Click trunk and the
> Click-jQuery[1] code.
Yes, I did some debugging, and the form seems to work (the taconite code
contains "Successfully submitted Form")|.| But in postSubmit() the
onError() function is called, which leads to the Javascript alert box.
I'll test my code locally against Click trunk however.
Best regards
Axel
Re: Errors in ClickClick Demos
Posted by Bob Schellink <sa...@gmail.com>.
Hi Axel,
On 29/06/2010 10:47, Axel Morgner wrote:
>
> Which changes are necessary to make the jquery forms from clickclick jquery-examples or click-jquery examples work again?
I've recently moved the jQuery code from ClickClick to Click-jQuery[1]. The code has also been
refactored to leverage Ajax behaviors, which is part of the upcoming Click 2.3.0 Milestone 1. You
can grab a copy of Click trunk from our CI server[2].
Please note that Ajax behaviors are currently under development and the API could change going forward.
> Right now, no form on the jquery examples pages is working (e.g. http://clickclick-jquery.appspot.com/ajax/form-demo.htm).
The link above works for me using Firefox 3.6.4 so I assume you mean it doesn't work locally? If you
aren't using it yet, I suggest you install Firebug when working with Ajax. It is a great tool to
provide feedback when there are errors. You might also want to test using Click trunk and the
Click-jQuery[1] code.
Kind regards
Bob
[1]: http://code.google.com/p/click-jquery
[2]: http://hudson.zones.apache.org/hudson/view/Click/job/Click/ws/
Re: Errors in ClickClick Demos
Posted by Axel Morgner <ax...@morgner.de>.
Which changes are necessary to make the jquery forms from clickclick jquery-examples or click-jquery examples work again?
Right now, no form on the jquery examples pages is working (e.g. http://clickclick-jquery.appspot.com/ajax/form-demo.htm).
A simple test stub:
FormTest.java:
==================
import org.apache.click.Page;
import org.apache.click.util.Bindable;
import org.apache.click.control.*;
import net.sf.clickclick.jquery.control.ajax.JQForm;
public class FormTest extends Page {
private static final long serialVersionUID = 1L;
@Bindable protected JQForm form = new JQForm("form");
public FormTest() {
form.add(new TextField("test"));
form.add(new Submit("submit"));
}
}
form-test.htm:
==================
$form
Submitting the form leads to a Javascript popup showing "Error occured!".
I'd really like to use jquery with Click, but without a working example, the start's a bit hard ... (and debugging too).
Best regards
Axel
Am 18.06.2010 02:39, schrieb Bob Schellink:
> Hi Axel,
>
> On 18/06/2010 07:53, Axel Morgner wrote:
>> does anyone know the status of the ClickClick project?
>
> It is still active but undergoing some changes to align with Click core. One of the main features of
> ClickClick was to provide Ajax support. Recently Ajax support was added to Click itself which means
> ClickClick will be reshuffled to align with core.
>
> Basically the jQuery support will be moved to the click-jquery project (hope to do this over the
> weekend)
>
>> Apperantly, there's low activity on http://code.google.com/p/click-jquery/.
>>
>> Some demo examples are not working correctly
>> (http://clickclick-jquery.appspot.com/ajax/form-demo.htm,
>> http://clickclick-jquery.appspot.com/ajax/validation/jquery-validation1-demo.htm).
>
> Nods, I accidentally changed the autobinding setting to default (default was added in Click 2.2.0)
> but haven't updated the examples to the latest version of Click itself.
>
> Kind regards
>
> Bob
>
Re: Errors in ClickClick Demos
Posted by Bob Schellink <sa...@gmail.com>.
Hi Axel,
On 18/06/2010 07:53, Axel Morgner wrote:
>
> does anyone know the status of the ClickClick project?
It is still active but undergoing some changes to align with Click core. One of the main features of
ClickClick was to provide Ajax support. Recently Ajax support was added to Click itself which means
ClickClick will be reshuffled to align with core.
Basically the jQuery support will be moved to the click-jquery project (hope to do this over the
weekend)
> Apperantly, there's low activity on http://code.google.com/p/click-jquery/.
>
> Some demo examples are not working correctly
> (http://clickclick-jquery.appspot.com/ajax/form-demo.htm,
> http://clickclick-jquery.appspot.com/ajax/validation/jquery-validation1-demo.htm).
Nods, I accidentally changed the autobinding setting to default (default was added in Click 2.2.0)
but haven't updated the examples to the latest version of Click itself.
Kind regards
Bob