Re: [Wicket-user] popup on submit (but after server side work) & go to home page

2007-05-12 Thread Eelco Hillenius
Popups without javascript can only be done using alerts, so just add a header contribution displaying the alert. Eelco On 5/12/07, howzat <[EMAIL PROTECTED]> wrote: > > Wicket 1.2.6: > When the user clicks the submit button on a form, I would like to first > perform some logic on the server side

Re: [Wicket-user] popup on submit (but after server side work) & go to home page

2007-05-12 Thread howzat
Thanks Igor. We're not ready for Ajax yet. What if I don't mind having to reload the original page (that contains the form) and then show the popup straight-away? ie once the page is submitted, reload the page and show the modal popup as soon as the page is loaded? (of course, the popup is not w

Re: [Wicket-user] popup on submit (but after server side work) & go to home page

2007-05-11 Thread Igor Vaynberg
what you would have to do is submit the form via ajax, then in onsubmit add some javascript to the ajax request target that shows the popup. -igor On 5/11/07, howzat <[EMAIL PROTECTED]> wrote: Wicket 1.2.6: When the user clicks the submit button on a form, I would like to first perform some l

[Wicket-user] popup on submit (but after server side work) & go to home page

2007-05-11 Thread howzat
Wicket 1.2.6: When the user clicks the submit button on a form, I would like to first perform some logic on the server side (eg persist some stuff the user has entered), and if this server side logic completes successfully I would like to display a "success confirmed, hit ok to continue" modal po