--- a/web/formfields.py Wed Aug 05 09:05:40 2009 +0200
+++ b/web/formfields.py Wed Aug 05 09:10:32 2009 +0200
@@ -270,6 +270,7 @@
fkwargs['choices'] = fcstr.vocabulary(req=req)
fkwargs['internationalizable'] = True
fkwargs['initial'] = lambda f: f.form_field_format(self)
+ fkwargs['eidparam'] = self.eidparam
field = StringField(name=self.name + '_format', **fkwargs)
req.data[self] = field
return field
@@ -494,6 +495,7 @@
help = rschema.rproperty(targetschema, eschema, 'description')
kwargs['required'] = card in '1+'
kwargs['name'] = rschema.type
+ kwargs['eidparam'] = True
kwargs.setdefault('help', help)
if rschema.is_final():
if skip_meta_attr and rschema in eschema.meta_attributes():