[Checkins] SVN: Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt Update docs.

Uli Fouquet uli at gnufix.de
Sun Feb 22 07:31:02 EST 2009


Log message for revision 97024:
  Update docs.

Changed:
  U   Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt

-=-
Modified: Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt
===================================================================
--- Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt	2009-02-22 12:21:53 UTC (rev 97023)
+++ Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt	2009-02-22 12:31:02 UTC (rev 97024)
@@ -12,7 +12,30 @@
 Chameleon Zope page templates
 =============================
 
+Chameleon provides support for Zope page templates which can be used
+from grok writing templates with the ``.cpt`` (=Chameleon Page
+Template) filename extension.
 
+Chameleon page templates differ from standard Zope page templates in a
+few aspects, most notably:
+
+* Expressions are parsed in ``Python-mode`` by default. This means,
+  instead of ``tal:content="view/value"`` you must use
+  ``tal:content="view.value"``. Every occurence of TAL-expressions
+  starting with ``python:`` now can be shortened by skipping this
+  marker.
+
+* Also genshi-like variable substitutions are supported. For example
+  you can write ``${myvar}`` instead of ``tal:content="myvar"``.
+
+Beside this, most rules for regular Zope page templates apply also to
+chameleon page templates.
+
+See the `chameleon.zpt` page for more information.
+
+
+
+
 Chameleon Genshi templates
 ==========================
 



More information about the Checkins mailing list