[Zope] Newbie: dtml-unless

Stephan Goeldi stephan.goeldi@datacomm.ch
Tue, 13 Mar 2001 11:53:08


>From: Casey Duncan <cduncan@kaivo.com>
>
>Furthermore, you will find accessing id in an expression to be
>troublesome. For some objects it is an attribute, for others it is a
>method. Use getId() in place of id. example:
>
><dtml-in name="objectValues">
>	<dtml-unless expr="getId() in
>['standard_html_header','standard_html_footer','standard_error_message']">
>		...Some code...
>	</dtml-unless>
></dtml-in>

Yep, this one worked.
Thank you very much!





_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.