Re: Tapestry 5 and Event component.

2009-06-27 Thread ningdh
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

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
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

Re: Tapestry 5 and Event component.

2009-06-25 Thread ningdh
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

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
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

Re: Tapestry 5 and Event component.

2009-06-25 Thread ningdh
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. >

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
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

Re: Tapestry 5 and Event component.

2009-06-25 Thread Thiago H. de Paula Figueiredo
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

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
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

Re: Tapestry 5 and Event component.

2009-06-24 Thread Howard Lewis Ship
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