if you have multiple linksubmit components you can distinguish them
by adding onSelectedFromSubmit1() or onSelectedFromSubmit2() 
action handler.

the linksubmit component does not support a context parameter out of
the box. if you really need it you have to create your own component.
all you need is the code from the linksubmit component + the part of 
submit that stores an action into the form that resolves the context 
again:

 formSupport.store(this, new ProcessSubmission(name));

g,
kris



Von:    "Pierce T. Wetter III" <pie...@paceap.com>
An:     "Tapestry users" <users@tapestry.apache.org>, Michael Gentry 
<mgen...@masslight.net>
Datum:  26.03.2010 17:24
Betreff:        Re: LinkSubmit with Context?




On Mar 26, 2010, at 9:06 AM, Michael Gentry wrote:

> Maybe try putting your context on the t:form instead of the
> t:linksubmit and see if that works.  I've never tried it, but seems
> like it should work ...

  Well, what I really want is to be able to tell which of several buttons 
in the same form that send the same event got clicked, so I want an event 
handler to be called with arguments...

 Pierce


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


Reply via email to