Re: (Matej?) Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Matej Knopp
It should be fixed in svn already. https://issues.apache.org/jira/browse/WICKET-942 -Matej On 9/12/07, Justin Morgan (Logic Sector) <[EMAIL PROTECTED]> wrote: > Hi Matej, > > > i think matej did fix that today or is fixing it > > Any word on whether this bug is fixed? (see stack trace below) > >

(Matej?) Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Justin Morgan (Logic Sector)
Hi Matej, i think matej did fix that today or is fixing it Any word on whether this bug is fixed? (see stack trace below) Or should I file a JIRA issue if there's not one already? Many thanks, Justin On Sep 12, 2007, at 5:50 AM, Johan Compagner wrote: yes thats a know bug, i think matej d

Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Johan Compagner
yes thats a know bug, i think matej did fix that today or is fixing it right now. johan On 9/12/07, Justin Morgan (Logic Sector) <[EMAIL PROTECTED]> wrote: > > Thanks, I tried that but I get an exception in the Wicket 1.3 > snapshot I'm using. Is there a known bug in the remove(Page) > method?

Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Justin Morgan (Logic Sector)
Thanks, I tried that but I get an exception in the Wicket 1.3 snapshot I'm using. Is there a known bug in the remove(Page) method? Or maybe I'm simply using it wrong? (after logging in, my secured page is attempting to invoke loginpage.getpagemap().remove (loginpage) in the secured page's

Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Justin Morgan (Logic Sector)
throw RestartResponseException(main page). I forgot to mention that the user might not always be clicking a link on the "main" page to access a secured page. There are other unsecured pages with links to the secured pages. So rather than always divert the user back to the main page with

Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Johan Compagner
page.getPageMap().remove(page) johan On 9/12/07, Justin Morgan (Logic Sector) <[EMAIL PROTECTED]> wrote: > > Hi, > > Okay, another newbie question. :) > > I have some secured pages that require a user login. The "main" page > (unsecured) has direct links to these secured pages. If the user >

Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Martijn Dashorst
Short answer: you don't. Longer answer: you still don't, but check in your event handler, or in possibly your page's onAttach if the request is allowed. If not, throw RestartResponseException(main page). Martijn On 9/12/07, Justin Morgan (Logic Sector) <[EMAIL PROTECTED]> wrote: > Hi, > > Okay,

How to remove a page from Wicket's back button memory?

2007-09-11 Thread Justin Morgan (Logic Sector)
Hi, Okay, another newbie question. :) I have some secured pages that require a user login. The "main" page (unsecured) has direct links to these secured pages. If the user tries to access one of these secured pages without being logged in, I throw a restartresponseexception that takes t