You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Norbert Sándor <pr...@hotmail.com> on 2004/05/05 11:24:16 UTC
lazy property initialization
Hello,
I initialize my persistent properties lazily in pageBeginRender().
My problem is that it seems that pageBeginRender() is not called in the order: container component - child components.
How can I lazily initialize persistent properties then use these properties to lazily initialize persistent properties in contained components?
Thanks,
Norbi
Re: lazy property initialization
Posted by Jamie Orchard-Hays <ja...@dang.com>.
There's no specified order for these calls, so you have to do lazy
initialization in your component(s) via synthetic properties.
Jamie
----- Original Message -----
From: "Norbert Sándor" <pr...@hotmail.com>
To: "tapestry-user" <ta...@jakarta.apache.org>
Sent: Wednesday, May 05, 2004 5:24 AM
Subject: lazy property initialization
Hello,
I initialize my persistent properties lazily in pageBeginRender().
My problem is that it seems that pageBeginRender() is not called in the
order: container component - child components.
How can I lazily initialize persistent properties then use these properties
to lazily initialize persistent properties in contained components?
Thanks,
Norbi
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org