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: [email protected] > For additional commands, e-mail: [email protected] > > > -- 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: [email protected] For additional commands, e-mail: [email protected]
