[Zope-dev] Custom dtml tag

2000-09-11 Thread Andy McKay
Im playing with a custom dtml-tag along the lines of constructs a url to a catalog query. It works fine, I would just like to extend it a bit and for this I would need to get to the calling object. For example, there will be a different query depending upon the object the dtml-query tag is conta

[Zope-dev] Back from the dead & xmlc

2000-09-11 Thread Jason Spisak
Zope Devers, THis is going to seem strange coming from someone who hasn't been on the list in a long time, but I was at the Linux Expo in San Jose, and sat in on a Web app talk. Lutris was in charge of the panel, and they talked about xmlc. I went to their booth and asked about it. I think it c

[Zope-dev] Bug in OFS/Traversable.py

2000-09-11 Thread David Alexander Ranvig
The unrestrictedTraverse method creates a fake REQUEST "object" (really a dictionary) and sends this to a __bobo_traverse__. If this __bobo_traverse__ uses the object properties of the REQUEST object, or needs the real REQUEST object it will fail. If __bobo_traverse__ raises an exception while b

Re: [Zope-dev] PATH_TRANSLATED delimted with backslash ?

2000-09-11 Thread Steve Alexander
Dieter Maurer wrote: > > Steve Alexander writes: > > > > When I look at the DTML Document through the web, the "self" object > > passed to the breadcrumbs external method is the folder that contains > > the DTML Document. > > (I thought that should only be the case for DTML Methods!) >

Re: [Zope-dev] PATH_TRANSLATED delimted with backslash ?

2000-09-11 Thread Dieter Maurer
Steve Alexander writes: > > When I look at the DTML Document through the web, the "self" object > passed to the breadcrumbs external method is the folder that contains > the DTML Document. > (I thought that should only be the case for DTML Methods!) I expect, it is the folder containing

[Zope-dev] User Info Folder Product Released

2000-09-11 Thread Didier Frick
Hi all, I just released a Zope product, but since I'm a Zope newbie I'm still wondering whether there is something fundamentally wrong with my idea or not. Could someone check that thing and tell me whether I'm completely off base ? I'm pretty sure there would be a way to solve the same problem

Re: [Zope-dev] is INSTANCE_HOME broken on Win32?

2000-09-11 Thread Evan Simpson
From: Chris Withers <[EMAIL PROTECTED]> > I'm trying to make Squishdot work with INSTANCE_HOME nicely. > However, the testing is going wrong on a normal Win32 Install... > > I had lots of lines that went something like: > > f=open('%s/Products/%s.dtml' % (SOFTWARE_HOME,file)) > > Which gen

[Zope-dev] ZPatterns: Error reimporting .zexp containing Folder w/ CustomizerSupportSupport

2000-09-11 Thread Steve Alexander
I have a customizer folder with various data-plugins and customizers. I just exported it from one zope installation, for importing into one on a different server. The installations are more or less identical -- same zope version, same products. When I try to reimport it, I get the following err

RE: [Zope-dev] Z SQL Method Patch

2000-09-11 Thread T.J. Mannos
Casey, I just wanted to thank you very, very, VERY much for that tip! I've spent far too many hours debugging very long, complex Z SQL methods. This will be an enormous help! By the way, it works like a charm on ZMySQLDA. Thanks! - T.J. -Original Message- From: [EMAIL PROTECTED] [mai

[Zope-dev] Re: ZPatterns: Error: User error! :-/

2000-09-11 Thread Steve Alexander
Steve Alexander wrote: > > I have a customizer folder with various data-plugins and customizers. > File lib/python/Products/ZPatterns/Providers.py, line 178, in > namesForRegistration > (Object: PlugInBase) > TypeError: (see above) > > I'll start to look into this. > > Any advice woul

[Zope-dev] is INSTANCE_HOME broken on Win32?

2000-09-11 Thread Chris Withers
Hello :-) I'm trying to make Squishdot work with INSTANCE_HOME nicely. However, the testing is going wrong on a normal Win32 Install... I had lots of lines that went something like: f=open('%s/Products/%s.dtml' % (SOFTWARE_HOME,file)) Which generates: E:\Zope\2.2.0\lib\python/Pro