hi taha,

you could add the DiscardBody mixin:
http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/mixins/DiscardBody.html

or write your own one that implements some more sophisticated 
visibility-function.

cheers
christian


Am 11.01.2011 um 16:02 schrieb Taha Hafeez:

> Hi
> 
> Can I hide a component in code. Say I have
> 
> class Page {
> 
> @Component
> private Select select;
> 
> }
> 
> Now I want to hide select in code(not in template using <t:if>), how can i
> do that ?
> 
> regards
> Taha


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to