Re: [Zope-dev] Bug in DateTime.py

2000-08-08 Thread Steve Alexander
Karsten Petersen wrote: Hi, today I had *very* strange effects with the following code: dtml-let bla="_.DateTime('2000/08/08')" dtml-var blabr dtml-var expr="bla.parts()"br dtml-var expr="bla.strftime('%Y/%m/%d')"br /dtml-let on my

Re: [Zope-dev] Acquisition Confusion :S

2000-08-08 Thread Steve Alexander
Michel Pelletier has reminded me that we need a security check by containment at each point in the search through context. So, in my example, the search will look like this: / |-Aa | |-B b | |-Xx | |-P p1 | |-Y y | |-Pp0 Context-first Acquisition (P

[Zope-dev] DB Connection Question

2000-08-08 Thread Andre Schubert
Hi, I have written a Product the uses a Databaseconnection to MySQL, that works fine. but the connection in coded into my Product, and now i want to use a Zope DatabaseConnection added to the same folder. How does this works, it is very important for me, because we want to change to another

Re: [Zope-dev] RE: [Zope] ZPatterns Question

2000-08-08 Thread Phillip J. Eby
At 01:57 PM 8/8/00 +0200, RC Compaan wrote: I've added a propertysheet called "properties" to my ZClass and i notice there is Persistent Sheetprovider under the default rack already. The Sheetprovider has properties Sheet_Names and Sheet_Namespaces. I guess Sheet_Names should refer to the

[Zope-dev] Feedback requested on SkinnableAndLocalizableObjects

2000-08-08 Thread Martijn Pieters
A few days ago, I requested for some feedback on the SkinnableAndLocalizableObjects project, and got exactly none! I cannot believe that I put down a flawless design here that nobody has anything to add to. A few days more, and the implementation I'll have will be much harder to fit your ideas.

Re: [Zope-dev] Acquisition Confusion :S

2000-08-08 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] Who would be best to ask why it was set up the way it is? I'm sure there are very good reasons for it but the search order in all but the simple cases is very confusing and not as useful as it could be. How much more work would it be to implement the

Re: [Zope-dev] ZPatterns Question

2000-08-08 Thread Phillip J. Eby
At 06:07 PM 8/8/00 +0100, Steve Alexander wrote: "Phillip J. Eby" wrote: Actually, neither relates. Property sheets created on ZClasses always have their data stored in attributes of the object itself, so if you want to control those property sheets you would not use a sheet provider at

Re: [Zope-dev] RE: [Zope] ZPatterns Question

2000-08-08 Thread Peter Toneby
Hi guys, I'm trying to make a simple guestbook using ZClasses and ZPatterns, I suppose this is somewhat overkill, and would be alot easier to do using SQL, but it's for the sake of knowledge (as is everything I do). So I read the IRC-log and msegarra asked a question regarding storing a ZClass in

[Zope-dev] remote procedure calls to manage functions

2000-08-08 Thread andrew
Have been delving into ZPublisher.Client to make remote procedure calls under Zope 2.2.1. Many of the manage_... functions work just fine through this interface (once the obvious bug on line 212 of Client.py is fixed, anyway ;-). Check out the example utilities/load_site.py if you want to get

[Zope-dev] Weird Data.fs corruption...

2000-08-08 Thread Carl Robitaille
Hi everybody, I looked around the Zope site and mailing lists, but I wasn't able to find an answer to my problem. I'm using the CVS version of Zope2. I did an update yesterday. Since then, there's been some commits. I just started my web site project using Zope running with

[Zope-dev] Bug in DT_In.py, still using collector? Here's a patch

2000-08-08 Thread Brad Clements
In Zope 2.2.0 If you have a bug in your DTML in a dtml-in xx next block, you don't see the bug. DT_In assumes that you just don't have more records to see. DT_In.py, around line 545 This code: elif next: try: # The following line is a sneaky