(Wed, Jul 19, 2006 at 12:00:09PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: > Subject: Re: [Zope] Catalog aware
Andreas Jung wrote: > > It makes little sense to index the contents of PTs. PTs are used to > > present a view on a particular instance of your class but not for > > providing content > > itself. Garito wrote: > I think it's a question of preferences > > Then can I "inject" Catalog awarness to an object? ... more on subclassing and monkeypatching in further mails. Garito, please reread Andreas words. They are wisdom of the masters and not to be ignored. What would you want to catalog from the Page Template? The <html>, <body> and <div> tags? The tal:content attributes? Not these? But there is nothing else in there. There should be *no* content in the page template. If there is then *you are doing something wrong* and you will pay a heavy price down the road. Stop what you are doing and think about doing it in a better way. Regards, Sascha _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )