You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by haipeng du <ha...@gmail.com> on 2009/06/22 22:19:51 UTC

T5 life cycle for page render

On Mon, Jun 22, 2009 at 2:18 PM, haipeng du <ha...@gmail.com> wrote:

> In my page, I have one requirement to keep data in the request cycle and
> discard it after response sent back. I will not use @Persist as it is not.
> But, when I try to trace request processing, I got following when I click
> submit button
> (1) page attach method called
> (2) event method is called
> (3) page detach method is called (this time, it has already clean all
> variables that are not marked as @Persist)
> (4) page attach method called again
> (5) Page detach method called again.
> I wonder why attaching and detaching called twice, how could I keep my
> variables in the first time calling.
> Thanks.
>
> --
> Haipeng Du
> Salt Lake City
>



-- 
Haipeng Du
Salt Lake City