Re: session invalidate in tapestry

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 18:15:12 -0200, Ivano Luberti wrote: Oh God! Yes , I messed up with interfaces: too much time using PHP Hehehe. Actually, even without PHP messing up with your brain, it's easy to mistake one of the interfaces for the other . . . Thanks Thiago :D Il 14/11/2014 2

Re: session invalidate in tapestry

2014-11-14 Thread Ivano Luberti
Oh God! Yes , I messed up with interfaces: too much time using PHP Thanks Thiago Il 14/11/2014 20:47, Thiago H de Paula Figueiredo ha scritto: > On Fri, 14 Nov 2014 15:27:51 -0200, Ivano Luberti > wrote: > >> So B is created in the first page but not bound to the session while >> some way is vi

Re: session invalidate in tapestry

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 15:27:51 -0200, Ivano Luberti wrote: So B is created in the first page but not bound to the session while some way is visible across pages While A is created at server start-up (why?) but is not visible in the page. If from web.xml I remove it.archicoop.met.obliteraz

Re: session invalidate in tapestry

2014-11-14 Thread Ivano Luberti
Il 14/11/2014 13:13, Thiago H de Paula Figueiredo ha scritto: > On Fri, 14 Nov 2014 09:25:47 -0200, Ivano Luberti > wrote: > >> Hi > > Hi! > >> When I call the Index page in the browser onPrepare is called > > What's your onPrepare() method? You didn't post it here. By the way, > you could prin

Re: session invalidate in tapestry

2014-11-14 Thread Thiago H de Paula Figueiredo
On Fri, 14 Nov 2014 09:25:47 -0200, Ivano Luberti wrote: Hi Hi! When I call the Index page in the browser onPrepare is called What's your onPrepare() method? You didn't post it here. By the way, you could print a stack trace inside the User constructor to know exactly which method

Re: session invalidate in tapestry

2014-11-14 Thread Ivano Luberti
Hi Il 13/11/2014 15:24, Thiago H de Paula Figueiredo ha scritto: > On Thu, 13 Nov 2014 12:16:03 -0200, Ivano Luberti > wrote: > >> Hi all, I have a question about session handling in Tapestry5. >> I have a >> >> @SessionState >> protected User user; > > Shouldn't it be @SessionState(create =

Re: session invalidate in tapestry

2014-11-13 Thread Thiago H de Paula Figueiredo
On Thu, 13 Nov 2014 12:16:03 -0200, Ivano Luberti wrote: Hi all, I have a question about session handling in Tapestry5. I have a @SessionState protected User user; Shouldn't it be @SessionState(create = false) so user isn't instantiated automatically and is null until you set the fie