[Zope-dev] Embeding docs with dtml
Carlos Neves
neli@ruido-visual.pt
Wed, 5 Apr 2000 11:08:13 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_003D_01BF9EEF.3C5D8F00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi, i'm trying to embed a dtml document in a child folder with a dtml =
method, like this:
- I have a class wich defines the property "DocBase"
- I have a dtml document called "DocTest1" in folder "Docs"
- I set the "DocBase" to "Docs.DocTest1"
Now, I need to call the contents of the document pointed by =
"DocBase" from a method. No hardcoding besides the name of the class and =
the name of the property... Several aproaches have been tried, with no =
luck :(
Can anyone help on this eval()
----
Carlos Neves
cneves@ruido-visual.pt
------=_NextPart_000_003D_01BF9EEF.3C5D8F00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi, i'm trying to embed a dtml =
document in a=20
child folder with a dtml method, like this:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> - I have a class =
wich defines=20
the property "DocBase"</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> - I have a dtml =
document=20
called "DocTest1" in folder "Docs"</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> - I set the=20
"DocBase" to "Docs.DocTest1"</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2> Now, I need to =
call the=20
contents of the document pointed by "DocBase" from a method. =
No=20
hardcoding besides the name of the class and the name of the property... =
Several=20
aproaches have been tried, with no luck :(</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> Can anyone help =
on this=20
eval()</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000000 size=3D2>----</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Carlos Neves</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2><A=20
href=3D"mailto:cneves@ruido-visual.pt">cneves@ruido-visual.pt</A></FONT><=
/DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_003D_01BF9EEF.3C5D8F00--