[Zope] how to get absolute url from a ZCatalog-brain

2005-10-24 Thread robert rottermann
hi there, is there a way to get the absolute url from a brain returned by a catalog serch without waking the object up. brain.absolute_url() returns the catalog's url. thanks Robert ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/list

[Zope] Re: use Data.fs from mountpoint B to "populate" mountpoint A - how?

2005-10-24 Thread Christoph Berendes
Sorry and thanks. I've found that the when I initially create a separate mount point and Data.fs file with mountpoint /original and then copy Data.fs to ../newlocation this almost works: mountpoint /newlocation:/original It works, in that I can navigate through the ZMI, but it fails in that

Re: [Zope] Re: Linux/unix preferences question

2005-10-24 Thread Fred Drake
On 10/24/05, Gary Kahn <[EMAIL PROTECTED]> wrote: > I will take a good look at ubuntu before deciding. I am also considering > KRUDserver. > http://www.tummy.com/Products/krudserver/ Many of us at Zope Corp develop on Ubuntu and MacOSX. I think all of our commercial hosting runs on Centos, so KR

Re: [Zope] Re: Linux/unix preferences question

2005-10-24 Thread Gary Kahn
Thanks for the info, that is some good advice.  I am currently deciding which platform to migrate to (Linux or OpenBSD).  Apple has let me down and I want to get off it as soon as possible.  When you find *BSD specific bugs, how long does it take for them to be fixed? Given that most developers are

Re: [Zope] database connections from external method

2005-10-24 Thread Vangelis Mihalopoulos
Tino Wildenhain wrote: I want to have full access rights on the database through the external methods. Usually you dont want that. Yes, usually i don't. Sane security constrains on database save you a lot mistakes if done right. You can also use views and stored functions to further tigh

Re: [Zope] REQUEST.form variables order

2005-10-24 Thread Tino Wildenhain
Krzysztof Kubacki schrieb: On 24 Oct 2005, at 14:03, Krzysztof Kubacki wrote: How to change it? I would like to have variables in the same order as I put them into internet form. You can't. REQUEST.form is a dictionary. They are, by definition, unordered. Why do you need them ordered? What

Re: [Zope] REQUEST.form variables order

2005-10-24 Thread Andreas Jung
--On 24. Oktober 2005 15:19:45 +0200 Krzysztof Kubacki <[EMAIL PROTECTED]> wrote: But the thing is that I don't have guarantee that user will not replace fields in the internet form(there is a possibility). AFAIK there is no specification that requires form parameters to be submitted in

Re: [Zope] REQUEST.form variables order

2005-10-24 Thread Krzysztof Kubacki
>> On 24 Oct 2005, at 14:03, Krzysztof Kubacki wrote: > >>> How to change it? > >>> I would like to have variables in the same order as I put them into > >>> internet form. > >>> > >> > >> You can't. REQUEST.form is a dictionary. They are, by definition, > >> unordered. > >> > >> Why do you need th

Re: [Zope] REQUEST.form variables order

2005-10-24 Thread Jens Vagelpohl
On 24 Oct 2005, at 13:54, Krzysztof Kubacki wrote: Hi my friends :) I've noticed the following situation. When I send internet form onto PythonScript the variables in the REQUEST.form are in the different order that they were as fields in the internet form. I see when I send internet form

[Zope] REQUEST.form variables order

2005-10-24 Thread Krzysztof Kubacki
 Hi my friends :)   I've noticed the following situation. When I send internet form onto PythonScript the variables in the REQUEST.form are in the different order that they were as fields in the internet form. I see when I send internet form by GET method that variables are placed in the righ

Re: [Zope] Question: What Workflow tool to choose?

2005-10-24 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > > --On 21. Oktober 2005 12:18:31 -0400 Robert Boyd > <[EMAIL PROTECTED]> wrote: > >> I've been tasked with rapidly developing a demo for a proposed workflow >> application using Zope. I have plenty of CMF experience including

Re: [Zope] database connections from external method

2005-10-24 Thread Tino Wildenhain
... i don't want him to be able to directly access (read/write) the database i am using. *AFAIK*, ZSQLMethods won't do for this. Then put constraints in on your database, or make the whole connection read-only. I want to have full access rights on the database through the external methods

Re: [Zope] database connections from external method

2005-10-24 Thread Vangelis Mihalopoulos
Chris Withers wrote: Vangelis Mihalopoulos wrote: [zope -> ] (which btw i believe to be very secure) The why do you consider it a risk? I don't really. But when i present my security assessment report saying "Zope has never had a compomising security issue." i'll get the (expected) answ

Re: [Zope] database connections from external method

2005-10-24 Thread Vangelis Mihalopoulos
Chris Withers wrote: Have a look at the ZSQL methods code, I remember this being pretty old and convoluted :-( Ok, thanks! I take a look. Well, i am running zope under root privileges in "read-only" mode. What does this mean? I am opening the ZODB in read-only, using the appropriate par