Is there a good way for a page to initialize itself if it's being
called from the page service?
A different way of asking this might be: is there a way to initialize
values only if no listeners are being called?
I have a few situations where values on the page are populated (in,
say, pageAttached()), then overwritten by a listener. That first
redundant initialization is expensive, and I'd rather not do it. But
it's of a sort that's awkward to implement using lazy initialization
in the property getter itself.
I could implement IExternalPage, and do my initialization in
activateExternalPage(). Is there something similar for PageService?
Or is IExternalPage really the right answer to my question?
Cheers,
Paul
_________________________________________________________________
"Les grandes personnes ne comprennent jamais rien toutes seules,
et c'est fatigant, pour les enfants, de toujours et toujours
leur donner des explications." -- Antoine de Saint-Exupéry
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]