Re: [Zope] Something missing in Python Methods

2001-01-02 Thread Pierre-Julien Grizel
Hi, Curtis... You're right for the word "method"... But that's in fact why they are not called "methods" anymore ! :-)) Don't blame Python Script team : it's a non-trivial problem, both for security and... feasibility reasons ! I don't know wether it actually works for Python Methods, but

Re: [Zope] UNEXPECTED: Acquisition.Explicit may acquire implicitly

2001-01-02 Thread Pierre-Julien Grizel
Dieter Maurer wrote: While trying to understand, what the "bself= self.aq_explicit" in "OFS.DTMLMethod.__call__" should do, I detected an unexpected behaviour: usually, this "bself" acquires implicitly from its container (though not from its context) More precisely: if

Re: [Zope] The meaning of Zope

2000-12-27 Thread Pierre-Julien Grizel
Takashi Veikko Linzbichler wrote: Bill Welch wrote: Here's what some Americans think it means. From ARTFL Project, Webster's 1913 Unabridged at http://humanities.uchicago.edu/forms_unrest/webster.form.html Zope (?), n. [G.] (Zoöl.) A European fresh-water bream (Abramis ballerus).

Re: [Zope] The meaning of Zope

2000-12-26 Thread Pierre-Julien Grizel
From Paul, Zope is a britain word, taken in an English/Britain dictionnary... Paul, can you give us the actual meaning of "Zope" in Britain ? Thanks, P.-J. Bob Sidebotham wrote: From http://www.kabalarians.com/male/zope.htm Zope Your first name of Zope has given you an

[Zope] [OT] New kind of Bud Wazzup ad ?

2000-12-22 Thread Pierre-Julien Grizel
What about making a "wazzup" remake but saying WAZZZOPE ? (just kidding) P.-J. dtml-true, dtml-true... -- If the only tool you have is a hammer, you tend to see every problem as a nail. Si le seul outil dont vous disposez est un marteau, vous avez tendance à voir chaque

[Zope] Publish.py / publish hack

2000-10-30 Thread Pierre-Julien Grizel
Hi, I'm using Zope 2.2.2 and for some personal reasons I need to patch the publish function from Publish.py. I used the usual __init__.py straegy to patch ZPublisher : from MyModule import Mypublish import ZPublisher.Publish from ImageFile import ImageFile # Patch the original publish

Re: [Zope] Reverse SendMail Question

2000-10-26 Thread Pierre-Julien Grizel
[EMAIL PROTECTED] wrote: Has anyone thought of using SendMail (or any other e-mail program) to send e-mail to Zope and have that e-mail be loaded directly into a specific folder (say, based on the e-mail address or subject line)? This would be handy to keep track of e-mail. All the

Re: [Zope] display owner [repost]

2000-10-26 Thread Pierre-Julien Grizel
Patrick Koetter wrote: Hi all, I posted this the last days, but didn't get quite what I needed. I'm looking for a way to get the Owners Name of an object (e.g. DTML-Method or -Document etc.) in order to display this to the surfers when they drop by. I've searched through zope.org

Re: [Zope] IIS and Zope share same problem :-S

2000-10-20 Thread Pierre-Julien Grizel
Hum... A possible way to solve this problem is to practice the "you can't do ANYTHING but..." policy... And, thus, according proxy roles to the methods that must access it, such as index_html. I know it's constraining but with a little work we can end up with something quite secure secret.

[Zope] [OT ?... HTTP ?...] redirect W/ POST data

2000-10-17 Thread Pierre-Julien Grizel
Hi, [This message may be off-topic Sorry...] I know how to do a RESPONSE.redirect with GET data (very easy : RESPONSE.redirect ('url?data=valueso_on=xxx'). But I'd like to do the same with POST data, that is, data that doesn't show up in the URL. I suppose there is a way to feed

[Zope] Still need help about Product namespace

2000-10-10 Thread Pierre-Julien Grizel
Hi, I still need help about my product needing to know its namespace... Look at the following piece of DTML Meth/Doc : dtml-let STRING="'Hello, world !'" dtml-var MyProduct /dtml-let Right. MyProduct is my product's instance, defining the following method : def __call__

[Zope] Namespace within a product... (argh...)

2000-10-10 Thread Pierre-Julien Grizel
Well, beeing very straightforward, I read this, in OSFP/Help/DTMLDocument.py : """ A DTMLDocument implicitly pass itself as a client argument in addition to the specified client, so names are looked up in the DTMLDocument itself. Passing in a namespace to a

Re: [Zope] Still need help about Product namespace

2000-10-10 Thread Pierre-Julien Grizel
Toby Dickenson wrote: On Tue, 10 Oct 2000 10:51:09 +0200, Pierre-Julien Grizel [EMAIL PROTECTED] wrote: I still need help about my product needing to know its namespace... You also need to read the answers already provided. http://www.zope.org/Members/htrd/howto/FunctionTemplate

[Zope] Name lookup emulation with a Product

2000-10-05 Thread Pierre-Julien Grizel
Hi, I'd like to perform a name lookup inside a product, relying on acquisition, property and REQUEST lookups. In fact, I want to use the DTML Reference / Table 7 schema to look-up variables. I know how to perform REQUEST lookups. I know how to perform object properties lookups. I know how to

Re: [Zope] Name lookup emulation with a Product

2000-10-05 Thread Pierre-Julien Grizel
Chris Withers wrote: Pierre-Julien Grizel wrote: Hi, I'd like to perform a name lookup inside a product, relying on acquisition, property and REQUEST lookups. Are you talking about a python product's __call__ method, by any chance? Chris Ahem... Not exactly... I want my

Re: [Zope] Name lookup emulation with a Product

2000-10-05 Thread Pierre-Julien Grizel
Chris Withers wrote: Pierre-Julien Grizel wrote: I want my product to be callable with two method, say "m1" and "m2", that perform different tasks. How would these methods be called? Chris Well, I've got my product P somewhere in my object hierarchy.

[Zope] _ in a product

2000-10-05 Thread Pierre-Julien Grizel
Hi, Correcting my earlier post, I'd "simply" like to have a way to get the _ (namespace) variable in a product method. Currently, I use the following syntax : dtml-var "product.method (_, 'Hello, world !')" to pass _ to my product. It works, but. Reminds me of the great times when my

[Zope] Object serialization between different pages

2000-09-12 Thread Pierre-Julien Grizel
Hi, Is it possible to serialize an object to share it across several pages ? This would allow one to pass the serialized object via the URL, and to retreive it in the form that would process the request. I know there is the pickle function in python, but is there a more Zopish way to do this ?

[Zope] Images slow rendering problem

2000-09-04 Thread Pierre-Julien Grizel
Hi, I already posted this message several monthes ago, expecting a new Zope version would fix the problem, but... I have some images on my pages (let's say 10 - not a lot), rendered either by dtml-var or a manual IMG tag. When I render the page on some of my LAN boxes (especially with IE),

Re: [Zope] Images slow nor not rendering?

2000-09-04 Thread Pierre-Julien Grizel
Chris Withers wrote: Pierre-Julien Grizel wrote: I have some images on my pages (let's say 10 - not a lot), rendered either by dtml-var or a manual IMG tag. When I render the page on some of my LAN boxes (especially with IE), some images doesn't load at the first time. I need to reload

Re: [Zope] Patch for Netscape 'tree' bug?

2000-08-18 Thread Pierre-Julien Grizel
** Reply to message from [EMAIL PROTECTED] on Fri, 18 Aug 2000 04:36:34 +0100 (BST) If it was the www.xlogx.org patch, yeah, I know the website is down (because of a silly man who tried to use Java servlets with Apache, and who broke my Apache conf files...), but I can email it to anyone asking

Re: [Zope] Patch for Netscape 'tree' bug?

2000-08-18 Thread Pierre-Julien Grizel
** Reply to message from [EMAIL PROTECTED] on Fri, 18 Aug 2000 04:36:34 +0100 (BST) [Hoping you didn't receive my previous message.] If you talk about the www.xlogx.org patch, I've made the site available again, you can find it at http://www.xlogx.org/Zope/TreeTag.query_expr.patch Be

[Zope] Zope LDAP Browser

2000-06-05 Thread Pierre-Julien Grizel
Hi, I wrote in my spare time a LDAP browser with Zope. You can try it at www.xlogx.org/Zygopetale (it's available in french english). You can try it with the default parameters or with an LDAP database of your own (with write access ?...). Please don't rely on my server's speed, it's hidden

[Zope] Zope LDAP Browser/Editor

2000-06-05 Thread Pierre-Julien Grizel
Hi, I wrote in my spare time a LDAP browser with Zope. You can try it at www.xlogx.org/Zygopetale (it's available in french english). You can try it with the default parameters or with an LDAP database of your own (with write access ?...). Please don't rely on my server's speed, it's hidden

Re: [Zope] Zope LDAP Browser

2000-06-05 Thread Pierre-Julien Grizel
.xlogx.org/Zygopetale P.-J. Timothy Wilson wrote: On Mon, 5 Jun 2000, Pierre-Julien Grizel wrote: I wrote in my spare time a LDAP browser with Zope. You can try it at www.xlogx.org/Zygopetale (it's available in french english). I can't find any sign of an xlogx.org domain. Am

[Zope] dtml-tree query_expr=xxx PATCH !

2000-05-31 Thread Pierre-Julien Grizel
Hi ! In order to solve the problem I mentionned two days ago about the dtml-tree tag with non-persistant REQUEST.form data, I wrote a patch to apply to the Zope 2.1.6 root source path. It just adds a new tag attribute, "query_expr", to the dtml-tree tag, and you can assign this attribute

[Zope] dtml-tree and REQUEST.form

2000-05-30 Thread Pierre-Julien Grizel
Hi, I'm currently implementing a tree using... dtml-tree. In the document I use, I just have the tree and a table which desplays results according both to the tree state and some form data (passed through REQUEST.form). I.e. my URLs should look like the following :