[ZPT] slowly moving to ZPT concept

Tom Deprez Tom Deprez" <tom.deprez@uz.kuleuven.ac.be
Wed, 3 Oct 2001 18:32:17 +0200


Dit is een meerdelig bericht in MIME-indeling.

------=_NextPart_000_023D_01C14C39.BB086160
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

How can I insert a ZPT document into another document?

Assume I've made two navigation systems. Depending on some variable I =
want to show one or the other.

I've made a macro which defines a slot 'navigation'.

I'm trying to use :

<td metal:fill-slot=3D"here/navigation"> ? </td>

I tried things like :

<td metal:fill-slot=3D"navigation">
  <span tal:replace=3D"here/navigation1"></span>
</td>

but that inserts the html source... Is there a parameter which tells the =
replace tag to insert that ZPT document instead of inserting the html =
source of the ZPT document? There must be, but at the moment I'm not =
able to find it.

Thanks, tom.

------=_NextPart_000_023D_01C14C39.BB086160
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>How can I insert a ZPT document into =
another=20
document?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Assume I've made two navigation =
systems. Depending=20
on some variable I want to show one or the other.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've made a macro which defines a slot=20
'navigation'.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to use :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>&lt;td =
metal:fill-slot=3D"here/navigation"&gt; ?=20
&lt;/td&gt;</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I tried things like :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>&lt;td=20
metal:fill-slot=3D"navigation"&gt;</FONT></DIV>
<DIV></FONT><FONT face=3DArial size=3D2>&nbsp; &lt;span=20
tal:replace=3D"here/navigation1"&gt;&lt;/span&gt;</FONT></DIV>
<DIV>&lt;/td&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>but that&nbsp;inserts the html =
source... Is there a=20
parameter which tells the replace tag to insert that ZPT document =
instead of=20
inserting the html source of the ZPT document? There must be, but at the =
moment=20
I'm not able to find it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, =
tom.</FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_023D_01C14C39.BB086160--