Has anyone implemented the concept of a dirty flag on an form in Struts?
For example if the form is changed then a flag is set and if the user wants
to navigate away from that form without "saving" the info changed then they
will get a prompt to save.

Most of this is JavaScript but each element on the form needs to have some
onChange code.  Is there an easy way to do this by iterating over a whole
form?

Ideas?

Kyle Robinson
Systems Consultant
Pangaea Systems Inc.
(250) 360-0111

Reply via email to