You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Phillip Rhodes <sp...@rhoderunner.com> on 2009/01/14 01:13:08 UTC
Open popup on form submit?
Hi,
Is it possible to do a form submit and display a popup?
I want it to be on form submit so that the form data is saved since I
need to reload it when the popup is closed. Just having a anchor that
generates the popup causes users to lose data entry.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Open popup on form submit?
Posted by sghavoc <sg...@yahoo.com>.
Hi,
I had the same problem, and after some trial and error I managed to make a
SubmitPageLink, which, in addition to the PageLink class, submits the form.
The way you save your data remains up to you. For example, I call a save
function in the getPage method, right before i put a
setResponsePage(popupPage).
If you're still interested, contact me by e-mail. Who knows, maybe it will
work for you.
If you've solved the problem, please give me an example of how you've done
it, maybe it's better and I'll replace mine
rhodebump wrote:
>
> Hi,
>
> Is it possible to do a form submit and display a popup?
>
> I want it to be on form submit so that the form data is saved since I
> need to reload it when the popup is closed. Just having a anchor that
> generates the popup causes users to lose data entry.
>
>
> Thanks.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Open-popup-on-form-submit--tp21447521p21702558.html
Sent from the Wicket - User 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