Mercurial > p > roundup > code
comparison doc/customizing.txt @ 4723:42f6c76950a4
Cancel version bump to 1.5.0 - the impact is minimal, so just update
the docs and mention renames in templating layer in CHANGES.txt
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Fri, 11 Jan 2013 01:16:59 +0300 |
| parents | 132650f4700a |
| children | 9b9d9cb9734a |
comparison
equal
deleted
inserted
replaced
| 4722:f7e68ae4926c | 4723:42f6c76950a4 |
|---|---|
| 1653 ~~~~~~~~~~~~~~~~~~ | 1653 ~~~~~~~~~~~~~~~~~~ |
| 1654 | 1654 |
| 1655 Since version 1.4.20 Roundup supports two templating engines: the original | 1655 Since version 1.4.20 Roundup supports two templating engines: the original |
| 1656 `Template Attribute Language`_ (TAL) engine from Zope and the standalone | 1656 `Template Attribute Language`_ (TAL) engine from Zope and the standalone |
| 1657 Chameleon templating engine. Chameleon is intended as a replacement for the | 1657 Chameleon templating engine. Chameleon is intended as a replacement for the |
| 1658 original TAL engine, and supports a syntax that is very similiar to the it, | 1658 original TAL engine, and supports the same syntax, |
| 1659 but they are not 100% compatible. The major (and most likely the only) | 1659 but they are not 100% compatible. The major (and most likely the only) |
| 1660 incompatibility to worry about is the default expression type being | 1660 incompatibility is the default expression type being |
| 1661 ``python:`` instead of ``path:``. See also "Incompatibilities and | 1661 ``python:`` instead of ``path:``. See also "Incompatibilities and |
| 1662 differences" section of `Chameleon documentation`__. | 1662 differences" section of `Chameleon documentation`__. |
| 1663 | 1663 |
| 1664 **NOTE1**: For historical reasons, examples given below assumes path | 1664 **NOTE1**: For historical reasons, examples given below assumes path |
| 1665 expression as default expression type. With Chameleon you have to manually | 1665 expression as default expression type. With Chameleon you have to manually |
| 2447 | 2447 |
| 2448 | 2448 |
| 2449 The templates variable | 2449 The templates variable |
| 2450 ~~~~~~~~~~~~~~~~~~~~~~ | 2450 ~~~~~~~~~~~~~~~~~~~~~~ |
| 2451 | 2451 |
| 2452 This is implemented by the ``roundup.cgi.templating.Templates`` | 2452 This was implemented by the ``roundup.cgi.templating.Templates`` |
| 2453 class. | 2453 class before 1.4.20. In later versions it is the instance of appropriate |
| 2454 | 2454 template engine loader class. |
| 2455 This variable doesn't have any useful methods defined. It supports being | 2455 |
| 2456 used in expressions to access the templates, and consequently the | 2456 This variable is used to access other templates in expressions and |
| 2457 template macros. You may access the templates using the following path | 2457 template macros. It doesn't have any useful methods defined. The |
| 2458 expression:: | 2458 templates can be accessed using the following path expression:: |
| 2459 | 2459 |
| 2460 templates/name | 2460 templates/name |
| 2461 | 2461 |
| 2462 or the python expression:: | 2462 or the python expression:: |
| 2463 | 2463 |
