Thanks to Nick Westgate and Korben Zhang.I know the mistake where I make. I confused the Action Event and Component Event.
Thank you very much. 2007/7/18, Nick Westgate <[EMAIL PROTECTED]>:
Your "Summ" component is a Submit, which does not send an "Action" event. This is not well documented - perhaps only in the reference for Submit: http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html You can also check the source for Submit to see the event is "Selected". So your handler for the event from Summ should be: void OnSelectedFromSumm() { ... Cheers, Nick. С˾ wrote: > hi: > > The method onActionFrom[componentId] doesnot work in my application . > I use OnEvent annotation does not work too.When i click the submit > button ,The method onActionFromSumm is not invoked. but the method > onSuccess(),setupRender(),onActivate(),pageLoaded() all work well. I > can not find the mistake where I make. anybody can help me?? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- 得与失都是生活
