--- a/web/views/basecontrollers.py Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/basecontrollers.py Wed Sep 23 09:29:39 2009 +0200
@@ -64,7 +64,7 @@
class LoginController(Controller):
- id = 'login'
+ __regid__ = 'login'
def publish(self, rset=None):
"""log in the instance"""
@@ -77,7 +77,7 @@
class LogoutController(Controller):
- id = 'logout'
+ __regid__ = 'logout'
def publish(self, rset=None):
"""logout from the instance"""
@@ -89,7 +89,7 @@
- build result set
- select and call main template
"""
- id = 'view'
+ __regid__ = 'view'
template = 'main-template'
def publish(self, rset=None):
@@ -208,7 +208,7 @@
class FormValidatorController(Controller):
- id = 'validateform'
+ __regid__ = 'validateform'
def response(self, domid, status, args, entity):
callback = str(self.req.form.get('__onsuccess', 'null'))
@@ -232,7 +232,7 @@
class JSonController(Controller):
- id = 'json'
+ __regid__ = 'json'
def publish(self, rset=None):
"""call js_* methods. Expected form keys:
@@ -539,7 +539,7 @@
class SendMailController(Controller):
- id = 'sendmail'
+ __regid__ = 'sendmail'
__select__ = match_user_groups('managers', 'users')
def recipients(self):
@@ -588,7 +588,7 @@
class MailBugReportController(SendMailController):
- id = 'reportbug'
+ __regid__ = 'reportbug'
__select__ = yes()
def publish(self, rset=None):