[Zope-dev] catalogaware dtml document

2000-05-21 Thread Sin Hang Kin
Is it possible (worth?) to make dtml-document catalogue aware by default? Or to allow the creater to decide this behavior by setting a property? Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ Zope-Dev

[Zope-dev] Create an empty DTML Method

2000-05-21 Thread Lindell Alderman
I want to write some dtml code that will add a DTML method that is totally empty. The add_DTMLMethod method in Zope puts in the default Zope content. How do I avoid that? -L ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] authorization and SQL-methods

2000-05-21 Thread Peter Toneby
Hi I'm using the latest cvs-version of Zope and I seem to not be able to acces ZSql-methods, I get the login-box, but I can't login as anyone (I have tried to login as superuser, myself (owner/manager) and not at all, but all I get is not authorized. The methods do work in management-mode, but

[Zope-dev] ZSQL methods inside of ZClasses

2000-05-21 Thread Lindell Alderman
I want to create a ZClass that will incorporate a number of ZSQL methods. I have a couple of questions about how I should do this. 1. I don't want to tie my ZClass to a particular database adapter. But to create my ZSQL methods inside of my zclass I need a connection. How do I circumvent this?

[Zope-dev] Re: Re: [Zope-dev] ZPatterns framework improvements

2000-05-21 Thread Phillip J. Eby
At 03:51 PM 5/21/00 -0400, Tres Seaver wrote: This is really just the classic Observer pattern, a la GoF Design Patterns. "ObjectAdded" and "ObjectRemoved" are events a "RackObserver" would register for; "AfterCreate", "Changed", and "BeforeDestroy" are events of the "hosted" object itself.