equal
deleted
inserted
replaced
89 * if the view is not templatable, it should set the `content_type` class |
89 * if the view is not templatable, it should set the `content_type` class |
90 attribute to the correct MIME type (text/xhtml by default) |
90 attribute to the correct MIME type (text/xhtml by default) |
91 * the `category` attribute may be used in the interface to regroup related |
91 * the `category` attribute may be used in the interface to regroup related |
92 objects together |
92 objects together |
93 |
93 |
94 At instantiation time, the standard `req`, `rset`, and `cursor` |
94 At instantiation time, the standard `_cw`, and `cw_rset` attributes are |
95 attributes are added and the `w` attribute will be set at rendering |
95 added and the `w` attribute will be set at rendering time to a write |
96 time to a write function to use. |
96 function to use. |
97 """ |
97 """ |
98 __registry__ = 'views' |
98 __registry__ = 'views' |
99 |
99 |
100 templatable = True |
100 templatable = True |
101 # content_type = 'application/xhtml+xml' # text/xhtml' |
101 # content_type = 'application/xhtml+xml' # text/xhtml' |