You can take a look over the Form Porcessing at http://wickettraining.com/ten-things-every-wicket-programmer-should-know.html
I'm supprised that the free guide didn't include such an ilustration (or maybe I missed it). Check out also the Default Form Processing of the free Guide: http://wicket.apache.org/guide/guide/single.html#chapter11_1 On Wed, Jan 8, 2014 at 11:32 AM, Paul Bors <p...@bors.ws> wrote: > Well yes, that work in progress might be a mistake. > > Think of it as getting a lock on a db record for too long. Or worst, not > locking at all and then later updating the record. > You would override the state without knowing it changed since you last > read it. > > So, if you devise such work in progress you should also be concerned about > warning the user that some field's value has been changed by another > concurrent user that saved the same form while the first user was still > editing the page. > > What I'm more curious about is, how did you come up against this use-case > in the first place? > Why is it that your user edits a form for so long that the session times > out and its user input is lost? > > > On Wed, Jan 8, 2014 at 9:42 AM, gmparker2000 <greg.par...@brovada.com>wrote: > >> The idea would be to save the form data as work in progress in a separate >> storage area. If the user's session times out they would be directed to a >> page telling them that their session timed out which would give them the >> option to attempt to resume the work. >> >> I was able to bypass validation by setting a flag on the form. Since we >> use >> a layer of composite controls on top of the standard wicket controls I was >> able to tap into the form validation flag in each control to override >> required fields and validations as required. >> >> I understand why turning off the default form processing doesn't apply >> validations and therefore does not update models, but it would be nice to >> have a way to override this and just update models. >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/Auto-save-feature-tp4663517p4663549.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >