[Zope] scope of <dtml-let> tag

Andreas Jung lists at zopyx.com
Fri Jun 12 04:32:10 EDT 2009


On 12.06.09 10:27, indrajit926 indra wrote:
> Hello All,
>
> I faced a parsing error when I used <dtml-if> and <dtml-let>, like below
>
> -----some dtml code-----
> <dtml-if CONDITION>
>              <dtml-let some_function>
> <dtml-else>
>               <dtml-let other_function>
> </dtml-if>
>               -----some code-------
>               ------------------------
>               </dtml-let>
>
> The above code gives parsing error about unexpected </dtml-if>
>
> It works fine when I give as below
>
> <dtml-if CONDITION>
>              <dtml-let some_function>
>                 -----some code-------
>               ------------------------
>               </dtml-let>
> <dtml-else>
>               <dtml-let other_function>
>                 -----some code-------
>                ------------------------
>               </dtml-let>
> </dtml-if>
>
>
> Any help on about this behaviour of <dtml-let>.

docs.zope.org -> Zope Book

The behavior is correct and documented.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20090612/b922abb7/attachment.vcf 


More information about the Zope mailing list