Re: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
> I used this code in my "logoutForm" to logout user in my old setup > (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): > (I assume this code is correct, as it is included in default logoutForm in LoginManager.) > It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 + >

[Zope] Creating attributes in ZClass instances

2000-12-17 Thread David Bustos
I have a ZClass named Event. Event objects need to keep a list of people signed up for them, so they had a lines property named 'people'. But lines properties have odd semantics, and I want to store arbitrary objects rather than strings (i.e. it shouldn't be edited through the web like a lines pr

Re: [Zope] How to make two racks work under one specialist?

2000-12-17 Thread Dirksen
Hi Steve, Both racks are set to be loaded by accessing 'id', which, as you guessed right, don't appear in handling attributes list! This is the simplified skinscript in maleMemberRack: WITH getMale(self.id) COMPUTE original_object=RESULT WITH self.original_object COMPUTE name=id, gen

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Andrew Kenneth Milton
+---[ Michael Bernstein ]-- | | > Federal registration is not required to establish rights in a trademark. | > Common law rights arise from actual use of a mark. Generally, the first | > to either use a mark in commerce or file an intent to use application | > with the Pate

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Michael Bernstein
Bill Anderson wrote: > > Bill Anderson wrote: > ... > > The archives show that Loren was using this term for this usage by > > nearly a month. if nothing else, the timing of the application > > coinciding with the introduction of the term by Loren is at best > > suspicious. In fact, it occurs on

[Zope] Creating tables from ZSQL methods..?

2000-12-17 Thread Lee
I have a ZSQL method, createClassTable, where the paramter 'classCode' is used to name the table: create table ( matric float, fname varchar, lname varchar, .. etc ) Is there anyway to execute this in a DTML document 'on the fly'? I have a DTML method where the clas

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
On Sun, 17 Dec 2000, Chalu Kim wrote: > No, you are right. It does not work. It is because LM's default login > method is Basic. Basic logout does not work because of Basic > authentication and that the browser caches the credential. This means > unless you shut down your browser, whatever you do,

[Zope] Copying a Zope Site

2000-12-17 Thread Mohan Baro
Hi everyone Currently I am using the RPM version of ZOPE(2.2.2) from Jeff Rush. I have installed the current verion 2.2.4 non RPM version. I want to transfer my files from websites & products from the current site to the new install. Which files and directories do I copy?. The RPM versions crea

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Bill Anderson
Bill Anderson wrote: ... > The archives show that Loren was using this term for this usage by > nearly a month. if nothing else, the timing of the application > coinciding with the introduction of the term by Loren is at best > suspicious. In fact, it occurs on the very day that Loren made the > a

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Bill Anderson
Loren Stafford wrote: > > Just for your entertainment > > - Original Message - > From: "Charles Knerr" <[EMAIL PROTECTED]>; "Webmaster" > <[EMAIL PROTECTED]> > To: "Loren Stafford" <[EMAIL PROTECTED]> > Sent: December 15, 2000 10:54 PM > Subject: Zope.org feedback > > > URL: http://

[Zope] Zope counters @netcraft

2000-12-17 Thread Cees de Groot
In the interest of getting Zope into the picture, I'm registering some 5,700 sites I just brought up at Netcraft. Every little bit helps, they say... -- Cees de Groot http://www.cdegroot.com <[EMAIL PROTECTED]> GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098

RE: [Zope] LoginManager - logging out

2000-12-17 Thread Chalu Kim
No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do, you are back to square one. The remedy is t

[Zope] how can you tell who created an object in Zope?

2000-12-17 Thread Chalu Kim
I have started building asset management/role-based publishing system for multimedia application. It struck me that I could not tell who created objects in the first place. I see in undoable_transaction "user_name" by following UndoForm. I was building author into a few Z classes we fashioned fo

Re: [Zope] Re: running zope with OpenBSD 2.8 i386

2000-12-17 Thread Luke Tymowski
At 06:25 PM 2000/12/13 +0100, you wrote: >>My question is: Did someone of you got zope running with obsd 2.8? The >>documentation of zope says it runs in any case with 2.7 and python 1.6 You cannot run Zope with OpenBSD 2.8. Zope triggers an obscure bug in the threading library that comes with 2.

[Zope] Re: running zope with OpenBSD 2.8 i386

2000-12-17 Thread Ragnar Beer
I still got it under construction. Zope shouldn't work with Python 1.6 so I removed the package and downloaded the python 1.5.2 sources you ./configure --with-thread to have threads enabled and that's it. Runs beautifully but I didn't have time to install Zope so far. It's running very well un

Re: [Zope] SiteAccess and Roles

2000-12-17 Thread The Doctor What
* Michael Bernstein ([EMAIL PROTECTED]) [001214 01:06]: > I read your access rule, and it seems like you've got it set > up to ignore the gTLD, so that www.gerf.org and www.gerf.com > etc. get routed to the same object automatically. Is that > correct? Yes. I have several sites that use that fea

Re: [Zope] Windows NT: Changing default TCP port

2000-12-17 Thread Luke Tymowski
Steve Smith [[EMAIL PROTECTED]] wrote: > Simple question (I presume): How do I change the Zope service under Windows > NT to listen on port 80 (instead of 8080). Stop the Zope service. Edit the z2.py file and change the port from 8080 to port 80. Restart the Zope service. The web server will now

[Zope] LoginManager - logging out

2000-12-17 Thread Aleksander Salwa
I used this code in my "logoutForm" to logout user in my old setup (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 + Zope 2.2.4. I've found a work-around: It logouts user as expected. But, can anybody tell me, why t

RE: [Zope] ZPatterns

2000-12-17 Thread Max M
From: Steve Alexander >I found your discussion of ZPatterns terms very thought-provoking. Thanks. The first positive comment about it :-) Your reply seems thorough. I will read it through in a day or two. (Has a deadline right now.) >Max, I'm extremely impressed! When I first read through your

Re: [Zope] Windows NT: Changing default TCP port

2000-12-17 Thread Paul Browning
--On 17 December 2000 23:24 +1100 Steve Smith <[EMAIL PROTECTED]> wrote: > Simple question (I presume): How do I change the Zope service under > Windows NT to listen on port 80 (instead of 8080). A brute force way is to edit z2.py (at the top of your Zope installation). Change this line: # P

[Zope] Windows NT: Changing default TCP port

2000-12-17 Thread Steve Smith
Simple question (I presume): How do I change the Zope service under Windows NT to listen on port 80 (instead of 8080). Steve Smith ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] skinscript and ZSQL

2000-12-17 Thread Steve Spicklemire
Hi Aaron, Since we communicated privately and I now have a much better understanding of your problem, I realized that my last message to the list was unclear so I thought I'd take a moment to try to clarify the 'gotchas' that got you, as I see them, so that other folks might not so easily fal

Re: [Zope] Manage tar-file and store them externally

2000-12-17 Thread Dieter Maurer
[EMAIL PROTECTED] writes: > This is a multi-part message in MIME format. > > --=_NextPart_000_00BC_01C0676C.125CBB90 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable Please do not send MIME messages to this list! > I cant to manage

Re: [Zope] Upload file size

2000-12-17 Thread Dieter Maurer
[EMAIL PROTECTED] writes: > There's a way to get the size of a file uploaded in a form before write it? I am not sure, what type of object is used at the base of "FileUpload" objects (to give them there file like behaviour). If this a "cStringIO" objects, they may have a "len" attribute. This me

Re: [Zope] Generating HTML and SQL from results of Describe Table queries.

2000-12-17 Thread Dieter Maurer
Lloyd Kvam writes: > > T. J. Mannos has written > how to apply wrappers to html to turn them into DTML Documents. I could not > find any equivalent description for Z SQL Methods. A Z SQL Method uses a template (in fact a DTML template with additional commands) to construct a command (

Re: [Zope] ZCatalog raises index out of range exception error

2000-12-17 Thread Dieter Maurer
Stefan H. Holek writes: > Do you have a SiteRoot-ed environment? I believe I saw this error when > trying to use the Catalog in a SiteRoot-ed folder... > > No solution, sorry ;) We use the Catalog together with a SiteRoot without problems. I remove the host part of the URL before I index

Re: [Zope] ZPatterns

2000-12-17 Thread Steve Alexander
Steve Alexander wrote: > > You've described the Model-View relationship. > The Controller part is where ZPatterns gets interesting; you can use > SkinScript to do a load of validation on your data, all in one place, in > a fairly specific and declarative language, which gets applied on > commi