Yes -- but the easiest way to clean stuff up is to let Tapestry
manage it for you by writing abstract property accessors:
public abstract String getArticleTitle();
public abstract void setArticleTitle(String title);
If you declare properties that way, Tap will handle their lifecycle
for you. Read the docs -- they explain this.
Cheers,
Paul
On Dec 15, 2005, at 10:27 AM, Geoff Longman wrote:
The short answer is no, there is no automatic cleanup.
cycle.discardPage() will turf persistent properties
if you have private fields you have to clean them up yourself using
the detach mechanism.
Geoff
On 12/15/05, Ryan Pan <[EMAIL PROTECTED]> wrote:
Hi all,
Can any body tell me how to clean the information stored in
the page
automatically?
I encounter a issue that when I come back to the page that had
been
to,informations had not been cleaned.
So any answer?
Thanks,
Ryan.
--
The Spindle guy. http://spindle.sf.net
Get help with Spindle:
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates: http://spindle.sf.net/updates
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Piano music podcast: http://inthehands.com
Other interesting stuff: http://innig.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]