[Zope] PropertyIds

2000-06-19 Thread RC Compaan
I have a very simple documentclass in very simple structure in method that should return the properties of the document: dtml-call "REQUEST.set('tid', REQUEST.cookies['careermanid'])" dtml-with RESULTS // RESULTS is a ZClass Object Manager dtml-call "REQUEST.set('tmp', _.getitem(_['tid']))"

RE: [Zope] PropertyIds

2000-06-19 Thread RC Compaan
Thanks Rik it works. I've noticed in some cases that one puts empty brackets at the end of certain zope object methods. Is that there for methods that can take parameters? Roché -Original Message- From: Rik Hoekstra [mailto:[EMAIL PROTECTED]] Sent: 19 June 2000 12:54 To: RC

RE: [Zope] PropertyIds

2000-06-19 Thread RC Compaan
Very clear, thanks. Really appreciated. Well i guess the topic was never about propertyids, but i can only tell that now. Still working with properties i find the following trouble. dtml-var "MyDoc.propertyItems()" returns a list of key-value pairs [('Key1','Value1'},('Key2','Value2')] to

[Zope] Expressing expressions

2000-06-19 Thread RC Compaan
Simple addition seems a bit tricky in zope dtml-call "REQUEST.set('CategoryTotal',0)" dtml-in "tmp.propertyItems()" dtml-let key="_['sequence-key']" value="_['sequence-item']" category="s[:1]" counter="_.getitem(category+'Total')" --// Here

[Zope] ProxyPass

2000-06-20 Thread RC Compaan
Is there anyway to get around the fact that the remote ip is the server's ip if you use Apache's ProxyPass directive to pass requests on to Zope? Roché ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] ProxyPass

2000-06-25 Thread RC Compaan
Thanks Pierre This is a relief, I really didn't want to switch back to pcgi. I have worked a little bit with the rewritemodule but if anybody has an example on how to do this it would really be helpfull. Roché use the rewriterule module, with the [P] flag this is very powerfull (a little

[Zope] Sorting a list

2000-07-08 Thread RC Compaan
I have a list: mylist=[('R',31),('I',80),('A',80),('S',23),('E',35),('C',21)] I want to rebuild the list sorted from high to low on the sequence-item. When i call dtml-in mylist sort=sequence-item reverse the list gets sorted on the sequence-key not the sequence-item. As I understand the

[Zope] Zope Components and ZPatterns

2000-07-17 Thread RC Compaan
In trying to install ZPatterns on linux the install fails during the "make" part of the install, complaining about a non-existant ExtensionClass.h, which should be in the Zope Components directory (also not existent). I noticed on the mailing list that one should do a rebuild if you install from

RE: [Zope] Zope Components and ZPatterns

2000-07-18 Thread RC Compaan
Thanks Holger I used the source distribution and it worked. Why is this not part of the binary distribution? Roché -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Holger Hoffmann Sent: 17 July 2000 05:43 To: RC Compaan Subject: Re: [Zope] Zope

RE: [Zope] Zope Components and ZPatterns

2000-07-18 Thread RC Compaan
And no source is distributed with the binary distro? It seems harless to include the zope components into the binary distro. Roché -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Anderson Sent: 18 July 2000 10:40 To: RC Compaan Cc: Zope

[Zope] RE: How to prime a selection?

2000-08-03 Thread RC Compaan
d "FormatList" that will return the list, containing: dtml-return docformats Hope this helps. For more info on selection list see http://www.zope.org/Members/AlexR/SelectionLists Roché -Original Message- From: Jean Jordaan [mailto:[EMAIL PROTECTED]] Sent: 04 August 2000

[Zope] Precondition

2000-08-04 Thread RC Compaan
What does the "Precondition" property of the file class refer to? Roché ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] ZPatterns Question

2000-08-07 Thread RC Compaan
I created a ZClass called "Product" with Dataskin as baseclass. I also added a specialist called ProductManager containing a default rack. Under storage for the rack I selected the newly created Product ZClass. My product ZClass needs to query both a RDBMS and the ZODB for attributevalues. At

[Zope] RE: About Squishdot and permissions

2000-08-08 Thread RC Compaan
Check if the proxy role for index_html is set to manager. roché -Original Message- From: Jean Jordaan [mailto:[EMAIL PROTECTED]] Sent: 08 August 2000 01:02 To: RC Compaan (E-mail); '[EMAIL PROTECTED]' Subject: About Squishdot and permissions hi Zopers, In case this is very

[Zope] RE: How to Delete ZClass Instances programmatically??

2000-08-28 Thread RC Compaan
Original Message- From: Jean Jordaan [mailto:[EMAIL PROTECTED]] Sent: 28 August 2000 01:43 To: '[EMAIL PROTECTED]' Cc: RC Compaan (E-mail) Subject: How to Delete ZClass Instances programmatically?? Hi Zopers I've found the "How-To: Adding ZClass Instances Programmatical

RE: [Zope-dev] RE: [Zope] ZPatterns Question

2000-08-10 Thread RC Compaan
At 01:57 PM 8/8/00 +0200, RC Compaan wrote: I've added a propertysheet called "properties" to my ZClass and i notice there is Persistent Sheetprovider under the default rack already. The Sheetprovider has properties Sheet_Names and Sheet_Namespaces. I guess Sheet_Names sh

[Zope-dev] RE: ZPatterns, ObjectDomain, UML and all that.....

2000-12-05 Thread RC Compaan
Hi Steve I'm also a babe in the woods when it comes to object modelling, but here's my pennie's worth. Since code generation was not really required in the models I recently did for Zope Apps and the terrible exchange rate on the South African Rand I decided to use to very light weight