[Zope] Reading parameter from DTML

Rares Vernica verni0@msn.com
Tue, 06 Aug 2002 16:01:35 +0300


This should work:

index_html document:
-----------------------------------------------------------------------<dtml-if 
page>
  <dtml-let page="history_html">
    <dtml-var dtml_action>
  </dtml-let>
</dtml-if>
-----------------------------------------------------------------------

Rares


>From: "HT" <htan@gmx.de>
>To: <zope@zope.org>
>Subject: [Zope] Reading parameter from DTML
>Date: Tue, 6 Aug 2002 20:46:01 +0800
>
>Hi,
>
>I need help on why my dynamic page reading doesns't work.
>As an example below, I have a DTML-Method called dtml_action.
>this dtml_action will read the parameter from page (from the same 
>directory) that invoked it.
>
>dtml_action document:
>--------------------------------------------------
><dtml-var standard_html_header>
>          <dtml-var page>
><dtml-var standard_html_footer>
>-------------------------------------------------
>
>As an example, my index_html need to diplay history_html document by using 
>dtml_action.
>
>
>index_html document:
>----------------------------------------------------------------------------
><dtml-if page>
>    <dtml-var dtml_action?page=history_html>
></dtml-if>
>-------------------------------------------------------------------------
>
>The code inside index_html definitely doesn't work because there isn't such 
>variable like 'dtml_action?page=history_html'
>But I just don't know the syntax.
>
>Can anyone help?
>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx