struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert" <>
Subject RE: Navigation (save first)
Date Mon, 25 Feb 2002 22:30:04 GMT
Almost sounds like you would want to capture this using JavaScript and
depending on if the user says 'yes' to the save, then submit the form,
otherwise go on to their menu-page.

The flip side might be to have all requests go to one action, which can
then determine if the form data has changed, send a response back to the
client saying 'save or no save', etc. 

Might be easier at the client and less trips to the server.

-----Original Message-----
From: Struts Newsgroup [] 
Sent: Monday, February 25, 2002 4:25 PM
Subject: Navigation (save first)

Subject: Navigation (save first)
From: Vic Cekvenich <>
Let's say a user enters some data on a form.
And then click on a menu to go to some other from.

I want to ... interrupt this and ask "Do you want to save?" If yes, than

call save method on a formBean, and then go to the new page (unless 
What is a good way?

tia, Vic
(thanks in advance)

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message