add a @Persist("flash") or just @Persist onto your property
Gunnar Eketrapp <gunnar.eketr...@gmail.com> 05.10.2009 12:00 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An Tapestry users <users@tapestry.apache.org> 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 ...