[Zope-dev] Mapping groups of users to local roles

2001-02-18 Thread Johan Carlsson
Hi, I have the need to make a group extension to the permission system in Zope. I need to make so kind of folder or acl_extender that can know about groups of users and map them to local roles. As I understand the security system user get their role mapping through a UserManager

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-18 Thread Michael R. Bernstein
"R. David Murray" wrote: This means you can do things like have (my example) a Paradox database of books, authors, and a books-to-authors map, and have Author and Book objects in the system such that a Book has a list of its Author objects and the Author has a list of its Book objects, all

[Zope-dev] LONG int breaks mysqlUserfolder

2001-02-18 Thread francine broekhove
Hi, i wonder if this is where i should post this message? Anyway, i've been upgrading my zope from 2.1.6 (python 1.5.2) to zope 2.3.0src (with Python 2.0). I changed my Mysqlda to the latest version (in which a long definition has replaced the previous int). I breaks any application that

Re: [Zope-dev] ZPatterns and Book Cataloging (was: Using Zope forGroupware/Messaging applications)

2001-02-18 Thread R. David Murray
On Sun, 18 Feb 2001, Michael R. Bernstein wrote: How are you entering the data into the system? Specifically, how are you *normalizing* the Author and book information? I don't know what you mean by normalizing, I'm afraid. The data is stored and upated in the external Paradox database, which

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-18 Thread Steve Alexander
Joachim Werner wrote: And, instead of switching back-ends in ZPatterns, I could as well just rewrite my non-ZPattern objects to work with the new back-end, which doesn't seem to be more work. Well, do your first project both ways. It would make an interesting comparative study. I

[Zope-dev] Photo Product Strangeness

2001-02-18 Thread Michael R. Bernstein
I've been messing around with the Photo product, and I've noticed something odd about how it handles changes to the display sizes: When you create several Photo objects in the same folder (not in a ZPhotoAlbumPage), they affect each others display sizes. For example, changing one of the display

[Zope-dev] Python Product as DataSkin

2001-02-18 Thread Michael R. Bernstein
I have an existing Python Product that I would like to use as a DataSkin in a Rack. What do I need to change (import/subclass) in order to use it in this way? Thanks, Michael Bernstein. ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] ZCatalog scalability

2001-02-18 Thread Michael R. Bernstein
Erik Enge wrote: [Michael Bernstein] | I need to know how far the ZCatalog will scale using this indexing | and search strategy. Does anyone have anectodal or benchmark data to | suggest if (and when) I will hit a 'wall' regarding the number of | objects being indexed and searched?

Re: [Zope-dev] ZCatalog scalability

2001-02-18 Thread Erik Enge
[Michael R. Bernstein] | Erik Enge wrote: | | I'll let you know how it goes. (And please, do poke at me if it takes | too long.) | | Ok, I'm poking :-). Thanks. Keep doing it till you get what you need, I truly don't mind. :-) | How did it go? Thanks to the speed of delivery at Royal

Re: [Zope-dev] ZCatalog scalability

2001-02-18 Thread Michael R. Bernstein
Erik Enge wrote: [Michael R. Bernstein] | Erik Enge wrote: | | I'll let you know how it goes. (And please, do poke at me if it takes | too long.) | | Ok, I'm poking :-). Thanks. Keep doing it till you get what you need, I truly don't mind. :-) | How did it go? Thanks to

Re: [Zope-dev] ZCatalog scalability

2001-02-18 Thread Erik Enge
[Michael R. Bernstein] | What I'm looking for is any indication that object creation time | and/or indexing time goes up with the number of objects already in | the ZODB. Well, one thing I've already learned - which you all probably know - is that you do _not_ want to put index_object() in your

[Zope-dev] how to create third party Product?

2001-02-18 Thread Huayin wang
It would be great if someone can tell me how to create a third party product in 1) dtml, 2) python method. Does it depend on whether it is a ZClass product? Where's the documentation that I can read to get a clue? thanks! __ Do You Yahoo!? Get

Re: [Zope-dev] Python Product as DataSkin

2001-02-18 Thread Phillip J. Eby
At 12:51 PM 2/18/01 -0800, Michael R. Bernstein wrote: I have an existing Python Product that I would like to use as a DataSkin in a Rack. What do I need to change (import/subclass) in order to use it in this way? from ZPatterns.DataSkins import DataSkin class MyClass(DataSkin,...all other

[Zope-dev] how to create third party Product?

2001-02-18 Thread Huayin wang
It would be great if someone can tell me how to create a third party product in 1) dtml, 2) python method. Does it depend on whether it is a ZClass product? Where's the documentation that I can read to get a clue? thanks! __ Do You Yahoo!? Get

[Zope-dev] Fiber Optic cable connectors needed !!!

2001-02-18 Thread pmilea
This message is being sent only to those who have requested our offers and to those who wish to receive them. If you have received this in error or no longer wish to receive our offers, please click here [EMAIL PROTECTED] and mark REMOVE in message header subject. Also be sure to include any

Re: [Zope-dev] AttributeError validate using the Visitor pattern

2001-02-18 Thread Itai Tavor
Hi David, You posted your questions 3 days ago, so maybe you found a solution by now... but this might still be useful to you. I just implemented a visitor similar to yours, with a few changes. It involves the following objects: Order and OrderLineItem. I created a Folder named

[Zope-dev] how to create third party Product?

2001-02-18 Thread Huayin wang
It would be great if someone can tell me how to create a third party product in 1) dtml, 2) python method. Does it depend on whether the product is a ZClass product? Where's the documentation that I can read to get a clue? thanks! __ Do You

[Zope-dev] ZClass object on Rack retains old permission settings after beingchanged

2001-02-18 Thread Itai Tavor
Hi, I have an instance of a ZClass stored on a Rack.the ZClass contains a Folder named displayItemsVisitor. I changed the Folder's View permission to from 'View' to 'Manage Application Objects' which is a permission defined in my Product. I then gave viewOrder_html, which is a DTML Method

Re: [Zope-dev] ZCatalog scalability

2001-02-18 Thread Michael R. Bernstein
Erik Enge wrote: [Michael R. Bernstein] | What I'm looking for is any indication that object creation time | and/or indexing time goes up with the number of objects already in | the ZODB. Well, one thing I've already learned - which you all probably know - is that you do _not_ want to

Re: [Zope-dev] Python Product as DataSkin

2001-02-18 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: At 12:51 PM 2/18/01 -0800, Michael R. Bernstein wrote: I have an existing Python Product that I would like to use as a DataSkin in a Rack. What do I need to change (import/subclass) in order to use it in this way? from ZPatterns.DataSkins import DataSkin

[Zope-dev] Re: [Zope-PTK] PTK and Usability

2001-02-18 Thread Tres Seaver
On Mon, 19 Feb 2001, Johan Carlsson wrote: nagging snipped : We have an existing effort underway to tackle the "DTML snippet" problem for Zope in general: http://www.zope.org//Wikis/DevSite/Projects/ZPT In particular, ZPT makes pages back into "wholes", editable using

[Zope-dev] Re: [Zope-PTK] PTK and Usability

2001-02-18 Thread Johan Carlsson
FTP will work; Paul reminds me that the other thing ZPT needs is good XHTML support, which DreamWeaver (apparently) still lacks. Ah. FWIW, we originally favored DW as a candidate ZPT editor, and only reluctantly dropped it, after getting less-than-helpful replies from the

[Zope-dev] Re: [Zope-PTK] PTK and Usability

2001-02-18 Thread Tres Seaver
On Mon, 19 Feb 2001, Johan Carlsson wrote: FTP will work; Paul reminds me that the other thing ZPT needs is good XHTML support, which DreamWeaver (apparently) still lacks. Ah. FWIW, we originally favored DW as a candidate ZPT editor, and only reluctantly dropped it, after

Re: [Zope-dev] Python Product as DataSkin

2001-02-18 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: At 12:51 PM 2/18/01 -0800, Michael R. Bernstein wrote: I have an existing Python Product that I would like to use as a DataSkin in a Rack. What do I need to change (import/subclass) in order to use it in this way? from ZPatterns.DataSkins import DataSkin

[Zope-dev] ZDatabaseTool source code released

2001-02-18 Thread Andreas Heckel
This is the first ZDatabaseTool source code release . Two new Zope objects are provided. ZDatabaseDiagram shows the structure and relations between tables of your database based on referential integrity definitions. So you get a quick view over tables views and column definitions. A

Re: [Zope-dev] Python Product as DataSkin

2001-02-18 Thread Phillip J. Eby
At 09:49 PM 2/18/01 -0800, Michael R. Bernstein wrote: Ok, assuming that the 'normal' instantiation is either solved or a non-issue, do I need to do anything special to get the newItem() method to call my products manage_add method? newItem() will not do that. A Rack's newItem() method always

Re: [Zope-dev] Python Product as DataSkin

2001-02-18 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: At 09:49 PM 2/18/01 -0800, Michael R. Bernstein wrote: Ok, assuming that the 'normal' instantiation is either solved or a non-issue, do I need to do anything special to get the newItem() method to call my products manage_add method? newItem() will not do that.

Re: [Zope-dev] Python Product as DataSkin

2001-02-18 Thread Phillip J. Eby
At 10:47 PM 2/18/01 -0800, Michael R. Bernstein wrote: Hmm. So I need to refactor the 'manage_add' method inside the python product into two methods, 'manage_add' which would be used by the 'normal' object creation process and that would also call a second 'setup' method which could be called by

Re: [Zope-dev] Python Product as DataSkin

2001-02-18 Thread Michael R. Bernstein
Philip, I have gone spelunking into the DataSkin class source to try to find out why subclassing from DataSkin is interfering with 'normal' (not in a rack) instantiation of the product, but with no success. Any assistance you could give would be appreciated. BTW, I think the first line needs to