Mercurial > p > roundup > code
diff doc/customizing.txt @ 4464:c62c0f383e41
Fix incorrect setting of template in customizing.txt example action
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 04 Nov 2010 22:52:56 +0000 |
| parents | 386200d0c929 |
| children | d9254d300d6e |
line wrap: on
line diff
--- a/doc/customizing.txt Thu Nov 04 22:34:20 2010 +0000 +++ b/doc/customizing.txt Thu Nov 04 22:52:56 2010 +0000 @@ -4869,10 +4869,10 @@ ''' category = self.form['category'].value if category == '-1': - self.error_message.append('You must select a category of report') + self.client.error_message.append('You must select a category of report') return # everything's ok, move on to the next page - self.template = 'add_page2' + self.client.template = 'add_page2' def init(instance): instance.registerAction('page1_submit', Page1SubmitAction)
