tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago H. de Paula Figueiredo" <thiag...@gmail.com>
Subject Re: Tapestry 5.2 - Request data shared in different client browser
Date Wed, 02 Mar 2011 11:06:04 GMT
On Tue, 01 Mar 2011 23:30:42 -0300, Dany <dugt3@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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Mime
View raw message