[Zope-dev] Re: SessionManager, BerkeleyDB, and license compatability

2000-10-13 Thread Stefane Fermigier
On Thu, Oct 12, 2000 at 12:00:07PM -0700, [EMAIL PROTECTED] wrote: From: Toby Dickenson [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: James Wilson [EMAIL PROTECTED] Subject: [Zope-dev] SessionManager, BerkeleyDB, and license compatability Date: Thu, 12 Oct 2000 15:04:28

Re: [Zope-dev] Xron fragility

2000-10-13 Thread Toby Dickenson
Yes, using Client.py was the easiest way to do that. The biggest problem with Client.py is its dependency on HTTP. If your server is set up to only accept HTTPS, then you can't use Xron -- not a desirable trade-off. If security is the problem, you could configure the HTTP part to listen only on

[Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Chris Withers
Jim Fulton wrote: snip __call__ stuff Okay, this is almost the same, but apparently not the same. I have a Python Product Class, with a method, a_method, that gets called from some of the Python Product's management screens (encapsulation is good ;-) This method needs several parameters from

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Toby Dickenson
On Fri, 13 Oct 2000 11:48:39 +0100, Chris Withers [EMAIL PROTECTED] wrote: I have a Python Product Class, with a method, a_method, that gets called from some of the Python Product's management screens (encapsulation is good ;-) This method needs several parameters from the namespace, so when

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Chris Withers
Toby Dickenson wrote: http://www.zope.org/Members/htrd/howto/FunctionTemplate you would use def a_method(self,md): do_stuff_with(md['param1'],md['param2']) a_method = FunctionTemplate(a_method) That looks like it'll do the trick... I wonder if there's any way you can

RE: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Toby Dickenson
That looks like it'll do the trick... I wonder if there's any way you can role it up into a Product so that I don't need to have FunctionTemplate.py in each folder of a product that needs to use it? Im working on a set of tools to aid my transition to a dtml-free Zope. Eventually I will

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Chris Withers
Toby Dickenson wrote: That looks like it'll do the trick... I wonder if there's any way you can role it up into a Product so that I don't need to have FunctionTemplate.py in each folder of a product that needs to use it? Im working on a set of tools to aid my transition to a dtml-free

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Chris Withers
Toby Dickenson wrote: http://www.zope.org/Members/htrd/howto/FunctionTemplate you would use def a_method(self,md): do_stuff_with(md['param1'],md['param2']) a_method = FunctionTemplate(a_method) Okay, spoke too soon... when I do the above and then call the method

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Chris Withers
Jim Fulton wrote: In any case, if you *just* want to get your function to be called from DTML (and your class is an extension class), you can give it the isDocTemp attribute like so: class MyClass( include some extension class ...): some_methodisDocTemp=1 def

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Shane Hathaway
Jim Fulton wrote: Chris Withers wrote: Toby Dickenson wrote: http://www.zope.org/Members/htrd/howto/FunctionTemplate you would use def a_method(self,md): do_stuff_with(md['param1'],md['param2']) a_method = FunctionTemplate(a_method) That looks

Re: [Zope-dev] Thanks for the comments

2000-10-13 Thread Josh Zeidner
WROX contacted me a while back saying they wanted to do a Zope book as well. Does anyone know anything about this? -josh Just thought we'd mention that we have gotten lots of great comments on the Zope book so far, especially in the last week or so. You're all helping make it a better

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Jim Fulton
Shane Hathaway wrote: Jim Fulton wrote: Chris Withers wrote: Toby Dickenson wrote: http://www.zope.org/Members/htrd/howto/FunctionTemplate you would use def a_method(self,md): do_stuff_with(md['param1'],md['param2']) a_method =

Re: [Zope-dev] Wrox Book

2000-10-13 Thread Brad Clements
On 13 Oct 2000, at 15:59, Chris Withers wrote: Josh Zeidner wrote: WROX contacted me a while back saying they wanted to do a Zope book as well. Does anyone know anything about this? -josh Yeah, that project has just been pulled, I think ;-) Pulled as in cancelled? -Brad

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Shane Hathaway
Jim Fulton wrote: The fact that ZPublisher will pass it is documented. Whether or not something else calls it is up to the something else. The method designer specified an interface that includes RESPONSE. If it requires RESPONSE, by not specifying a default, then it requires the clients to

[Zope-dev] WriteLocking Proposal Revisited. Again.

2000-10-13 Thread Jeffrey P Shell
WriteLocking http://dev.zope.org/Wikis/DevSite/Proposals/WriteLocking Revisited and rewritten again after some internal discussions and a decision to ensure that the proposed Write Locking for WebDAV behaves in a matter that the clients (particularly the more popular ones) expect. There's less

[Zope-dev] Re: FW: [Support] [ZOPE Collector] Zope Bug entry: Ghost ZClasses

2000-10-13 Thread Shane Hathaway
Brian Lloyd wrote: A new bug entry was added with the following information: Title: Ghost ZClasses At: http://classic.zope.org:8080/Collector/1676/sview Submitter: lalo Email: [EMAIL PROTECTED] Description: Some ZClasses in a ZODB migrated from 2.1.6 did not handle the

[Zope-dev] Programatically trying to create recursive folders

2000-10-13 Thread Jason Spisak
Zopists, In orderto get around the confliting writes issues I am experiencing, I would like to create recrusive folders like, /0/1, /0/2, etc., so that my objects will be in many different folders. I am trying to get DTML to create these pre-set drop folders automatically, but am unable to do