Mercurial > p > roundup > code
comparison doc/templating.txt @ 959:81d860e61f0b
tweak
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 20 Aug 2002 05:47:47 +0000 |
| parents | 715121d05b1f |
| children | 6b6be8818bdd |
comparison
equal
deleted
inserted
replaced
| 958:715121d05b1f | 959:81d860e61f0b |
|---|---|
| 1 ========================== | 1 ========================== |
| 2 HTML Templating Mechanisms | 2 HTML Templating Mechanisms |
| 3 ========================== | 3 ========================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.5 $ | 5 :Version: $Revision: 1.6 $ |
| 6 | 6 |
| 7 Current Situation and Issues | 7 Current Situation and Issues |
| 8 ============================ | 8 ============================ |
| 9 | 9 |
| 10 Syntax | 10 Syntax |
| 114 *util* | 114 *util* |
| 115 utility methods | 115 utility methods |
| 116 | 116 |
| 117 Accesses through a class (either through *class* or *db.<classname>*): | 117 Accesses through a class (either through *class* or *db.<classname>*): |
| 118 | 118 |
| 119 class HTMLItem: | 119 class HTMLClass: |
| 120 def __getattr__(self, attr): | 120 def __getattr__(self, attr): |
| 121 ''' return an HTMLItem instance ''' | 121 ''' return an HTMLItem instance ''' |
| 122 def classhelp(self, ...) | 122 def classhelp(self, ...) |
| 123 def list(self, ...) | 123 def list(self, ...) |
| 124 | 124 |
