You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Karthik Abram <ka...@neovera.com> on 2005/02/25 23:37:14 UTC

Component initialization (when retrieving from pool?)


Is there a method similar to page's initialize()that gets called for
components so that the members can be correctly initialized when retrieved
from the pool? Is this even a concern for components?


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Component initialization (when retrieving from pool?)

Posted by Kent Tong <ke...@cpttm.org.mo>.
Karthik Abram <karthik.abram <at> neovera.com> writes:

> 
> Is there a method similar to page's initialize()that gets called for
> components so that the members can be correctly initialized when retrieved
> from the pool? Is this even a concern for components?

Why not just use a <property-specification>? If you need
to get notified when the containing page is detached,
you can let your component implement IPageDetachListener
and add itself as a listener to the page.




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org