(Wed, Jul 19, 2006 at 12:00:09PM -0400) zope-request@zope.org 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
participants (1)
-
Sascha Welter