Re: More than one submit button in one form.

2009-02-27 Thread Thiago H. de Paula Figueiredo
Em Fri, 27 Feb 2009 12:45:27 -0300, 孙立伟 escreveu: Yes, the onSelectedXXX works! Thank you. The annotaded way won't work. I've tried it. Maybe this is a bug. I am using Tapestry 5.0.18. The annotated does not work because it is wrong. You need to specify the event name (@OnEvent(value="selec

Re: More than one submit button in one form.

2009-02-27 Thread 孙立伟
Yes, the onSelectedXXX works! Thank you. The annotaded way won't work. I've tried it. Maybe this is a bug. I am using Tapestry 5.0.18. 2009/2/27 nille hammer : > Hi Dante, > the convention for naming of handle methods of submit events is > "onSelectedFrom". Rewrite your code as follows and it shu

Re: More than one submit button in one form.

2009-02-27 Thread nille hammer
Hi Dante, the convention for naming of handle methods of submit events is "onSelectedFrom". Rewrite your code as follows and it shuld work. The annotaded way should work too, although I have never used it myself. public class Start{ void onSelectedFromBtnA(){ // this should work } void onSelect