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 have seen on occasion is that userExists == false even
when the user variable has been initialized.

Anyone see this before?  It doesn't seem to happen all the time...

Hi!

Since create=false exists in @SessionState I don't think having a boolean xxxExists fields makes any sense . . . Just my opinion. ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to