You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joshua Jackson <jo...@gmail.com> on 2007/09/04 06:47:20 UTC
T5: Event Handler Method Convention Names
Dear all,
I've tried what is written from here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html
regarding method convention names event handler.
But it seems that it only worked for ActionLink component but not Submit.
Is it true? Do we have to use OnEvent annotation for Submit component?
Thanks in advance
--
It's not just about coding, it's a matter of fulfilling your core being
YM!: thejavafreak
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Event Handler Method Convention Names
Posted by Nick Westgate <ni...@key-planning.co.jp>.
Yeah, I think it's only mentioned in the component docs for Submit.
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
Cheers,
Nick.
Joshua Jackson wrote:
> Thanks Nick
>
> It works now. I was confused since I could not find this in the documentation.
>
> Cheers, :)
>
> On 9/4/07, Nick Westgate <ni...@key-planning.co.jp> wrote:
>> The Submit component's event notification is "Selected".
>> So you can use:
>>
>> void onSelected() // or onSelectedFromFormName
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Event Handler Method Convention Names
Posted by Joshua Jackson <jo...@gmail.com>.
Thanks Nick
It works now. I was confused since I could not find this in the documentation.
Cheers, :)
On 9/4/07, Nick Westgate <ni...@key-planning.co.jp> wrote:
> The Submit component's event notification is "Selected".
> So you can use:
>
> void onSelected() // or onSelectedFromFormName
--
It's not just about coding, it's a matter of fulfilling your core being
YM!: thejavafreak
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Event Handler Method Convention Names
Posted by Nick Westgate <ni...@key-planning.co.jp>.
The Submit component's event notification is "Selected".
So you can use:
void onSelected() // or onSelectedFromFormName
Cheers,
Nick.
Joshua Jackson wrote:
> Dear all,
>
> I've tried what is written from here:
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html
> regarding method convention names event handler.
>
> But it seems that it only worked for ActionLink component but not Submit.
>
> Is it true? Do we have to use OnEvent annotation for Submit component?
>
> Thanks in advance
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org