You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2005/03/25 04:51:41 UTC

Re: Compoenents inside of Conditional --

Jubal Skaggs <jskaggz <at> gmail.com> writes:

>  <at> MyComponent overrides the pageBeginRender method, which gets called 
> like i expect, but, when the outer condtion block evaulates to false, 
>  <at> MyCompoent's pageBeginRender still gets called.

Would overriding AbstractComponent.prepareForRender() work
for you? It will be called just before your component is
rendered. If the component is not rendered, it will not
be called.

If you override it, make sure you call super first.



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