[Zope] Var includes

Martijn Pieters mj@atmm.nl
Fri, 19 Feb 1999 18:02:33 +0100


Ehm.. the following is a bit too much work

>
> <!--#in expr="_.getitem(strFolder).objectItems(['Folder'])"-->
>   <!--#if "_['sequence-key'] == strDocument"-->
>     <!--#with sequence-item-->
>        <!--#var title-->        <== now in the namespace of the subobject
>     <!--#/with-->
>   <!--#/if-->
> <!--#/in-->


because

<!--#with expr="_[strFolder]"-->
  <!--#with expr="_[strDocument]"-->
     <!--#var title-->
  <!--#/with-->
<!--#/with-->

will also do.


--
M.J. Pieters, Web Developer
| ATMM http://www.atmm.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@atmm.nl http://www.atmm.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------