It seems that Button is not designed for ajax.
I wonder why you don't try block/zone?
DH
http://www.gaonline.com.cn/
- Original Message -
From: "b...@umd"
To:
Sent: Friday, June 26, 2009 2:48 AM
Subject: Re: Tapestry 5 and Event component.
>
> Ok, it s
Ok, it seems to come from the parameter "String value" in my onButtonClicked
statement. I removed it and the event is now handled. However it appears
that I am not allowed to return a JSONObject from the OnButtonClicked
method. May be is it not possible with this kind of component.
But perhaps yo
uld be the same.
DH
- Original Message -
From: "b...@umd"
To:
Sent: Friday, June 26, 2009 12:24 AM
Subject: Re: Tapestry 5 and Event component.
>
> Here is the component reference :
> http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core
What about removing the parameter 'value' of the method?
>
> BTW what does the parameter mean?
>
> DH
>
> - Original Message -
> From: "b...@umd"
> To:
> Sent: Thursday, June 25, 2009 11:11 PM
> Subject: Re: Tapestry 5 and Event compon
I don't have source of ck lib.
What about removing the parameter 'value' of the method?
BTW what does the parameter mean?
DH
- Original Message -
From: "b...@umd"
To:
Sent: Thursday, June 25, 2009 11:11 PM
Subject: Re: Tapestry 5 and Event component.
>
Actually I did. I first tried to use it with the OnEvent mixins, but the
problem was the same. Then by checking on the ck component reference, I
noticed that the component has already a parameter named "event".
That's why I removed the parameter "mixins".
I have just tried again with Try , and I
On Wed, Jun 24, 2009 at 5:26 PM, b...@umd wrote:
> gentoo.tml :
>
You haven't used the ck/OnEvent mixin in the button, so the event is not fired.
Try
--
Thiago
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
F
Thanks for your quick answer. I tried to rename this method "ButtonClicked"
instead, but it did not fix the problem : the request event is still not
handled.
Any other idea ?
Howard Lewis Ship wrote:
>
> I suspect Tapestry got confused because your method is both the naming
> convention ("onB
I suspect Tapestry got confused because your method is both the naming
convention ("onButtonClicked") and has @OnEvent ... and they are in
conflict. Rename the method to not start with "on".
On Wed, Jun 24, 2009 at 1:26 PM, b...@umd wrote:
>
> I am getting this error when clicking on my "searchb