[Zope] Problems with Product initialization (was: [Zope] SiteRoot (SiteAccess) problem)

2000-09-10 Thread Dieter Maurer
Joshua Brauer writes: No, I unpacked the tarball in the Products directory. Any more ideas? Any idea how to get SiteRoot to show up on the available items list? To analyse any problem with product initialization, it is probably best to start Zope with "STUPID_LOG_FILE=your log file". Then

Re: [Zope] manage_workspace

2000-09-10 Thread Dieter Maurer
Mechtild Hofmann writes: I'am looking for the source-code from "manage_workspace". Where do I find this file or is it part of a *.py - file ? It is: OFS.PropertySheets.View.manage_workspace Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Problems with export

2000-09-10 Thread Dieter Maurer
Gottfried Ryser writes: I tried to export an opject with the import/export function, but I got the following error msg. File /usr/local/Zope2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_exportObject) File

Re: [Zope] repost : pb with acl_users domains for clients behind a proxy/firewall

2000-09-10 Thread Dieter Maurer
Didier Georgieff writes: Our users are acessing to the Zope server (wich is on the Internet) thru corporate (government) firewall/proxys. Some users in acl_users are declared with a "domain" restriction. wich is a generic "gouv.fr" or "agriculture.gouv.fr". It doesn't seems to be

[Zope] Length of a list (was: [Zope] How does one display document count of a folder?)

2000-09-10 Thread Dieter Maurer
[EMAIL PROTECTED] writes: I am using a script to display the contents of a folder, but I wonder how I might display a document count of the dtml documents in a folder? You want to get the length of a list, in your case the return value of "objectIds". This is a FAQ: you use

[Zope] Modification Posts to the list (was: [Zope] Import from file via management-interface)

2000-09-10 Thread Dieter Maurer
Hi Tino (and other potential patch posters), if possibly, you should not post complete source modules to the list. Instead, you should use either context or uniform differences to the source. Such a difference file is called a patch. Patches have considerable advantages over the complete

[Zope] Object from Object Id (was: [Zope] Get help about variable and entity of Zope.)

2000-09-10 Thread Dieter Maurer
[EMAIL PROTECTED] writes: With DTML,I define a variable AA, and let AA equal a object's ID, HOW can I get the object's property through the variable AA? Maybe need a function? Need your help? I want to express as : dtml-call

Re: [Zope] locale and Splitter.c on FreeBSD - where is the bug ?

2000-09-10 Thread Dieter Maurer
Aleksander Salwa writes: Some time ago I had a problem with locales on FreeBSD. On all machines I'm working on, 'char' is signed. On Linux/x86, isalpha and others works fine with positive and negative values of national characters. (For example, one polish character is '\xc6',

[Zope] Changing list elements (was: [Zope] 2d list manipulation)

2000-09-10 Thread Dieter Maurer
Tim Russell writes: 2 dimensional list access and modification of elements I can easily access the value of an element using: dtml-var "col[index1][index2]" However, the difficulty comes when trying to change the value of one of these elements There is no easy

[Zope] Re: Modification Posts to the list (was: [Zope] Import from file viamanagement-interface)management-interface)

2000-09-10 Thread Tino Wildenhain
Hi Dieter, Dieter Maurer wrote: Hi Tino (and other potential patch posters), if possibly, you should not post complete source modules to the list. Instead, you should use either context or uniform differences to the source. Such a difference file is called a patch. Yes. I know that ;-)

[Zope] Best way to handle SQL update with variable number of fields?

2000-09-10 Thread [EMAIL PROTECTED]
Hello, I'm creating a number of ZSQL methods to insert, update and delete records from several Oracle tables. Everything is working fine with the insert forms (creating new records) and the delete (of course). However, the best way to do the * update * without locking the user into a *very*

[Zope] [HELP] Duplicated Ids?

2000-09-10 Thread iap_y2fun.com
I removed a product from Control_Panel/Products by checking the checkbox of that item and clicked "delete" button below. While I tring to reimport that product , zope (2.2.1) complains about "Duplicated Ids". Can anyone give a hand? Thanks a lot. Iap, Singuan http://y2fun.com

Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Nils Kassube
Jason Cunliffe wrote: What's missing? For example, everything with Java (e.g. Apple WebObjects) or Perl (e.g. Mason). There is a good overview of Content Management Systems at http://www.camworld.com/cms/ For each of above I'd like to fill in the following: {'name':"name",

[Zope] Emacs and dtml-mode +/-

2000-09-10 Thread Nestor A. Diaz L.
HI, I have installed the dtml-mode that provided http://www.zope.org/Members/alburt under Debian potato, emacs20 and psgml it work so nice but i have a little question, and i don't know if it is possible to resolve, consider the following html code: !-- -*- dtml -*- -- html head

RE: [Zope] keeping Java Servlets session ids based on url rewriti ng

2000-09-10 Thread Chris McDonough
Thanks for the clarifications... We use servlets for java to java com between applets and the server. Inside, the servlets communicates to C++ based servers for objects and events. Servlet sessions are used to help ensure validation for the object and event servers. User database is also

[Zope] Testing out new versions of XXX (in this case, WorldPilot)

2000-09-10 Thread A.J. Rossini
What is the best way to test out new versions of Products without breaking an existing setup? Should I simply "version" the current working version, then install new stuff to test, etc, or is there any easy way to have products "ORIGINAL" and "ORIGINAL-2" (which is what I'd prefer, for

Re: [Zope] keeping Java Servlets session ids based on url rewriti ng

2000-09-10 Thread albert boulanger
I've done a little poking around in ZPublisher's HTTPRequest.py and BaseRequest.py and I don't think that's where the ';*' gets stripped. I can't find *where* it gets stripped. It must be possible to make Zope de-ignore things split on a ";", but right now I can't find out where to

RE: [Zope] keeping Java Servlets session ids based on url rewriti ng

2000-09-10 Thread Chris McDonough
Um from looking at the code I think it may be Zserver not Zpublisher doing it. I think there is code which set up the CGI env vars at Zpublisher pick em up and works with them, so it is the code that sets those GCI vars that is dropping it. Isn't it tru that if you use APACHE, they are set

Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Jason Cunliffe
Hi Nils thanks for your reply What's missing? For example, everything with Java (e.g. Apple WebObjects) or Perl (e.g. Mason). [doh] Java..Right [see what using zope does to one ? ;-) There is a good overview of Content Management Systems at http://www.camworld.com/cms/ Excellent.

Re: [Zope] keeping Java Servlets session ids based on url rewriting

2000-09-10 Thread albert boulanger
Hmmm.. can you take a step back and restate the problem more generally? What is the goal? We use servlets for java to java com between applets and the server. Inside, the servlets communicates to C++ based servers for objects and events. Servlet sessions are used to help ensure

[Zope] Creating a new Role equivalent to Manager?

2000-09-10 Thread Kevin Howe
I want to create a Role (myRole) for an object which is equivalent to the Manager Role, basically kust with a different name. How do I (via python) say that myRole is equivalent? Something similar to this: self._addRole( 'myRole', InheritPermissionsFromManager() ) Thanks, kh

[Zope] Re: 2d list manipulation

2000-09-10 Thread Tim Russell
OK, figured it out. About the only way I can see to do it in DTML is this: dtml-call "col[index1].insert(index2, col[index1].pop(index2)+1)" This command happens to increment the value at col[index1][index2], and this strategy allows any operation to be done on the value. It appears to be

RE: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Ron Bickers
Completely calm and friendly opinions follow... [Zopefish etc]. Mostly Zope imho is just plain damn ugly out of the box... like some ghost from the 70s - zero graphics sense.. it s a bitch to make a decventlooking page in zope when it shouldn't be, not one nice looking zope site I have

[Zope] Partnership with B2B EMerging?

2000-09-10 Thread Jonathan Desp
Hi guys or girls, I'd like to know if you are interested to partner with me, for the construction of B2B Emerging, at B2BEmerging.com. I would need someone technical, for Zope. I'm enthusiast and I put all my effort toward B2B Emerging. I invite you to read this site, it's a wonderful concept,

[Zope] Re: Partnership with B2B EMerging?

2000-09-10 Thread Jonathan Desp
oh I forgot, my email is [EMAIL PROTECTED], if you want to contact me, no problem. by phone too, just ask me. - Original Message - From: "Jonathan Desp" [EMAIL PROTECTED] To: "zope zope zope" [EMAIL PROTECTED] Sent: Sunday, September 10, 2000 10:08 PM Subject: Partnership with B2B

Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-10 Thread Jason Cunliffe
Completely calm and friendly opinions follow... yes thanks.. I don't think it's any more difficult to create an attractive (graphics-wise) site in Zope than it is with PHP or ASP or plain old Apache-served HTML files. Quite honestly, I'm not qualified to do it with any tool. :-) I get

Re: [Zope] Testing out new versions of XXX (in this case, WorldPilot)

2000-09-10 Thread Bill Anderson
"A.J. Rossini" wrote: What is the best way to test out new versions of Products without breaking an existing setup? Should I simply "version" the current working version, then install new stuff to test, etc, or is there any easy way to have products "ORIGINAL" and "ORIGINAL-2" (which is

[Zope] newbie dtml-if/expr ?

2000-09-10 Thread Daniel Chudnov
(zope-2.1.6, rh6-linux) How come I can't do this: dtml-if "var1 and var2" dtml-call somefuncNeedingVar1AndVar2 /dtml-if ...or other obvious (e.g. (extra) (parenthesized)) variations thereupon, but the following seem to work: dtml-if "_.has_key('var1') and _.has_key('var2')" ...

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

2000-09-10 Thread Steve Alexander
Evan Simpson wrote: From: "Steve Alexander" [EMAIL PROTECTED] obj = self.restrictedTraverse(REQUEST.PATH_TRANSLATED) This stopped working when I tried the software on Windows. Bug or feature? I'm not sure, but I'm *very* curious what you're trying to accomplish with this code.

[Zope-dev] Size of Data.fs - and crypto.

2000-09-10 Thread Erik Enge
Hi. Does the performance of Zope degrade as the Data.fs get larger? Both on startup time (which I'm pretty sure will degrade) and on respons time, serving a object f ex? Another thing. Have anyone tried to encrypt all data inside the Data.fs file? I mean, encrypted the data so that not even

Re: [Zope-dev] Size of Data.fs - and crypto.

2000-09-10 Thread Erik Enge
[Chris McDonough] | [Erik Enge] | | Another thing. Have anyone tried to encrypt all data inside the | Data.fs file? I mean, encrypted the data so that not even root can | access it, only if you have the right passphrase (or whatever) in the | management interface are you allowed access to

[Zope-dev] FW: ZClass, acquisition, dtml confusion

2000-09-10 Thread Jon Franz
Since no one on general could answer this, I'm sending it to Dev now: sorry for cross posting. -Original Message- From: Jon Franz Sent: Friday, September 08, 2000 1:24 PM To: '[EMAIL PROTECTED]' Subject: ZClass, acquisition, dtml confusion Hello, Previously I made a DTML