Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users
scope of <dtml-let> tag
 

Index | Next | Previous | View Flat


indrajit926 at gmail

Jun 12, 2009, 1:27 AM


Views: 451
Permalink
scope of <dtml-let> tag

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>.

Thanks in advance,
Indra.

Subject User Time
scope of <dtml-let> tag indrajit926 at gmail Jun 12, 2009, 1:27 AM
    Re: scope of <dtml-let> tag lists at zopyx Jun 12, 2009, 1:32 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.