tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: Tapestry 5.2 - Request data shared in different client browser
Date Thu, 03 Mar 2011 02:42:28 GMT
To reiterate: your code was broken in 5.1, just not as obviously as in 5.2.

On Wed, Mar 2, 2011 at 3:06 AM, Thiago H. de Paula Figueiredo
<thiagohp@gmail.com> wrote:
> 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
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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


Mime
View raw message