Re: [Zope3-Users] Reference to a COM object (or other external resource) in a Zope object

2006-05-27 Thread Lennart Regebro
On 5/26/06, Alek Kowalczyk <[EMAIL PROTECTED]> wrote: Do you mean: Global Utilities? He probably ment utilities in general. Then I have a question: global utility is not persistent. But can the G.U. create the object, return it to the local object (some container), and local object inserts it

Re: [Zope3-Users] Calling PageTemplate in Content object

2006-05-27 Thread David Johnson
I have discovered the issue on this one, it seems that calling a method retrieved via "getattr" supresses output and exceptions. On Thu, 2006-05-25 at 12:37 -0500, David Johnson wrote: > I was able to duplicate the example from zope.pagetemplate.readme.txt. > > However I still have 2 problems: >

Re: [Zope3-Users] Namespace/Viewlets

2006-05-27 Thread David Johnson
Ah ha! You've discovered it. I was not inheriting from BrowserView. Thanks! On Sat, 2006-05-27 at 19:36 +0300, Marius Gedminas wrote: > On Fri, May 26, 2006 at 10:54:46PM -0500, David Johnson wrote: > > I have a viewlet named "cart", which can be displayed with the following > > TAL code and re

Re: [Zope3-Users] Namespace/Viewlets

2006-05-27 Thread Marius Gedminas
On Fri, May 26, 2006 at 10:54:46PM -0500, David Johnson wrote: > I have a viewlet named "cart", which can be displayed with the following > TAL code and rendered via : > > is indistinguishable from class FooView(BrowserView): index = ViewPageTemplateFile("foo.pt") def __cal