Re: determine which form was submitted
Wouldn't it be enough to and onSubmit() {...} for each form and then you will know which one was submited? Ernesto On Wed, Feb 25, 2009 at 12:33 AM, Alexander Lohse a...@humantouch.de wrote: Hi, I have two forms on one page and need to toggle visibility of a container depending on which form was submitted. Is there a way to I find out which form was posted? Thank you in advance or any help, Alex __ A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away. (Antoine de Saint Exupéry) . Alexander Lohse • Entwicklungsleitung Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: determine which form was submitted
are these embedded forms? -igor On Tue, Feb 24, 2009 at 3:33 PM, Alexander Lohse a...@humantouch.de wrote: Hi, I have two forms on one page and need to toggle visibility of a container depending on which form was submitted. Is there a way to I find out which form was posted? Thank you in advance or any help, Alex __ A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away. (Antoine de Saint Exupéry) . Alexander Lohse • Entwicklungsleitung Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: determine which form was submitted
Hi Ernesto, not really, but you pointed me in right way: I have two forms in my markup, which are shown and hidden via javascript. So I need to know which form was posted to keep it visible. onSubmit was not sufficient, as I need to know which form was submitted, wether the input is valid or not. But overriding onValidate did the trick! Thanks, Alex Am 25.02.2009 um 09:49 schrieb Ernesto Reinaldo Barreiro: Wouldn't it be enough to and onSubmit() {...} for each form and then you will know which one was submited? Ernesto On Wed, Feb 25, 2009 at 12:33 AM, Alexander Lohse a...@humantouch.de wrote: Hi, I have two forms on one page and need to toggle visibility of a container depending on which form was submitted. Is there a way to I find out which form was posted? Thank you in advance or any help, Alex __ A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away. (Antoine de Saint Exupéry) . Alexander Lohse • Entwicklungsleitung Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org __ In theory, there is no difference between theory and practice. But, in practice, there is. (Jan L. A. van de Snepscheut) . Alexander Lohse • Entwicklungsleitung Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
determine which form was submitted
Hi, I have two forms on one page and need to toggle visibility of a container depending on which form was submitted. Is there a way to I find out which form was posted? Thank you in advance or any help, Alex __ A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away. (Antoine de Saint Exupéry) . Alexander Lohse • Entwicklungsleitung Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org