[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.

RE: [Zope] Memory creep

2000-05-21 Thread Chris McDonough
John, If you can figure out how to use them, the pair of methods implemented on the Control_Panel named "manage_debug" and "manage_profile" might help you... e.g. http://yourserver/Control_Panel/manage_debug . I can't give much in the way of explanation of them, there might be some good

Re: [Zope] ZScheduler

2000-05-21 Thread Loren Stafford
What happens when you execute the event's "trigger" method from the browser's location line? e.g. http://my.site.dom/my_scheduled_method/trigger -- Loren In article 000101bfc01a$1ec3e2e0$[EMAIL PROTECTED], Loren Stafford [EMAIL PROTECTED] writes You can try out ZScheduler on Windows (I

Re: [Zope] SQLSession vs FSSession for ultra-high scalability and speed.

2000-05-21 Thread chas
Thank you very much for the comprehensive and speedy reply, J. Let me give it a try (or just dump all of what I know). Much more than I expected - and greatly appreciated. Thank you. First of all it looks like you are going to want ZEO. If you don't know ZEO, get to know ZEO, it fits

[Zope] Zclass inheritence

2000-05-21 Thread John Morton
What does a product need to do in order to be a base class for a ZClass? Can another Zclass act as a base class for a ZClass? If not, why not? John ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] Zclass inheritence

2000-05-21 Thread Chris McDonough
What does a product need to do in order to be a base class for a ZClass? It needs contain a class that is registered as a base class in the product's __init__.py "initialize()" method via "context.registerBaseClass()" e.g. context.registerBaseClass(ZCatalog.ZCatalog) See

RE: [Zope] Calling External Method...

2000-05-21 Thread Eric L. Walstad
// Am I on the right track with this? Shouldn't it be easy ( secure) to // launch a C app on the server and pipe the results back to // Zope? If so, how. // The approach I took (above) was recommended by someone else on // the list. // // I think you should probably make sure the function