I see, Nick. Things are much simpler with ActionLink because it isn't a form component.
Thanks a lot! Alex -----Original Message----- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 10:44 To: Tapestry users Subject: Re: [T5] Submit control event handler cannot redirect? The natural flow of form submission is to update internal state with posted values from the form and then render the result page. Whether that is the same page (which is often the case) or not is usually decided at the end of the form processing. So the select events simply notify us of which submit was selected (Save? Cancel?) and perhaps alter the final outcome depending on validation etc. (Again, IMHO. ;-) Cheers, Nick. Kolesnikov, Alexander GNI wrote: > Yes, I understand that it is done like this, but I am actually trying > to discuss the consistence of the framework design. Is there any > specific reason that 'select' event handler works differently from any > other event handler? If yes, then why Submit component generates > exactly 'select' event? What exactly we are selecting when pressing a > Submit button? Why its event is not 'action'? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ------------------------------------------------------------------------------ CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright 2007 CIGNA ============================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]