Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by ErikVullings: http://wiki.apache.org/tapestry/MoreFrequentlyAskedQuestions ------------------------------------------------------------------------------ == Why isnÂt Initialize setting my variables when the page is created? == DonÂt worry; you arenÂt the first person to make this mistake. Initialize isnÂt called when a page is created  it is called when a page is returned to the pool to be reused. Initialize is not to be used to setup a page but instead return it to a pristine state so it can be recycled in the pool of available pages. See the pageRenderListener interface if you want to setup state before a page is used. + + KentTong: I don't think this is true anymore (not sure if it was true in the past). Initialize is indeed called when a page is created. It is also called when it is returned to the pool. So it can be used to setup a page to some fixed initial state. Of course, you could do that using a <property-specification> too. == Where do I Âinitialize values for a page? == --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
