Nick,

there is no difference whether your event method gets triggered upon clicking a link or a button. Except that you can pass parameters like an index when using actionlink. And that's exactly what you want.

Uli

Nick Westgate schrieb:
This is not useful in a form.
(Francois did not quote his original email which describes his use case.)

Cheers,
Nick.


Ulrich Stärk wrote:
Use an actionlink and it's context parameter. See here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html

Uli

Nick Westgate schrieb:
Hi Francois.

I had a similar situation but was able to use multiple forms,
so each had a different context used for identification.

T5 needs a LinkSubmit component like that in previous versions
which uses a hidden field and submits the form with Javascript.
I suppose that's a hint if you have time to write one. ;-)

Cheers,
Nick.


Francois Armand wrote:
Francois Armand wrote:
Hello,

I would like to know how I can retrieve the ID of the component which triggered an even when I'm in an event handler method ?

[....]
I'm still interested by an hint on this topic...



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to