[Zope] Calling DTML document from a string/query

Jan Maška jan.maska@systinet.com
Thu, 6 Mar 2003 13:53:44 +0100


Hi all,

Though it may seem as a stupid question, it's rather important (at least for
me)..
How to create a DTML document pointer (<dtml-var required_document>) from a
string?
Let's see this example:
 www.mydomain.com/somepath/index?read=20030220

What I need is that the index at somepath opens another document called
'20030220' and prints it's contents, like in this case:
==index==
<dtml-var standard_html_header>
<dtml-var "20030220">
<dtml-var standard_html_footer>
===end===
only I want to be able to define this dynamically based on the user queries.

If you can give any hints, it would really be helpful.

-Mac

===============================
 Jan Maska, web developer
 Systinet, Prague(CZ)
 jan.maska@systinet.com
 tel.:(+420)608453492

 visit http://www.systinet.com
===============================