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 ...