[Zope] Calling DTML document from a string/query

McDonnell, Larry lmcdonnell@protonenergy.com
Thu, 6 Mar 2003 08:09:51 -0500


Hi,

This is how I was able to point the variable to the form -

	   <a href=3D" www.mydomain.com/somepath/index?read=3D<dtml-var
required_document>" target=3D"_blank">
<dtml-var required_document><dtml-var required_document>
     =20
hth

Larry

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jan =
Ma=B9ka
Sent: Thursday, March 06, 2003 7:54 AM
To: Zope mailing list
Subject: [Zope] Calling DTML document from a string/query


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=3D20030220

What I need is that the index at somepath opens another document called
'20030220' and prints it's contents, like in this case:
=3D=3Dindex=3D=3D
<dtml-var standard_html_header>
<dtml-var "20030220">
<dtml-var standard_html_footer>
=3D=3D=3Dend=3D=3D=3D
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

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

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


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -=20
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )