Re: T5 / Form handling / Page property question

2009-10-05 Thread Gunnar Eketrapp
Thanks!

That was my thought and i just read somewhere that T5 make a client side
redirect for all form submissions.

/Gunnar

2009/10/5 Kristian Marinkovic 

> add a @Persist("flash") or just @Persist  onto your property
>
>
>
>
> Gunnar Eketrapp 
> 05.10.2009 12:00
> Bitte antworten an
> "Tapestry users" 
>
>
> An
> Tapestry users 
> Kopie
>
> Thema
> T5 / Form handling / Page property question
>
>
>
>
>
>
> Hi!
>
> I have a form page where i try to render the result view in the same page.
>
> In my onSuccess() method I do the form processing and sets a flag to
> indicate to
> my TML that it should render the result instead of the form.
>
> E.g.
>
> Foo.java
> 
> @property
> private boolean viewResult;
>
> Foo.tml
> ===
> 

Re: T5 / Form handling / Page property question

2009-10-05 Thread Kristian Marinkovic
add a @Persist("flash") or just @Persist  onto your property




Gunnar Eketrapp  
05.10.2009 12:00
Bitte antworten an
"Tapestry users" 


An
Tapestry users 
Kopie

Thema
T5 / Form handling / Page property question






Hi!

I have a form page where i try to render the result view in the same page.

In my onSuccess() method I do the form processing and sets a flag to
indicate to
my TML that it should render the result instead of the form.

E.g.

Foo.java

@property
private boolean viewResult;

Foo.tml
===