Hi Gerhard
Betreff: [Zope-dev] z3c.form pass context to multi widgets in
MultiConverter
Hi,
some widgets may require a valid context to work properly.
one such widget is z3c.formquery.
The attached patch passes the current widget's context to the
sub widgets during data conversion
Hi Roger,
Roger Ineichen wrote:
Hi Gerhard
Betreff: [Zope-dev] z3c.form pass context to multi widgets in
MultiConverter
Hi,
some widgets may require a valid context to work properly.
one such widget is z3c.formquery.
The attached patch passes the current widget's context to the
Hi Gerhard
Betreff: Re: AW: [Zope-dev] z3c.form pass context to multi
widgets in MultiConverter
[...]
If this makes sense, the patch should probably do soemthing like:
if not widget.ignoreContext
widget.context = widget.form.context
This whould prevent to set an ignored
Hi Roger,
Roger Ineichen wrote:
I'm really not sure if this is working, but does this make
sense to you?
Regards
Roger Ineichen
Thanks for the comment. For this particular use case it won't
work without the context,. The context is used to look up
further