Re: How to clear PageMap in Wicket 1.5?

2012-01-19 Thread rebecca
hi dear wicket authors, I must say that the functionallity Matt is describing is a very important feature. We use Matt's hack in all our wicket applications using wicket 1.4. Please (please please) add this as an official feature to 1.5. thanks Rebecca -- View this message in context: http://ap

Re: How to clear PageMap in Wicket 1.5?

2011-11-14 Thread Matthias Keller
Hi Martin Sorry for the delay, I was busy with other things recently. Of course you're right, that clearing all pages, including the NextPage isn't a smart thing and I don't wanna do that anyway. But what I need is away to redirect to a new (non-bookmarkable!) NextPage while clearing all other

Re: How to clear PageMap in Wicket 1.5?

2011-11-03 Thread Martin Grigorov
Hi Matthias, On Thu, Nov 3, 2011 at 9:30 AM, Matthias Keller wrote: > Hi Martin > > I see this is getting in the same direction as it was with Wicket 1.4 - it > just doesn't work as expected. > The method you propose results in the next page shown as expected and going > back is not possible anym

Re: How to clear PageMap in Wicket 1.5?

2011-11-03 Thread Matthias Keller
Hi Martin I see this is getting in the same direction as it was with Wicket 1.4 - it just doesn't work as expected. The method you propose results in the next page shown as expected and going back is not possible anymore. But so is clicking on anything on the next page then - those links seem

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Martin Grigorov
On Wed, Nov 2, 2011 at 2:09 PM, Matthias Keller wrote: > Hi Martin > > Thanks for the quick reply. > The fix doesn't work for me though, I can still go back and press reload or > do anything I like. > If I use session.replaceSession() it works as expected but as a side effect > also changes the JS

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Matthias Keller
Hi Martin Thanks for the quick reply. The fix doesn't work for me though, I can still go back and press reload or do anything I like. If I use session.replaceSession() it works as expected but as a side effect also changes the JSESSIONID which usually isn't what you want... I'm using it like

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Martin Grigorov
I implemented the feature in the ticket Matt created. Please try it. On Wed, Nov 2, 2011 at 11:35 AM, Andrea Del Bene wrote: > Have you tried session.invalidate()? If you have an AuthenticatedWebSession > you can also use signOut() >> >> Hi >> >> Upon logging out we need to keep the current user'

Re: How to clear PageMap in Wicket 1.5?

2011-11-02 Thread Andrea Del Bene
Have you tried session.invalidate()? If you have an AuthenticatedWebSession you can also use signOut() Hi Upon logging out we need to keep the current user's session to still display some information but we want to remove all previous pages from the PageMap (or however that is solved in Wicket

How to clear PageMap in Wicket 1.5?

2011-11-01 Thread Matthias Keller
Hi Upon logging out we need to keep the current user's session to still display some information but we want to remove all previous pages from the PageMap (or however that is solved in Wicket 1.5 now) so that he cannot go back and continue on these pages. In Wicket 1.4 we found a way to achiev