You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by bjurko <jb...@gmail.com> on 2012/05/03 13:35:37 UTC
Submitting multiple forms with one button
Sorry for this I know that this topic already been discused but I didn't find
a solution.
I need to submit two separate forms with one submit buttons.
Forms cannot be merged into one form also problem is wrap it to one outer
form
becasue it is lead to huge system rework. Before the customer had two submit
buttons for these
forms. But after some time he decide for only one button. Both buttons do
the same
action - search. Problem is that form in which the submit button is hidden
is not submitted
and therefor not validated.
thnx for your advices
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-multiple-forms-with-one-button-tp4605744.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Submitting multiple forms with one button
Posted by Andrea Del Bene <ad...@ciseonweb.it>.
Hi,
don't know if you can do it, but I think you should first investigate
how to do this with JavaScript. This blog seems interesting:
http://yogendrakrsingh.blogspot.it/2010/03/javascript-trick-submitting-multiple.html
> Sorry for this I know that this topic already been discused but I didn't find
> a solution.
> I need to submit two separate forms with one submit buttons.
>
> Forms cannot be merged into one form also problem is wrap it to one outer
> form
> becasue it is lead to huge system rework. Before the customer had two submit
> buttons for these
> forms. But after some time he decide for only one button. Both buttons do
> the same
> action - search. Problem is that form in which the submit button is hidden
> is not submitted
> and therefor not validated.
>
> thnx for your advices
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-multiple-forms-with-one-button-tp4605744.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org