This might help... PageLoaded ... 
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/annotations/PageLoaded.html



-----Original Message-----
From: Bryan Lewis <jbryanle...@gmail.com>
Reply-To: Tapestry users <users@tapestry.apache.org>
To: users@tapestry.apache.org
Subject: once-only onActivate method
Date: Sun, 19 Apr 2009 22:18:10 -0400

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.

-- 
Joel Halbert
020 3051 8637
075 2501 0825
j...@storequery.com
www.storequery.com
SU3 Analytics Ltd, The Print House, 18 Ashwin St, London E8 3DL.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to