java - Method called when WebPage is closed in Wicket? -
I am trying to understand what happens when a page stops in the wicket, I am able to check it Want to be a user running a long batch load so that they can not open another instance of application to run another batch job. I was going to set up a boolean in the session, and after that the page is closed by the user then it has to be changed. I was hunting something and nothing went out. Only the methods I thought to override:
onDetach () and onRemove () but none of them seemed to work.
Secure on Zero () {System.out.println (called "Datach () inside"); Super.onDetach (); }
seems to work, except for this method the page is called twice on the render
All the components, requestcakes, all the different () methods are used every time that the wicket decides to fix / finish the wicket. In most cases it means that the rendering is finished and the response is ready to be sent back to the browser. The main idea of dissection is to separate anything that does not need to remain in memory.
There is no definition on the call, just separate once. It can be called multiple times as per requirement.
Comments
Post a Comment