Don't use a constructor. That's not where you initialize your values.
initialize() is a misleading name. It's used to reset values to be
returned to the page pool--<property-specification> made this
obsolete for general usage.
Instead, you must implement PageRenderListener and its pageBeginRender
() method. Initialize your values there.
Jamie
On Jul 19, 2005, at 11:44 AM, nat wrote:
Hello!
It seems to me that when I define an initialize() method within a
page class, the constructor of that class will not be executet, not
even once. Is it true, or is it just me?
(I need the constructor, becouse I have to set up some special
values. These values have to be set up only once per page class.
And they remain constatnt during the rest of the time of the page
class. That is why I do not want to put them into the initialize().
They do not have to be initialize each time the page is loaded.)
Attila
Ps. I am using Tapestry 3.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.1/51 - Release Date:
7/18/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]