Carsten Senger wrote: > > You can use a custom FormWrapper that updates your form and does not > render the templates in certain cases. You can find an example in > BadgeFormWrapper. It subclasses the original FormWrapper, calls > FormWrapper.contents() which processes the form completely. Then it checks > an attribute of the form instance and can return pdf data. If the form did > not produce a pdf, it uses the original FormWrapper.__call__ to get the > normal html output. It's here: > <http://svn.plone.org/svn/collective/ploneconf/ploneconf.registration/trunk/src/ploneconf/registration/browser/registrations.py> >
Carsten, Thanks _so_ much! that looks really promising. I am already subclassing the form wrapper to suppress the editing frame, so this will be simple step to take. I'll let you all know how it goes :) c -- View this message in context: http://n2.nabble.com/Traversing-from-a-z3c-form-action-handler-tp4569560p4571668.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
