[z3-five] Formlib custom template - AttributeError: debug.

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Fri Feb 16 12:30:46 CET 2007


>
> I managed to get things working by using the following:
>
> from Products.Five.browser import pagetemplatefile
> from plone.app.form._named import named_template_adapter
> _template = pagetemplatefile.ViewPageTemplateFile('pageform.pt')
> default_named_template_adapter = named_template_adapter(_template)
>   
Huh... I've even seen named_template_adapter code
in plone core before but was not sure how to use this.
Thanks

-- 
Maciej Wisniowski


More information about the z3-five mailing list