Reinout van Rees wrote:
Michael Hierweck schreef:
[..]
Up to now I thought statements like
render = ViewPageTemplateFile("xyz.pt")
__call__ = ViewPageTemplateFile("xyz.pt")
as if found them in Plone 3 for Viewlets and Portlets and other
resources were good, modern style and best practice.
Yes, you see them all over the place and they work well.
Right until you want to customize it.
Isn't that what jbot is all about?
Raphael
Easiest would be to just copy the
original zcml (perhaps change relative dotted paths to absolute ones)
and to change the template your customized one.
Doesn't work with all that "render =.....".
Standard reply: "that will never need to be customized". That's the same
as "my dog never bites someone, don't worry" (and the accompanying "hey,
he's never bitten someone before!").
Reinout
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers