Re: problem with jumpstart protecting pages code

2013-04-29 Thread Geoff Callender
n > - Original Message - > From: Geoff Callender > To: Tapestry users > Sent: Monday, April 29, 2013 10:35 PM > Subject: Re: problem with jumpstart protecting pages code > > > Hi John, > > It works because LoginPage persists the link in your ses

Re: problem with jumpstart protecting pages code

2013-04-29 Thread John
onday, April 29, 2013 10:35 PM Subject: Re: problem with jumpstart protecting pages code Hi John, It works because LoginPage persists the link in your session: @Persist private Link nextPageLink; Have you really seen it fail? Try for yourself - try user 2 (login with admin,

Re: problem with jumpstart protecting pages code

2013-04-29 Thread Geoff Callender
Hi John, It works because LoginPage persists the link in your session: @Persist private Link nextPageLink; Have you really seen it fail? Try for yourself - try user 2 (login with admin, admin): http://jumpstart.doublenegative.com.au/jumpstart/theapp/security/userview/2 then lo

problem with jumpstart protecting pages code

2013-04-29 Thread John
I don't think the following code works, it doesn't when I run my version of it. The loginPage has it's nextPageLink property set, but then the loginPageLink is returned by using the Login.class which presumably just redirects to a fresh login page without the nextPageLink set. So the nextPageLi