Thank you all for the support, I highly appreciate it! Regards, Martin
-----Original Message----- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Monday, March 01, 2010 5:31 PM To: users@wicket.apache.org Subject: Re: How can i know when a users redirects to other page Just an idea... Use a component instantiation listener and "delete" the file, if it exists, whenever any other page is created. Regards, Ernesto On Mon, Mar 1, 2010 at 4:09 PM, Martin Asenov <mase...@velti.com> wrote: > The use case is that I generate a file located in a temp folder that > appears on page under a download link. I want to delete the file when the > user goes in another page. > > Regards, > Martin > > -----Original Message----- > From: Riyad Kalla [mailto:rka...@gmail.com] > Sent: Monday, March 01, 2010 4:31 PM > To: users@wicket.apache.org > Subject: Re: How can i know when a users redirects to other page > > Martin can you explain your use-case, namely what is the importance of > seeing which page a user is no-longer on? > > Seems like a super-easy way to do this would be to extend a base-page that > updates a Session metadata element with the current page the user is on and > allow a listener to be notified when this changes? > > But depending on who you want listening to this I suppose you could do away > with the whole listener/metadata thing and just have your basepage call > some > trigger method onRender that would do some work? > > -R > > On Mon, Mar 1, 2010 at 5:31 AM, Martin Asenov <mase...@velti.com> wrote: > > > Hello, everyone! > > > > I was wondering if there's a way to know for instance if the user is on a > > page is there an event fired that indicates that the user is no longer on > > this page. I saw the method 'onRedirect()', but it's fired when the user > > comes to the page. I want to know when the user changes the page. > > > > Thanks in advance! > > > > Regards, > > Martin > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org