Am 03.05.2013 16:28, schrieb Bertrand Guay-Paquet:
Best solution I can imagine would be if there would be a callback or
overridable method which is called when the user navigates to a page
and another one which is called when the user leaves a page. Those
methods would be great to prepare and cleanup models. Are there such
methods?
No method will reliably inform you that a user left a page. His WIFI
could die, the power could go out, etc. You must clear all expired
temporary data after some time. If your data is stored in the session,
that's done automatically for you.
Thanks for your answer.
I understand, that there can be situations when a user actually doesn't
leave a page the usual way, but if there were a method as described, it
could at least be helpful for all the preceding page-leave-events under
normal conditions.
At the moment I think I could handle the problem of unsaved data by
using a Stateful Session Bean.
Best Regards,
Christian
Mit freundlichen Grüßen, /// Kind Regards,
Christian Reiter
--
Christian Reiter ||| c.rei...@gmx.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org