[Checkins] SVN: megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app_templates/vars.cpt Add test for cpt vars.

Uli Fouquet uli at gnufix.de
Wed Feb 25 06:49:13 EST 2009


Log message for revision 97253:
  Add test for cpt vars.

Changed:
  A   megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app_templates/vars.cpt

-=-
Added: megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app_templates/vars.cpt
===================================================================
--- megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app_templates/vars.cpt	                        (rev 0)
+++ megrok.chameleon/trunk/src/megrok/chameleon/tests/cpt_fixture/app_templates/vars.cpt	2009-02-25 11:49:13 UTC (rev 97253)
@@ -0,0 +1,20 @@
+<html>
+<body>
+This template knows about the following vars:
+
+  template (the template instance):
+   ${template}
+
+  view (the associated view):
+   ${view}
+
+  context (the context of the view):
+   ${context}
+
+  request (the current request):
+   ${request}
+
+  static (the static dir of the application):
+   ${static}
+</body>
+</html>



More information about the Checkins mailing list