On Mon, 16 Apr 2012 21:41:24 -0300, bhorvat <horvat.z.bo...@gmail.com> wrote:

Thiago H de Paula Figueiredo wrote


I use this approach too. :)

        @SessionState
    private ProjectState projectState;
    private boolean projectStateExists;

Why don't you just check if projectState is null instead of using the
boolean field?

Wont that acutally try to initialize the ProjectState?

No if you use @SessionState(create = false)

--
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