I've been looking at this recently. Their appear to be two classes of solutions:
1) Client side logic in Javascript. All links, menu options etc. execute some javascript which can decide not to change the current page, but ask/force the user to save first. 2) Server side logic. All navigation etc. is done through the DispatchAction for the current page. When the user navigates off the current page the Action has an opportunity to prevent that, by forwarding back to the inout page. The server based solution seems preferable - otherwise there is a bunch of control logic going into the view component. HTH, Paul > -----Original Message----- > From: koen boutsen [mailto:[EMAIL PROTECTED] > Sent: 25 November 2003 14:09 > To: [EMAIL PROTECTED] > Subject: save form fields > > > hi > > In my form, a user enters data for an organisation. Via a > save button, these data are saved in the database. > My problem is : when the user clicks on a link in the main > menu of my application before hitting the save button, he > looses the not-saved information and goes to another page. > Does anyone know how I can get a pop-up message that alerts > my user if he pushes a button or link outside the form before > he has saved his information ? > > Thanks > > Koen > > > > ____________________________________________________________ > Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! > http://login.mail.lycos.com/r/referral?aid=27005 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]