[Zope3-Users] Inline code in ZPT
Nicolas Legault
nicolasl at immocontrole.ca
Wed Jul 6 15:47:40 EDT 2005
Two questions:
1:
Is it possible to have Inline code in a page template that is created on the
host file system, not throught the ZMI ? I got an error that inline code is
not activated, where do I activate it ?
2:
Is it a bug or this code is now not supported in Zope 3.1 ZPT ?
01 <html><body>
02 <script type="text/server-python">
03 global x
04 x = "Hello World!"
05 </script>
06 <b tal:content="x" />
07 </body></html>
this code is from
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3GUI
If it's not supported anymore, is there a way to return values from the
python script and use them in the zpt ?
Nicolas Legault
Immo-Controle Inc.
Chambly, Quebec, Canada
514-272-3453 Ext 2
More information about the Zope3-users
mailing list