diff roundup/cgi/templating.py @ 3549:f6719836e521

allow dispname to be passed to renderWith [SF#1424587] rename dispname to @dispname to avoid name clashes in the future force demo.py to have web debugging on (since it can't mail errors)
author Richard Jones <richard@users.sourceforge.net>
date Wed, 08 Feb 2006 04:03:54 +0000
parents 75dc225613cc
children a27124aceb69
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Wed Feb 08 03:47:28 2006 +0000
+++ b/roundup/cgi/templating.py	Wed Feb 08 04:03:54 2006 +0000
@@ -2155,6 +2155,11 @@
                 self.special_char = name[0]
                 self.startwith = int(self.form[name].value)
 
+        # dispname
+        self.dispname = None
+        if self.form.has_key('@dispname'):
+            self.dispname = self.form['@dispname'].value
+
     def updateFromURL(self, url):
         ''' Parse the URL for query args, and update my attributes using the
             values.

Roundup Issue Tracker: http://roundup-tracker.org/