Any components that are rendered by that component will not be rendered if
SetupRender or BeginRender returns false.


Janko Muzykant wrote:
> 
> One more question. What will happen with all nested components when a
> given parent component returns false in its SetupRender? Are they
> automatically discarded?
> 
> thanks,
> jm. 
> 
> 
> 
> DougS wrote:
>> 
>> Also, if you would like to put the logic to determine if a component
>> should display or not in that component, you can have your SetupRender or
>> BeginRender phases return a boolean result -- if it returns false, the
>> component will not be rendered (no matter where that component is
>> placed).  [cut]
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5-Best-way-to-omit-part-of-result-page-in-output-tf4211016.html#a11991233
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to