Hi,

How can I do to have getMultiAdapter((myWrappedForm, request),
IAbsoluteURL) working when myWrappedForm is a z3c.form wrapped py
plone.z3cform.layout.FormWrapper?

I've the feeling that something is missing in plone.z3cform to cover
this need. (maybe am I wrong...)

When a z3c.form is wrapped by the FormWrapper class, nothing is done to
mark the z3c.form as wrapped and to give it who is the original form
(the called BrowserView).

Marking the form_instance with a IWrappedForm interface and setting on
it a ??_original_form?? attribute will give us the opportunity to
register a dedicated adapter on IWrappedForm for IAbsoluteURL. The
adapter should only return a call
getMultiAdapter((myWrappedForm.??_oiginal_form???, request), IAbsoluteURL)

What do you think,

Thanks,

sagblmi



_______________________________________________
Framework-Team mailing list
Framework-Team@lists.plone.org
http://lists.plone.org/mailman/listinfo/framework-team

Reply via email to