optional components in markup

2008-03-20 Thread Andrew Broderick
Hi,

Is there a way to mark a component in markup as optional, so it renders it if 
it's there, but leaves it out if not? Or, if I don't want a certain component 
to appear (decided by logic at runtime), do I just have to insert a 
placeholder component, such as an empty label?

Thanks

___

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214


Re: optional components in markup

2008-03-20 Thread James Carman
On 3/20/08, Andrew Broderick [EMAIL PROTECTED] wrote:
 Hi,

  Is there a way to mark a component in markup as optional, so it renders it 
 if it's there, but leaves it out if not? Or, if I don't want a certain 
 component to appear (decided by logic at runtime), do I just have to insert a 
 placeholder component, such as an empty label?


Use the visible property on the component.

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