Submitting multiple forms with one button

2012-05-03 Thread bjurko
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Submitting multiple forms with one button

2012-05-03 Thread Andrea Del Bene

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-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