[Zope] permission settings do not work like expected

2000-08-02 Thread cuiod-tec Jens Gelhaar
Hi, I use zope 2.2.0 and I've got a problem with permission settings. When I try to limit the permissions for user to add only on type of objects to a folder then I get always two types back: - the one, which I like - and "Z Gadfly Database Connection" I used a local rule and discarded all "Acqui

[Zope] permissions and ODBC

2000-08-08 Thread cuiod-tec Jens Gelhaar
I use zope 2.2.0 and ZODBC-3.1.0b2. I get a strange behavior with ODBC access and permissions. To keep it simple, I have an ODBC-Connection and a SQL-Method. When I execute the SQL-Method everything works fine. When I call the same method from within an DTML-document I get asked for a password and

[Zope] Looking for different style

2000-08-14 Thread cuiod-tec Jens Gelhaar
I need a better way to render a DTMLDocument and store the result in variable than but I do not like the style, it looks clumsy. Is there an another way? I would think something like documentname(...), but the acquisition does not work. Thanks Jens _

[Zope] Re: Re: permissions and ODBC

2000-08-14 Thread cuiod-tec Jens Gelhaar
Hi Michel, I solved this, but I am not completely sure why. It has something to do with the new 2.2.0 feature of Trojan horses preventing I think (which I learned after hours of searching around). The final problem was the owner-settings. Lets assume you have the following structure root root_a

[Zope] __call__ error message - I gave up

2000-08-16 Thread cuiod-tec Jens Gelhaar
What I like to do is pretty simple, but I don't get it. The following code snippet is simple and what I want to is straightforward: All DTML Documents in a Folder should be put together in one document. It works fine, if there is no reference to another object. But when I put something like

[Zope] I think, it is a bug in acquisition

2000-08-16 Thread cuiod-tec Jens Gelhaar
Maybe I have found a situation, where images are not working or rather acquisition. For example, you create 2 documents and one image doc1 (DTML Document) contents: "document 1 doc2 (DTML Document) contents: "document 2 image (Image) contents: image When you put everything

[Zope] A strange difference between DTMLDocument versus DTMLMethod Zope 2.2.2

2000-09-20 Thread cuiod-tec Jens Gelhaar
The following few lines have a different result, when I execute it within an DTMLDocument or DTMLMethod. The DTMLMethod result looks like it should be, but within a DTMLDocument the result is empty. When I modify the tag slightly, then it works to I does not seem to me consistent. Is