[Zope-CMF] Dispatching to a skin page template

Geoff Davis geoff@geoffdavis.net
Fri, 5 Jul 2002 17:03:51 -0400


This is a multi-part message in MIME format.

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

I'm trying to create a python method which, when finished, passes some =
options to a page template.  Before using the CMF, I would use =
PageTemplates.PageTemplateFile at initialization to get a reference to a =
PageTemplate object that I could call as needed.  Now with the CMF, I =
need to be able to grab the approprate page template from the current =
skin and do the appropriate dispatch.  How do I get the appropriate =
skin's page?  (Note that I don't want to relocate to the page, since I =
want to pass in options)

Thanks!

Geoff



Geoff Davis
http://www.geoffdavis.net



------=_NextPart_000_003E_01C22445.EFE30090
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 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm trying to create&nbsp;a python =
method which,=20
when finished, passes some options to a page =
template.&nbsp;&nbsp;</FONT><FONT=20
face=3DArial size=3D2>Before using the CMF, I would use=20
PageTemplates.PageTemplateFile at initialization to get a reference to a =

PageTemplate object that I could call as needed.&nbsp; Now with the CMF, =

</FONT><FONT face=3DArial size=3D2>I need to be able to grab the =
approprate page=20
template from the current skin and do the appropriate dispatch.&nbsp; =
How do I=20
get the appropriate skin's page?&nbsp; (</FONT><FONT face=3DArial =
size=3D2>Note that=20
I don't want to relocate to the page, since I want to pass in=20
options)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Geoff</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV><FONT face=3DArial size=3D2>
<DIV><BR>Geoff Davis<BR><A=20
href=3D"http://www.geoffdavis.net">http://www.geoffdavis.net</A></DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_003E_01C22445.EFE30090--