[Zope] Referencing object in other folders

Alex.Thomas@dresdnerkb.com Alex.Thomas@dresdnerkb.com
Wed, 13 Oct 1999 18:27:05 +0100


Not here, I just caught myself out when demoing Zope to somebody. In my
setup (2.0.1) the target doc comes back unrendered (with < brackets shown as
&lt; etc.). dtml-with does work though.

cheers
alex

> -----Original Message-----
> From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk]
> >I have the following folder structure
> >
> >/ (Root folder)
> > --Images (folder)
> >
> >I simply reference images in the images folder by using:
> ><dtml-with Images>
> >   <dtml-var myimage>
> ></dtml-with>
> >
> >Isn't there a shorter way to address objects in other folders?
> 
> 
> Untested:
> Doesn't <dtml-var "Images.myImage"> work?
> 
##########################################
This email, its content and any files transmitted with it are intended
solely for the addressee(s) and may be legally privileged and/or 
confidential. Access by any other party is unauthorised without the
express written permission of the sender. If you have received this 
email in error you may not copy or use the contents, attachments or 
information in any way. Please destroy it and contact the sender on 
the number printed above, via the Dresdner Kleinwort Benson 
switchboard on +44 171 623 8000 or via e-mail return. Internet 
communications are not secure unless protected using strong 
cryptography. This email has been prepared using information believed
by the author to be reliable and accurate, but Dresdner Kleinwort 
Benson makes no warranty as to accuracy or completeness. In particular
Dresdner Kleinwort Benson does not accept responsibility for changes
made to this email after it was sent. Any opinions expressed in this 
document are those of the author and do not necessarily reflect the 
opinions of the Bank or its affiliates. They may be subject to change
without notice.
##########################################