[Zope] LDAP-Zope

2000-08-03 Thread Marko MARKOVIC
Hi all, In LDAP i have an object with name and passwordobject. With Zope LDAP method, can i see this password? I have a login window created in Zope and when a user will login i must control if the user exists. How can i do this? Any ideas? $Regards MM

Re: [Zope] ZODBCDA fails under 2.2

2000-08-03 Thread a . wacknitz
I'm trying to access data via the ZODBCDA latest build and Zope 2.2 Whenever the ODBC query returns data, the user is challenged for authentication. Pages that do not use ODBC and database methods that return empty sets are not challenged. Has anyone else encountered this? Yes, I have

[Zope] How-To: Dropbox date entry for html forms

2000-08-03 Thread Darran Edmundson
In building my first Zope site and training content providers to use the management interface, I quickly encountered requests for an easier means of entering dates (as opposed to the default "1966/09/30" format). I've written up a quick How-to that contains a DTML utility method for

Re: [Zope] ZODBCDA fails under 2.2

2000-08-03 Thread Diny van Gool
At 09:36 3-8-00 +0200, [EMAIL PROTECTED] wrote: I'm trying to access data via the ZODBCDA latest build and Zope 2.2 Whenever the ODBC query returns data, the user is challenged for authentication. Pages that do not use ODBC and database methods that return empty sets are not challenged.

RE: [Zope] Retrieving the week number with DateTime

2000-08-03 Thread Gijs Reulen
There is a standard for calculating weeknumbers. It is in an ISO standard, but I do not know the number of it. I implemented it in another application a while back. I got it from the NNI, the Dutch national 'ISO' which follows the ISO standards on this. The standard: the first day for

[Zope] Security Problem

2000-08-03 Thread Sven Hohage
Hi, I've got two questions. 1.Is Zope 2.2.0 masking the length of the passwords? 2. the more important- I'm using a method to change properties by form. The user i.e. Tim has the role manager in the highest user_folder and acquisition is kept but Zope tells me that the user is not authorized.

[Zope] Security (proxy role??)

2000-08-03 Thread Sven Hohage
Hi, I've got two questions. 1.Is Zope 2.2.0 masking the length of the passwords? 2. the more important- I'm using a method to change properties by form. The user i.e. Tim has the role manager in the highest user_folder and acquisition is kept but Zope tells me that the user is not authorized.

Re: [Zope] dtml-calendar question.

2000-08-03 Thread Chris Withers
"R. David Murray" wrote: On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote: | Well, yeah. A restricted python environment. The point being, it follows | python syntax rules grin. kind of... :-) In what way does it *not* follow Python (expression) syntax rules? _['something']

Re: [Zope] Change db connect string in python or dtml

2000-08-03 Thread Chris Withers
Craig Allen wrote: As a quick and dirty alternative (untested), just edit your connection parameters in your Mysql connector to point to the different server (you'll want to close the connection first, I expect). I think this is probably the best way to do it :-) The idea behind a database

Re: [Zope] create DTML-Source-link like on zope.org

2000-08-03 Thread Chris Withers
Svante Kleist wrote: Also, document_src() is a "Python method" function included in the "Python Method" product Sorry but that simpyl isn't true :S The method below works on a slightly patched Zope 2.1.6 with no Python Methods product installed... cheers, Chris !--#var

Re: [Zope] PTK question ..

2000-08-03 Thread Chris Withers
Jean Jordaan wrote: Hmm, "Note: there are big bunches of bugs still." I guess I shouldn't try to premiere a snazzy intranet on this by Friday .. Er, no ;-) Do you know if there are stable core features (basically users joining and submitting news items) that one could use? I.e. will I be

Re: [Zope] form to a email in a correct presentation ?

2000-08-03 Thread Chris Withers
Vincent Maton wrote: Thank you a lot for your help, it's very kind of you. Now with your idea, I get the date separetely but I need to get the first date with 00-09-10 and the second date as the same 00-09-17 and the next as the same and always like that... Can you

Re: [Zope] tree expand by date

2000-08-03 Thread Chris Withers
Sven Hohage wrote: Hallo, I've searched in the mailing archive about the question how to expand a particular branch but I didn't find anything. That's my problem: I'm building a newsboard and when you want put a new message on it, the correct day should be opened. Example- +

Re: [Zope] tree plus/minus url

2000-08-03 Thread Chris Withers
Ragnar Beer wrote: Howdy! I've been experimenting with trees for a while and discovered that almost all innocent first time clickers were clicking on the text _behind_ the plus and minus images instead on the images themselves. So I decided to make the text a link with the same url as

[Zope] LDAPAdapter?

2000-08-03 Thread Marko MARKOVIC
hi all, have a little problem with LDAPAdapter. I have a working directory server using LDAP protocol. When i create the LDAPAdapter in Zope it works fine, but when a user want to connect to my site, he gets an authentication error. But the user exists in the directory server. Can someone

Re: [Zope] Property Problem (type converting)

2000-08-03 Thread Chris Withers
Sven Hohage wrote: I like the property of a folder being a list, because new entries should be automatically updated(strings with the current month-name). I've tried tokens but it's not working correctly. dtml- if "not MonthNow in oldTime" dtml-call "oldTime.append(MonthNow)"

Re: [Zope] dtml-calendar question (still not working)

2000-08-03 Thread tom smith
on 3/8/00 10:14 am, Chris Withers at [EMAIL PROTECTED] wrote: "R. David Murray" wrote: On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote: | Well, yeah. A restricted python environment. The point being, it follows | python syntax rules grin. kind of... :-) In what way does it *not*

Re: [Zope] request for advice

2000-08-03 Thread Marcin Kasperski
I started with popen2 and friends.. but that didn't seem to play well with Zope... probably mixing processes and threads is a bad idea... I dunno. Anyway I'm not sure of the best way to do this in Windows. Of course, ulitmately Shane Hathaway's idea of having a separate 'mini cvs servelet'

[Zope] different pages depending of the role....

2000-08-03 Thread Vincent
Hi, is it possible with Zope, to display different pages depending on the roles of the logged people ? Thanks Vincent PS : If it is in a documentation, which one ? Thanks again ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Numeric Check

2000-08-03 Thread Diego Rodrigo Neufert
Hi.. What's the best way to check if self.REQUEST.form.get('int_field') just contains numeric data in a external method? Thanks... -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]) (curitiba) (pr)

Re: [Zope] different pages depending of the role....

2000-08-03 Thread Phil Harris
Vincent, It's perfectly possible: dtml-if "AUTHENTICATED_USER.has_roles(['Manager'])" this is the management page dtml-elif "AUTHENTICATED_USER.has_roles(['Member'])" this is the normal members page dtml-else This is the joe public page /dtml-if hth Phil [EMAIL PROTECTED] - Original

Re: [Zope] Numeric Check

2000-08-03 Thread Zope
I think extending the input-tag name with :float, :int, or :long and test with type() from python would do the trick. I havn't tested it but theoreticly it should work. For more info on form field definitions check out Zen's How-To: Form Variable Types and Typechecking. (I have used :tuple to

[Zope] acquisition vs. inheritance

2000-08-03 Thread Bob Horvath
I am slowly getting the hang of Zope, but am confused about something. Either I don't understand how acquisition works, or there is something special about how index_html is treated. I had a folder with a index_html that had something like: dtml-var standard_html_header dtml-var content

Re: [Zope] tree plus/minus url

2000-08-03 Thread Ragnar Beer
I found quite an easy solution for Zope 2.1.6: In lib/python/TreeDisplay/TreeTag.py you have to replace the "old code" with the "new code". (Blame me - I forgot to make a copy beforehands which keeps me from using diff.) The idea is to "export" the piece of code that puts together the url to

Re: [Zope] acquisition vs. inheritance

2000-08-03 Thread Chris Withers
Bob Horvath wrote: I would have thought it would have gone up a layer for index_html, but then would have discovered content at the lower layer. Sounds like your index_html is a DTML Document when it should be a DTML method... cheers, Chris ___

Re: [Zope] tree plus/minus url

2000-08-03 Thread Chris Withers
Ragnar Beer wrote: The idea is to "export" the piece of code that puts together the url to treeData['tree-item-clickurl'] so that you can access it with dtml-var tree-item-clickurl within your tree-tag. I haven't checked this for unwanted side effects. Perhaps someone more familiar with the

[Zope] User roles in different folder (Copy roles?)

2000-08-03 Thread Peter Bengtsson
I have given my friends a folder of their own on my Zope site. /root /friends /friend_ONE /friend_TWO /friend_THREE All my friends are Manager of their own folder. Now, me and my friends have folder called /images. And I want everybody with

Re: [Zope] Numeric Check

2000-08-03 Thread Diego Rodrigo Neufert
Thanks johan Your trick about types worked! Look: try: fone_res = string.atoi(fone_res) except ValueError: err = err + "ERR MSG" On Thu, 03 Aug 2000, you wrote: I think extending the input-tag name with :float, :int, or :long and test with type() from python would do the

Re: [Zope] How-To: Dropbox date entry for html forms

2000-08-03 Thread Loren Stafford
Your example in a How-To may well be useful. However, I think you have maligned the DateTime method. It is quite flexible about the input formats it accepts. Have you read the extensive documentation in ../lib/python/DateTime/DateTime.py? -- Loren - Original Message - From: "Darran

[Zope] standard_error_message

2000-08-03 Thread Diego Rodrigo Neufert
Hi. Anyone know how to specify other error msg file? I want the standard_error_message to still be my default error msg file but for some dtml's I want to change it... Thanks -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design)

[Zope] anyone got a foolproof 2.1.6 - 2.2.0 via import schema?

2000-08-03 Thread Tony McDonald
I get KeyErrors from 2.2.0 with an Error value of a rubbish character when trying to import a folder of various objects. This also happens when trying to import the XML version, except the Error Value is 'id' (but with no idea of where the error is in the XML file ... irritating). any ideas?

[Zope] Zope Usage

2000-08-03 Thread Marc Dullien
Hi, I was taking a first look at Zope today. Now I am looking for a certain feature and couldn't quite find it.If you could send me an URL where to look for the Info I need, Thanks ! Q1: With what tool inside Zope do I program the HTML Templates ? Q2: I want to fill those templates with

RE: [Zope] standard_error_message

2000-08-03 Thread T.J. Mannos
Rodrigo, Two ways I can think of, just off the top of my head: 1. If you want just certain directories to have a different standard_error_message, create a standard_error_message method in those directories. (I've heard people complain of problems with this method, though). 2. Encapsulate

[Zope] Packing with cron

2000-08-03 Thread Jason Spisak
Zopists, I am attemtping to use cron to pack my ZODB. I am using lalo's cron how-to and lynx. However when I visit http://myhost:8080/Control_Panel/Database/manage_pack nothing happens. Here is the command I am using in Zope 2.1.6: lynx -auth superuser:superuserpasswd -source

RE: [Zope] Cache concerns (was zope/proxy_pass configuration problem)

2000-08-03 Thread T.J. Mannos
Ragnar, Caching is a subject I'm not all that familiar with but one I need to learn really fast. My site is about to go live, and I have a monster of a query that will bring my system to its knees if 100 students run it at a time. So I'm sending this off to the Zope mailing list wondering if

RE: [Zope] Packing with cron

2000-08-03 Thread Andy Dawkins
I have a python script which uses XMLRPC to call an External Method that packs the database. Not ideal, but it does allow me to pack the database a) From Zope b) From the command line c) Whilst the server is running d) During very large imports which make ZCatalog Explode (I wish CatalogAware

[Zope] How do I count children?

2000-08-03 Thread J. Atwood
So In ZUBB (my discussion product) I want to be able to show how many replies there have been to any one main topic. All replies are 'children' of the main post and when I state it with dtml-tree branches=children Stuff /dtml-tree It works and knows that each message is a child of the

Re: [Zope] Packing with cron

2000-08-03 Thread Jason Spisak
Andy Dawkins writes: Thanks you for your prompt reply. I knew someone had to have a solution. Would you be willing to send me the script? Better yet, put it up as content on the Zope.org site. I have a feeling a list of solutions to this would help the community. All my best, I have a

RE: [Zope] ZODBCDA fails under 2.2

2000-08-03 Thread Capesius, Alan
Title: RE: [Zope] ZODBCDA fails under 2.2 Thanks Petteri, That did the trick nicely. Alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 2:18 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] ZODBCDA fails under 2.2 Hi, update

RE: [Zope] Packing with cron

2000-08-03 Thread Andy Dawkins
Jason I'm not sure if it is worthy of putting up on Zope. Although I'm sure people will correct me if I am wrong. But I have no problems in letting you have it packDb.py is the main python script. You will need to change the line that reads

[Zope] free client to map Zope-FTP to drive letters on Windows OR Alex File System AFS

2000-08-03 Thread Marcus Schopen
Hi there, I'm looking for a free(!) Windows 95/98 programm to map my Zope-FTP to a drive letter on my Windows workstation. Commercial Versions are ftpNetDrive or WebDrive. But these are not free. Thank you Marcus P.S.: mounting Zope`s FTP with AFS (Alex FS to local directory on my linux-box

[Zope] (no subject)

2000-08-03 Thread weboats
Greetings, Is there a limit to the number of objects that may appear in a product? The goal is to be search engine friendly: http://www.myserver.com/us/ca/San_Francisco/mycategory/index_html /myroot /us /mycategory Would it be unreasonable to have 42620 folders (one for each US city

Re: [Zope] Packing with cron

2000-08-03 Thread Jason Spisak
Andy Dawkins writes: Thank you Andy. That was generous. Have you ever used this from cron? Just so I know before I try it. All my best, Jason I'm not sure if it is worthy of putting up on Zope. Although I'm sure people will correct me if I am wrong. But I have no problems in letting

Re: [Zope] dtml-calendar question.

2000-08-03 Thread R. David Murray
On Thu, 3 Aug 2000, Chris Withers wrote: In what way does it *not* follow Python (expression) syntax rules? _['something'] doesn't just return the value from the dictionary which has the 'something' key, if it's callable, it'll try to call it and then return that... not nice :( If you

Re: [Zope] dtml-calendar question (still not working)

2000-08-03 Thread R. David Murray
On Thu, 3 Aug 2000, tom smith wrote: I'm still getting allsorts of errors. My code is like this... dtml-let yearnr="date.yy()" monthnr="date.mm()" daynr="date.dd()" dtml-let startDateString="monthnr+'/'+daynr+'/'+yearnr" dtml-in expr="get_days_events(startDateString)"

Re: [Zope] Zope Usage

2000-08-03 Thread R. David Murray
On Thu, 3 Aug 2000, Marc Dullien wrote: Q1: With what tool inside Zope do I program the HTML Templates ? Read the DTML reference. Q2: I want to fill those templates with database entries Read the ZSQL reference. Q3: How can I do the linkage Isn't that the same as Q2? If you could send

Re: [Zope] free client to map Zope-FTP

2000-08-03 Thread rgines
My first question is "Do you realy need a drive letter?". If you don't need a drive letter, but really just need a connection which is mapped within the Windows drive space, there is a utility called Internet Neighborhood from KnoWare. It allows you to map FTP sites into the Windows 'File

Re: [Zope] How do I count children?

2000-08-03 Thread Kapil Thangavelu
"J. Atwood" wrote: So In ZUBB (my discussion product) I want to be able to show how many replies there have been to any one main topic. All replies are 'children' of the main post and when I state it with dtml-tree branches=children Stuff /dtml-tree It works and knows that each

[Zope] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney

2000-08-03 Thread Administrator
Send Zope maillist submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at

[Zope] 2.2 as a service and Zodbcda

2000-08-03 Thread Jim Sanford
Can you shed any insite? ***Result of testing Z SQL Method with Zope 2.2 running as a service: Z SQL Method at /scripts/Zope.pcgi / testing / test2 Error, sql.error: ('S0002', 173, "[Microsoft][ODBC

[Zope] Problem accessing property value

2000-08-03 Thread David Riggs
This is a problem I'm running into using Zope 2.1.6 and PTK 0.7.1 on an NT machine...I plan on upgrading both as soon as the 2.2.1 bug fix is released...I believe the problem is just a syntax one... I'm running into a snag trying to access the value of a property I've assigned to an instance of

Re: [Zope] ZSearch generated default report file fails on result set cardinality greater 50 for content which contains www addresses

2000-08-03 Thread Dieter Maurer
Andreas Rippel writes: I came across the situation, where the result rows of a Z SQL access contained www strings like www.uni-ko-ld.de/veranstaltungen/lehramt.html, see below. Using ZSearch generated dtml-methods generated the following html code, when the result set contains more

Re: [Zope] Batchpeocessing with multiple selection

2000-08-03 Thread Dieter Maurer
vikas writes: For this i am using batch processing. But it is giving me errors Such as key error [city],[state] and gives the url of my page where i m using batchprocessing. Can someone help me out how to overcome the problem this problem as this is very urgent for me. ... You

Re: [Zope] Problem accessing property value

2000-08-03 Thread Chris Withers
David Riggs wrote: This is a problem I'm running into using Zope 2.1.6 and PTK 0.7.1 on an NT machine...I plan on upgrading both as soon as the 2.2.1 bug fix is released...I believe the problem is just a syntax one... I'm running into a snag trying to access the value of a property I've

Re: [Zope] Confusing aq - I don't get it, anyone know why?

2000-08-03 Thread Dieter Maurer
Brad Clements writes: ... Name Error in called DTML method dtml-var "FormatColumnTable(columnlist=packagecolumns,obj=GetSelf(),notable=1)" Here, you break the namespace propagation! As a general rule: If you call a DTML object explicitely (i.e. inside "..."), then *always* use

Re: [Zope] Evaluating a string of DTML code?

2000-08-03 Thread Dieter Maurer
T.J. Mannos writes: I have an ExternalMethod that processes an HTML file, extracts the contents of the BODY tag, and wraps my site template around it. (In other words, it takes a plain vanilla HTML file and adds standard_html_header and standard_html_footer). [See

Re: [Zope] Zope + Apache on FreeBSD 4.0 problems

2000-08-03 Thread Peter Haight
Hi Peter, Hmm... I've never seen this problem, and I've been using pcgi/FreeBSD since 2.2.8. I have however seen another problem: http://lists.zope.org/pipermail/zope/1999-December/016465.html that has never really been resolved. I'm going to try your net.local magic to see if that has an

[Zope] Installation of 2.2.0 under Linux

2000-08-03 Thread Steve Sorenson
Hello, When I installed the source code of 2.2.0 on my Linux machine, I got an error message saying "Error 256" just after it began compiling the python modules. The same thing happens when I attempt to install the linux2 release. Has anybody else experienced anything of thie nature?

Re: [Zope] create DTML-Source-link like on zope.org

2000-08-03 Thread Bill Anderson
Chris Withers wrote: Deryk Barker wrote: Try something like: http://www.mysite.com/folder/dtmlmethod/view_source 404 document not found...:-( Of course it was, I made up the url as an example :P I'd like to view the source of my index_html. So you go to:

Re: [Zope] Installation of 2.2.0 under Linux

2000-08-03 Thread Nick Garcia
Steve Sorenson wrote: Hello, When I installed the source code of 2.2.0 on my Linux machine, I got an error message saying "Error 256" just after it began compiling the python modules. The same thing happens when I attempt to install the linux2 release. Has anybody else experienced

Re: [Zope] acquisition vs. inheritance

2000-08-03 Thread Jonothan Farr
Is it possible to have just one top level object that refers to other objects that get overridden as you go into other folders? Acquisition works the other way around. You can create objects in subfolders whose contents are overriden higher up. You can't have an object at the top whose

[Zope] Upload applet in Java/JPython

2000-08-03 Thread Alexander Limi
Hi, I tried posting this to the comp.lang.pyton group, but I never got any answer, so I was hoping that you friendly Zope folks could offer me some advice. The setting is this: My web site collects big files (typically 2-5 MB) that the users upload via HTTP POST (yeah, I know - FTP is nicer,

[Zope] How to prime a selection?

2000-08-03 Thread Jean Jordaan
Hi all I'm making a document class for a warehouse of papers. It's based on ZCatalogAware and ObjectManager (to wrap mainly PDFs and DOCs), and has fields: title (string type) origin (string type) format No value for format_value. typeNo value for type_value. "format" and

[Zope] RE: How to prime a selection?

2000-08-03 Thread RC Compaan
Hi Jean The value for a selection list can be any zope object that returns a list eg. MyDocClass can have a property "Format" with a value "FormatList", where FormatList is a dtml-method that returns a list. Practically: 1.Go to the property sheet for your new class and add the property Format

Re: [Zope] create DTML-Source-link like on zope.org

2000-08-03 Thread Chris Withers
Deryk Barker wrote: Try something like: http://www.mysite.com/folder/dtmlmethod/view_source 404 document not found...:-( Of course it was, I made up the url as an example :P I'd like to view the source of my index_html. So you go to: http://www.yoursite.com/index_html/view_source.

[Zope-dev] Calling parent class method when method is overridden in current class?

2000-08-03 Thread Phil Harris
Hi all, I'm in the process of creating a Python based product, and have a need to call the base classes index_html method. My problem is that I need to call it from my classes index_html. My class has DTMLDocument as the base class so I want to call something like DTMLDocument.index_html().

Re: [Zope-dev] Calling parent class method when method is overridden in current class?

2000-08-03 Thread Steve Alexander
Phil Harris wrote: Hi all, I'm in the process of creating a Python based product, and have a need to call the base classes index_html method. My problem is that I need to call it from my classes index_html. My class has DTMLDocument as the base class so I want to call something like

Re: [Zope-dev] Calling parent class method when method is overridden in current class?

2000-08-03 Thread Phil Harris
Steve, I'm pretty sure I've tried that but I'll try it again and see what happens, hang on I'll be right back. Right I'm back, I thought I'd tried it and I had, I get this error: Error Type: TypeError Error Value: call of non-function (type None) Traceback (innermost last): File

Re: [Zope-dev] permissions/authorization on non ZClass/product objects

2000-08-03 Thread Toby Dickenson
On Wed, 2 Aug 2000 22:41:46 -0400 (EDT), Chris McDonough [EMAIL PROTECTED] wrote: Karl, Two things come to mind: First, make sure you're returning the instances in the context of their container, e.g. instead of: def returnstuff(self): class foo: pass return

Re: [Zope-dev] Solved - Calling parent class method when method is overridden in current class?

2000-08-03 Thread Phil Harris
Yay, Solved it! I just had to call __call__ from the DTMLDocument and bob is now married to my mothers sister. Phil [EMAIL PROTECTED] - Original Message - From: "Phil Harris" [EMAIL PROTECTED] To: "Steve Alexander" [EMAIL PROTECTED] Cc: "Zope-Dev@Zope. Org" [EMAIL PROTECTED] Sent:

RE: [Zope-dev] permissions/authorization on non ZClass/product objects

2000-08-03 Thread Chris McDonough
First, make sure you're returning the instances in the context of their container, e.g. instead of: def returnstuff(self): class foo: pass return foo() do def returnstuff(self): class foo: pass return

Re: [Zope-dev] DataSkin propoerty Sheets/Providers.

2000-08-03 Thread Phillip J. Eby
At 07:09 PM 8/2/00 -0600, Bill Anderson wrote: I think I have a decent handle on this concept, but something seems lacking, I hope someone can clear it up :) So, let us say I have an object, call it a Member. :) And let us say I want to be able to add a property sheet to it in a

[Zope-dev] ZCatalog and ZSearch Interface

2000-08-03 Thread Chris Withers
Hi there, While playing with Squishdot to make it more ZSearch-friendly, I noticed that ZCatalog isn't actually ZSearch friendly either. I think the following patch corrects that, if peopel agree, I'll stick it in the collector. cheers, Chris ___

Re: [Zope-dev] ZCatalog and ZSearch Interface

2000-08-03 Thread Chris Withers
D'Oh! Here's the file... Chris --- ZCatalog.py.old Thu Aug 3 15:17:05 2000 +++ ZCatalog.py Thu Aug 3 15:21:25 2000 @@ -392,7 +392,7 @@ def _searchable_result_columns(self): r = [] -for name in self._catalog.indexes.keys(): +for name in

Re: [Zope-dev] ZCatalog and ZSearch Interface

2000-08-03 Thread Martijn Pieters
On Thu, Aug 03, 2000 at 04:07:31PM +0100, Chris Withers wrote: D'Oh! Here's the file... Chris --- ZCatalog.py.old Thu Aug 3 15:17:05 2000 +++ ZCatalog.py Thu Aug 3 15:21:25 2000 @@ -392,7 +392,7 @@ def _searchable_result_columns(self): r = [] -

[Zope-dev] Abstract ZClasses

2000-08-03 Thread Dieter Maurer
I would find an abstract ZClass (or Meta ZClass) concept very nice (and useful). I would like to use it, e.g., for a general hieararchical view on relational databases. The view allows browsing (via the tree tag) and selection of one or more items. Most can be implemented independantly of the

Re: [Zope-dev] DataSkin propoerty Sheets/Providers.

2000-08-03 Thread Bill Anderson
"Phillip J. Eby" wrote: At 07:09 PM 8/2/00 -0600, Bill Anderson wrote: I think I have a decent handle on this concept, but something seems lacking, I hope someone can clear it up :) So, let us say I have an object, call it a Member. :) And let us say I want to be able to add a property

Re: [Zope-dev] DataSkin propoerty Sheets/Providers.

2000-08-03 Thread Phillip J. Eby
At 05:38 PM 8/3/00 -0600, Bill Anderson wrote: "Phillip J. Eby" wrote: PersistentSheetProviders can do what you want - *but* there is one drawback. PSP's have no concept of a sheet schema, so you have to add the sheet and set up its schema in code for *each instance*. Rats. :/ I forgot