Hi Bryan,
What about utilizing the form's events, prepareForRender vs.
prepareForSubmit?
See:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html
Robert
On Apr 19, 2009, at 4/199:18 PM , Bryan Lewis wrote:
I need a method that will get called exactly once when a page is first
invoked, and not again when a form in the page is submitted. In
Tapestry 4
the activateExternalPage() method was good for that. I don't think
the new
onActivate() method is a replacement, nor is the SetupRender-annotated
method. For example, they get called when an autocomplete textfield
is used
in mid-form. How do I do this in Tap 5? (My intent is to clear any
stale
changes in my Cayenne DataContext.)
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org