summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b813ed)
raw | patch | inline | side by side (parent: 5b813ed)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 24 Sep 2002 05:48:06 +0000 (05:48 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 24 Sep 2002 05:48:06 +0000 (05:48 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1225 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/templating.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 06547caad1623544965be8d7d7b3e5acd0758bde..733150dfca90e892972820e6bbb2903587fa1c5e 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
cases (there's a lot of __debug__ use)
- fix :required for Link menus
- import wasn't setting the ID to maxid+1
+- added getItem to HTMLClass so you can access arbitrary items in templates
+- index filtering form values may now be key values too
2002-09-13 0.5.0 beta2
index a2bfc4e46df74a62e393dc2dd6b5e2069304b8fe..8bf2cee7f52e697ba3d80dadcb392b6e8cfbc3b9 100644 (file)
if form.has_key(item):
if isinstance(prop, hyperdb.Multilink):
value = lookupIds(self._db, prop,
- handleListCGIValue(form[item]))
+ handleListCGIValue(None, form[item]))
elif isinstance(prop, hyperdb.Link):
value = form[item].value.strip()
if value:
# filtering
self.filter = []
if self.form.has_key(':filter'):
- self.filter = handleListCGIValue(self.form[':filter'])
+ self.filter = handleListCGIValue(None, self.form[':filter'])
self.filterspec = {}
db = self.client.db
if self.classname is not None:
d.update(self.__dict__)
f = ''
for k in self.form.keys():
- f += '\n %r=%r'%(k,handleListCGIValue(self.form[k]))
+ f += '\n %r=%r'%(k,handleListCGIValue(None, self.form[k]))
d['form'] = f
e = ''
for k,v in self.env.items():