On Tue, 01 Mar 2011 23:30:42 -0300, Dany <du...@hotmail.com> wrote:

Hi,

Hi!

        @Property
        Private LoginVo loginVo;

        @Log
        @PageLoaded
        void pageLoaded()
        {
                loginVo =new LoginVo();
        }

@PageLoaded is triggered just once, when the page is instantiated. As Howard said, since 5.2, Tapestry has just one instance of each page and its state is stored in a per-request Map instead of the fields themselves. Just use onActivate() or @SetupRender instead and your problem will go away.

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