21 Feb
2007
21 Feb
'07
6:57 p.m.
----- Original Message ----- From: "Garry Saddington" <garry@schoolteachers.co.uk> To: <zope@zope.org> Sent: Wednesday, February 21, 2007 1:44 PM Subject: [Zope] frameset problems
I have this page:
<frameset rows="75%,25%"> <frame src="<dtml-var page>">
<frame src="<dtml-call expr="getproperty(page=_['page'])">">
</frameset>
The 'page' variable is in the request but no matter what I try I am having problems passing it the the python script 'getproperty'. Can anyone point me in the correct direction?
the source for a frame is loaded by the browser as an http request, therefore you need to pass variables in the url, eg. <frame src="getproperty?page=<dtml-var page>"> Jonathan