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 objects in the containment hierarchy. At this particular part in the code it is just about converting from/to widget/field value. So ignoreContext/ignoreRequest are not used anyway. (at least not to retrieve widget values).
However, maybe it would be better to pass ignoreContex and ignoreRequest to the sub-widget, and let the sub-widget decide whether to ignore the context/request or not. This could especially be useful in other parts of the muti-widget code.
Yes good idea, this makes sense to me. Can you commit this to the trunk with a test?
No sorry, I don't have commit access. I probably can implement the stuff mentioned above, and I can try to figure out a test case. At the end I can send a few patches :). Regards, Gerhard
Regards Roger Ineichen _____________________________ END OF MESSAGE