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 <[email protected]>

> add a @Persist("flash") or just @Persist  onto your property
>
>
>
>
> Gunnar Eketrapp <[email protected]>
> 05.10.2009 12:00
> Bitte antworten an
> "Tapestry users" <[email protected]>
>
>
> An
> Tapestry users <[email protected]>
> 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
> =======
> <t:if test="resultView>
>
>   Display result!
>
> <p:else>
>
>   Display form!
>
> </p:else
>
> </t:if>
>
> But the flag seems not the be set.
>
> Obviously I have not grapsed how this works ...
>
>


-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo

Reply via email to