[Zope] object properties

2000-10-14 Thread Matt
Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZCatalog question. boolean and wildcards.

2000-10-14 Thread Dieter Maurer
Hannes Grund writes: When mixing boolean operators and wildcards '*' in queries within a Textindex the 'AND' operator is replaced by 'OR'. Also, the possibility of constructing nested terms using brackets seems to be not supported (contrary to the chapter 'Searching and indexing' from

[Zope] dtml-tree does weird things

2000-10-14 Thread Matt
Hi, I have the following in a dtmlDocument. dtml-tree branches_expr="folder_of_things.objectValues(['Folder', 'DTML Document'])" dtml-var id /dtml-tree the folder folder_of_things contains numerous things, including some documents and folders. The problem seems to be that each time I expand

Re: [Zope] object properties

2000-10-14 Thread Kapil Thangavelu
Matt wrote: Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion you can ask an object what properties it has and retrieve them through dtml, like

[Zope] We would like to include your software

2000-10-14 Thread Chad Vogel
Hello I am Chad Vogel the Webmaster at FileHeap! I am contacting you because we would like to include your software in our website. FileHeap! is a software index that is targeted to residential and small business users. I would greatly appreciate your help. To add your software to our index

[Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out of theoffice Monday, October 16th)office Monday, October 16th)

2000-10-14 Thread Darin Lee
I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

Re: [Zope] object properties

2000-10-14 Thread Matt
Thanks for your response. I tried your methods on a normal folder that contains some other folders, dtmldocuments, and images, but it failed on the dtml-let sheet=sequence-item which followed the dtml-in "propertysheets.items()". If I used dtml-let sheet=sequence-key instead, then I always got

RE: [Zope] date comparison

2000-10-14 Thread Dieter Maurer
michael angelo ruberto writes: i had tried something similar already without success. here is the error your script caused: ... Error Type: TypeError Error Value: unsubscriptable object for some reason Zope just doesn't want to compare ZopeTime with bobobase_modification_time.

Re: [Zope] dtml-tree does weird things

2000-10-14 Thread Dieter Maurer
Matt writes: dtml-tree branches_expr="folder_of_things.objectValues(['Folder', 'DTML Document'])" dtml-var id /dtml-tree the folder folder_of_things contains numerous things, including some documents and folders. The problem seems to be that each time I expand the tree node,

Re: [Zope] Help Debugging External Methods

2000-10-14 Thread Dieter Maurer
[EMAIL PROTECTED] writes: What are my options for debugging External Methods in Zope running on Windows NT? I work under Unix. Maybe my technics are not applicable for NT. Usually, I use "print" statements for debugging purposes. Under Unix, I can redirect "stdout" to a file and view the

Re: [Zope] object properties

2000-10-14 Thread Matt
I tried a few things and found the following useful : Property ids of dtml-var "PARENTS[0].id" are dtml-var "PARENTS[0].propertyIds()" Kapil Thangavelu wrote: Matt wrote: Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the

[Zope] trouble compiling DCOracle

2000-10-14 Thread Erik Myllymaki
I'm having some trouble compiling DCOracle on my RedHat 6.1 machine. I am using the latest DCOracle 1.3.2 and python 1.5.2. I used the included Setup-8.1.5 file with the addition of one library to the *ORACLE_Includes* list: -I$(ORACLE_HOME)/rdbms/public The output from *make* had a number of

Re: [Zope] object properties

2000-10-14 Thread Craig Allen
Matt wrote: I tried a few things and found the following useful : Property ids of dtml-var "PARENTS[0].id" are dtml-var "PARENTS[0].propertyIds()" And of you want to actually see property values, you could try dtml-var propertyItems which generates id/property tuples. Craig -- Craig

Re: [Zope] object properties

2000-10-14 Thread Kapil Thangavelu
Matt wrote: Thanks for your response. I tried your methods on a normal folder that contains some other folders, dtmldocuments, and images, but it failed on the dtml-let sheet=sequence-item which followed the dtml-in "propertysheets.items()". i made a simple error. this code is tested

Re: [Zope] trouble compiling DCOracle

2000-10-14 Thread Ayhan Ergul
The output from *make* had a number of errors, but compiled the shared objects: Warnings from C compilers are always part of the fun! They say something can potentially be/go wrong, but not necessarily so. Take a deep breath and move on. Testing the created shared object files went something

Re: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out ofthe office Monday, October 16th) office Monday, October 16th)

2000-10-14 Thread knight
May I ask what the relevance this post was to the list? Regards, Knight [EMAIL PROTECTED] On Sat, 14 Oct 2000, Darin Lee wrote: I will be out of the office on Monday, October 16. If you require assistance, please contact the DEQ helpdesk at 241-7495.

Re: [Zope] Re: Zope digest, Vol 1 #1016 - 28 msgs (I will be out ofthe office Monday, October 16th) office Monday, October 16th)

2000-10-14 Thread Matt
Just be lucky he only gets the digest ... it looks like an automated reply to me. While I am here, thanks for the replies to my questions, they were very helpful. knight wrote: May I ask what the relevance this post was to the list? Regards, Knight [EMAIL PROTECTED] On Sat, 14 Oct

[Zope] re: trouble compiling DCOracle

2000-10-14 Thread Erik Myllymaki
--- In [EMAIL PROTECTED], Ayhan Ergul [EMAIL PROTECTED] wrote: The output from *make* had a number of errors, but compiled the shared objects: Warnings from C compilers are always part of the fun! They say something can potentially be/go wrong, but not necessarily so. Take a deep breath

RE: [Zope-dev] (no subject)

2000-10-14 Thread ralf . herold
Hello Dieter, dear list readers, I recently asked how to read in and render the contents of an external file, which doesn't work anymore using Zope 2.2.2 an LocalFS' xxx.read(), and You responded that The quickest solution for you would be an external method that gets the file, performs the

[Zope-dev] New ZPatterns documentation on the Wiki

2000-10-14 Thread Phillip J. Eby
There is a new document on the Wiki which explains in excruciating detail how triggers/rules work in ZPatterns: http://www.zope.org/Members/pje/Wikis/ZPatterns/HowTriggersWork I have also now completed the SkinScript reference documentation at:

[Zope-dev] Inconsistent behaviour in Zope's constructor security check?

2000-10-14 Thread Stephen Simmons
I have just concluded an epic two day struggle with Zope's security machinery. I think I've won, and wanted to find out whether anyone else has had similar problems. I had defined a Python product that worked very nicely. I was able to add and delete my objects and edit, copy and export