[Zope3-dev] Re: AW: override metadirectives before use them not afterwards

Philipp von Weitershausen philipp at weitershausen.de
Mon Apr 26 01:59:50 EDT 2004


Roger,

Stephan Richter wrote:
>>If there is no way for to support override meta directives,
>>you will see some kind of monky patch like in Zope2 for
>>to replace just templates like contents.pt ;-( wuaaa.
> 
> Nope, not necessary. You simply do not have to use the containerView 
> directive. Register your custom views one by one or write your own directive. 
> "containerView" is a short-cut to get results quickly, if you intend to have 
> the standard look and feel.
> 
> I doubt it that we will ever support overriding meta directives.

Indeed, we won't have to. I recommend, if you need to override a 
directive, create a new one in a different namspace, e.g.

   <roger:containerView ... />

Philipp




More information about the Zope3-dev mailing list