web/widgets.py
changeset 1227 e8b7c7407edf
parent 1211 90bb6e89e356
child 1263 01152fffd593
child 1609 79ec2b8e6466
--- a/web/widgets.py	Thu Apr 02 11:57:33 2009 -0700
+++ b/web/widgets.py	Fri Apr 03 11:04:27 2009 +0200
@@ -589,7 +589,7 @@
         self.vocabfunc = vocabfunc
 
     def vocabulary(self, entity):
-        choices = self.vocabfunc(entity)
+        choices = self.vocabfunc(entity=entity)
         if self.sort:
             choices = sorted(choices)
         if self.rschema.rproperty(self.subjtype, self.objtype, 'internationalizable'):