--- a/doc/book/en/development/devweb/internationalization.rst Tue Mar 02 19:11:46 2010 +0100
+++ b/doc/book/en/development/devweb/internationalization.rst Tue Mar 02 19:15:26 2010 +0100
@@ -30,7 +30,7 @@
class PrimaryView(EntityView):
"""the full view of an non final entity"""
- id = 'primary'
+ __regid__ = 'primary'
title = _('primary')
OR
@@ -39,7 +39,7 @@
class NoResultView(EmptyRsetView):
"""default view when no result has been found"""
- id = 'noresult'
+ __regid__ = 'noresult'
def call(self, **kwargs):
self.w(u'<div class="searchMessage"><strong>%s</strong></div>\n'