[Zope3-checkins] CVS: Zope3/src/zope/app - configure.zcml:1.34
meta.zcml:1.16
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Aug 21 11:19:51 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv8485/src/zope/app
Modified Files:
configure.zcml meta.zcml
Log Message:
Final HEAD checkin of "Inline Code Support in TAL". For detailed messages
during the development, see "srichter-inlinepython-branch". I tested the
code with both, Python 2.2.3 and Python 2.3 and all works fine.
Here an example of what you can do:
<script type="text/server-python">
print "Hello World!"
</script>
and
<p tal:script="text/server-python">
print "Hello World!"
</p>
A more elaborate example would be:
<html><body>
<script type="text/server-python">
global x
x = "Hello World!"
</script>
<b tal:content="x" />
</body></html>
This support is currently only available in "Templated Pages" after you
activate the hook using the "Inline Code" screen.
=== Zope3/src/zope/app/configure.zcml 1.33 => 1.34 ===
--- Zope3/src/zope/app/configure.zcml:1.33 Fri Aug 15 20:42:30 2003
+++ Zope3/src/zope/app/configure.zcml Thu Aug 21 10:19:20 2003
@@ -103,6 +103,7 @@
<include package="zope.app.process" />
<include package="zope.app.index" />
<include package="zope.app.pagetemplate" />
+ <include package="zope.app.interpreter" />
<include package="zope.app.renderer" />
<include package="zope.app.onlinehelp" />
<include package="zope.app.workflow" />
=== Zope3/src/zope/app/meta.zcml 1.15 => 1.16 ===
--- Zope3/src/zope/app/meta.zcml:1.15 Sun Aug 3 16:45:01 2003
+++ Zope3/src/zope/app/meta.zcml Thu Aug 21 10:19:20 2003
@@ -1,4 +1,4 @@
-<configure xmlns='http://namespaces.zope.org/zope'>
+<configure xmlns="http://namespaces.zope.org/zope">
<!-- Standard configuration directives -->
<include package="zope.configuration" file="meta.zcml" />
@@ -21,6 +21,7 @@
<include package="zope.app.dav" file="meta.zcml" />
<include package="zope.app.rdb" file="meta.zcml" />
<include package="zope.app.schema" file="meta.zcml" />
+<include package="zope.app.interpreter" file="meta.zcml" />
<include package="zope.app.renderer" file="meta.zcml" />
</configure>
More information about the Zope3-Checkins
mailing list