Re: exists variable false - but sessionstate variable not null?

2011-06-14 Thread Thiago H. de Paula Figueiredo
On Mon, 13 Jun 2011 20:30:54 -0300, David Rees dree...@gmail.com wrote: Hmm, so you're saying don't use xxxExists fields and just check set create=false on the @SessionState instead like this? @SessionState(create=false) @Property private User user; Exactly! Makes more sense and is more

exists variable false - but sessionstate variable not null?

2011-06-13 Thread David Rees
I've got a @SessionState variable used to track the logged in user declared along with an exists variable like this on multiple pages: @SessionState @Property private User user; private boolean userExists; Now, what I have seen on occasion is that userExists == false even when the user variable

Re: exists variable false - but sessionstate variable not null?

2011-06-13 Thread Thiago H. de Paula Figueiredo
On Mon, 13 Jun 2011 19:58:36 -0300, David Rees dree...@gmail.com wrote: I've got a @SessionState variable used to track the logged in user declared along with an exists variable like this on multiple pages: @SessionState @Property private User user; private boolean userExists; Now, what I

Re: exists variable false - but sessionstate variable not null?

2011-06-13 Thread ael
://tapestry.1045711.n5.nabble.com/exists-variable-false-but-sessionstate-variable-not-null-tp4485968p4486044.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: exists variable false - but sessionstate variable not null?

2011-06-13 Thread David Rees
On Mon, Jun 13, 2011 at 4:25 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 13 Jun 2011 19:58:36 -0300, David Rees dree...@gmail.com wrote: I've got a @SessionState variable used to track the logged in user declared along with an exists variable like this on multiple