Thanks, that clarifies things!

-- 
Jens Reufsteck
Marketing & Online Director

Staufenbiel Institut GmbH
Events & Recruiting Solutions

Wildunger Straße 6, 60487 Frankfurt am Main
www.staufenbiel.de www.mba-master.de www.absolventenkongress.de

Tel.:  +49 (0)69 25537-140
Fax:   +49 (0)69 25537-2140

Geschäftsführer: Judith Oppitz, Birgit Giesen, Graham Storey, Martin Halliday
Amtsgericht Köln HRB 9301

Internet communications are not secure and therefore Staufenbiel Institut GmbH 
does not accept legal responsibility
for the contents of this message. Any views or opinions presented are solely 
those of the author and do not
necessarily represent those of Staufenbiel Institut GmbH unless otherwise 
specifically stated.
> -----Original Message-----
> From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> Sent: Monday, August 30, 2010 3:06 PM
> To: Tapestry users
> Subject: Re: Ajax Change event with T5.1.0.5
> 
> On Mon, 30 Aug 2010 09:38:26 -0300, Jens Reufsteck
> <jens.reufst...@staufenbiel.de> wrote:
> 
> > Thanks - but then, how do I know, which element actually triggered the
> > submit? I need to react differently to a click on the submit button and
> > to a submit coming from clicks on a listbox.
> 
> You could use a Hidden field for that. Just set its value before
> submitting.
> 
> > I can only capture events with a general onSubmit handler. A
> > onSubmitFromButton doesn't work, whilst onSelectedFromButton works. I
> > observed this behaviour only for Ajax requests. For normal requests the
> > onSubmitFromButton works.
> 
> The Submit component triggers the "selected" event. "submit" is triggered
> by Form.
> 
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to