You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ta...@jakarta.apache.org on 2004/03/14 05:50:34 UTC
[Jakarta Tapestry Wiki] Updated: Gotchas
Date: 2004-03-13T20:50:33
Editor: 24.75.94.11 <>
Wiki: Jakarta Tapestry Wiki
Page: Gotchas
URL: http://wiki.apache.org/jakarta-tapestry/Gotchas
ok, here's a first gotcha to get going
Change Log:
------------------------------------------------------------------------------
@@ -1,3 +1,3 @@
'''Tapestry Gotchas'''
= initialize() =
-initialize() is sometimes mistaken for the method used
+initialize() is sometimes mistakenly used as the place to initialize properties of a page. Actually, initialize() is used to set properties to the state they should be in when returned to the pool--in other words, when you are done with the page (typically set properities to null). Instead, implement PageRenderListener and then initialize your properties in pageBeginRender().
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org