cswank <[EMAIL PROTECTED]> writes: > Thanks, Daniel. I tried to implement what you suggested and am still running > into problems. > > First of all, when I overwrite the viewlet's __call__ method, it does not > get called. So instead I tried creating a method and calling it from the > template for the viewlet. I set a ipdb trace there and tried following what > they do in the z3c.form doctest to create a form and get the html from it:
I forgot you need to call plone.z3cform.z2.switch_on. You may also want to look at how it's done in plone.z3cform.layout (or use that altogether, and forget about switch_on). -- Daniel Nouri - http://danielnouri.org _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
