Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Shane Hathaway wrote: Python's sort() lets you sort based on not only strings but also tuples, lists, and numbers, which is a very useful feature. Thus sort() is intended to be a highly generalized method. It is useful but not ideal for sorting text strings. What you *really* want is a

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Dieter Maurer wrote: Chris Withers writes: Dieter Maurer wrote: Andy McKay writes: what does anyone else think I would not like it. Why not? ;-) I would not like to see this sort order in the management screens, because I use capitalization to ensure that

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Toby Dickenson wrote: (reasons of course would be helpful, particularly if you want it to stay like it is ;-) I noticed the smiley, so Im not sure how serious the suggestion is. It was serious, the smiley was 'cos I couldn't understand why anyone would want it to stay like it is :-) 1.

Re: [Zope-dev] Conflict Errors

2001-01-03 Thread Dieter Maurer
Chris Withers writes: However, if anyone does know what constitutes a 'seperate object' in ZODB terms, it be really useful to know. I'm guessing a class which inherits from Persistent? Dictionaries don't, 'cos they're python builtins, which I'm pretty certain was the problem in my

RE: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy Dawkins
Dieter Maurer wrote: Chris Withers writes: Dieter Maurer wrote: Andy McKay writes: what does anyone else think I would not like it. Why not? ;-) I would not like to see this sort order in the management screens, because I use capitalization to

Re: [Zope-dev] Acquisition: context and containment

2001-01-03 Thread Chris Withers
Toby Dickenson wrote: In particular, there seems to be merit in an acquisition that searches only the containment heirarchy. ...I liked the context one that was discussed last year and which Evan provides some external methods to explement. cheers, Chris

Re: [Zope-dev] Acquisition wishlist :-)

2001-01-03 Thread Chris Withers
Jim Fulton wrote: I'm inclined to think that in some future version of Zope, we should switch to making explicit acquisition the norm. Well, implicit is good when you're starting, but can cause fun with security later. Hmmm, I guess I like the way it is but my wishlist (damn, Christmas just

[Zope-dev] Re: Starting ZServer

2001-01-03 Thread me_in_apache
Hi guys, This is my first entry to this mailing list and please forgive me if u feel this a stupid problem to begin with.(Today happens to be my first day on ZServer) My Zserver has started at 8080 but the manage.dtml is not accessible from the browser either as localhost or with the host

Re: [Zope-dev] dynamic permissions in zope

2001-01-03 Thread Dieter Maurer
Heinz-Josef Claes writes: dynamic permissions It is not Zope's normal behaviour. Of cause, you could plug in a new UserFolder that implements the features you require (someone else recommended "LoginManager"). On the other hand, Zope is flexible enough to let you approximate the

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Phil Harris
See below (nothing earth shattering tho) ;) - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Shane Hathaway" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 03, 2001 10:58 AM Subject: Re: [Zope-dev] case insensitive sorts Shane Hathaway wrote:

RE: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy Dawkins
Andrew David Wayne bart sophie is better than sorting: Andrew bart David sophie Wayne That's only because you use NT (ach spit). ;) Thats not actually true. It is how python behaves on WinNt, Win9X, Linux, etc (I have tested this) -Andy

Re: [Zope-dev] Re: Starting ZServer

2001-01-03 Thread matt
http://127.0.0.1:8080/ if that works then check out your /etc/hosts file or equiv On Thu, 04 Jan 2001, [EMAIL PROTECTED] wrote: Hi guys, This is my first entry to this mailing list and please forgive me if u feel this a stupid problem to begin with.(Today happens to be my first day on

Re: [Zope-dev] [ZPatterns] DataSkin and Zope Security

2001-01-03 Thread Chris Withers
"Phillip J. Eby" wrote: DataSkins stored in Racks do not participate in the Zope ownership mechanism, nor the creation of the 'Owner' role. This is because they are not being stored via the normal ObjectManager protocols. Hurm... to what extent do they participate in Zope's Security

[Zope-dev] AppTabs

2001-01-03 Thread Chris Withers
Ty Sarna wrote: AppTabs[4] [4] Unreleased product, still in some flux. It mainly provides fancier, more flexible version of Zope's management tabs, suitable for use in an application (that is, suitable for exposing to users, not just developers). It also has some local roles hooks as

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2001-01-03 Thread Chris Withers
Steve Alexander wrote: On a related issue, what about other dtml snippets that people generally don't want as web accessible, such as standard_html_header ? On my pie-in-the-sky zope wishlist: snip wishlist I did have a proposal for just this on dev.zope.org, but I see someone has

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2001-01-03 Thread Chris Withers
Dieter Maurer wrote: There are objects, that should be usable by Anonymous inside DTML but should not be viewable over the web (as they will only confuse). All page components (such as "standard_html_header/footer") fall into this category. Totally agree... this has bugged

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
Andy Dawkins wrote: Dieter Maurer wrote: Chris Withers writes: Dieter Maurer wrote: Andy McKay writes: what does anyone else think I would not like it. Why not? ;-) I would not like to see this sort order in the management screens,

RE: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy Dawkins
Your analogies imply that this behavior is a bug or an unintended flaw in the design. I would argue that it is intentional. Unix file systems work the same way. Try doing an "ls" with mixed case files and you'll see what I mean. It isn't a flaw. It seems as though it was overlooked. The

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
Andy Dawkins wrote: Your analogies imply that this behavior is a bug or an unintended flaw in the design. I would argue that it is intentional. Unix file systems work the same way. Try doing an "ls" with mixed case files and you'll see what I mean. It isn't a flaw. It seems as

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Andy McKay wrote: They want information fast and most users expect case insensitive sorts. Its simpler and easy. I think having the ignore_case option for a -tree and -in helps Zope by increasing the ease of development and friendliness to the user. And my point was that this is so

Re: [Zope-dev] Allowed characters in Zope ids

2001-01-03 Thread Andy McKay
I recently read RFC 2396 which defines the generic URI syntax and especially the URL syntax. I recognized, that * Zope forbids many characters in ids (with the error message "not allowed in URLs"), that are legal characters in URL path segments: generally allowed in URL's:

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Andy McKay
Hmm im actually not so sure on that. Currently you can do a sort either way, if you fix it so its only case sensitive we'll end up like Visual Basic :) Fixing python is a question for the python list and I'd be scared to ask it there... -- Andy McKay, Developer. ActiveState. - Original

[Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Chris Withers
Hi, Once again I'm back at trying to solve this problem, hopefully with a little more knowledge this time ;-) What I'd like: 'Zope' objects of type 'X', which can have multiple parents and can contain other objects of type 'X', where storage isn't necessarily tied to the ZODB but where the

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Chris Withers
Andy McKay wrote: Hmm im actually not so sure on that. Currently you can do a sort either way, if you fix it so its only case sensitive we'll end up like Visual Basic :) Actually, I'd like to see it 'fixed' so it's only case insensitive: Alan betty Carl Wilbur Fixing python is a question

Re: [Zope-dev] How to confuse the publishing process

2001-01-03 Thread Steve Spicklemire
Hi Chris, I have folder test1 at the root with a DTML Method: index_html that says: html head /headbody I am in the test1 folder. /body/html in test1 I have folder test2 with a DTML Method: index_html that says: html head /headbody I am in the test2 folder. /body/html When I view

[Zope-dev] ZPatterns - GPG/PGP Rack.

2001-01-03 Thread Erik Enge
Hi, all. I might have misunderstood the Racks place in ZPatterns, but anyway... To me, this sounds like a really, really cool idea. If we passed the User object along to the Racks (which is what it does now?), and let the Rack (GPG/PGP Rack, that is) have access to either an external or

Re: [Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Steve Spicklemire
Hi Chris, Random thoughts follow. ;-) I think that if you make your DataSkins folderish it will be hard to make the storage anything other than ZODB. However, Steve Alexander posted a neat trick the other day where __bobo_traverse__ is supplied by an attribute provider. You could use this

[Zope-dev] Import with INSTANCE_HOME?

2001-01-03 Thread BS
Can anyone tell me how to do a "from Products.ZPatterns import anything" when using INSTANCE_HOME? Do I have to add the INSTANCE_HOME path to sys.path? Thanks

[Zope-dev] Re: Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Steve Alexander
Chris Withers wrote: Hi, Once again I'm back at trying to solve this problem, hopefully with a little more knowledge this time ;-) What I'd like: 'Zope' objects of type 'X', which can have multiple parents and can contain other objects of type 'X', where storage isn't necessarily tied

Re: [Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-03 Thread Phillip J. Eby
At 05:15 PM 1/3/01 +, Chris Withers wrote: What I'd like: 'Zope' objects of type 'X', which can have multiple parents and can contain other objects of type 'X', where storage isn't necessarily tied to the ZODB but where the objects have a normal properties page (in terms of use, again, it'd

Re: [Zope-dev] OracleStorage, and possibly others

2001-01-03 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: - Policies to control whether multiple revisions are stored or whether revisions are removed by packing on a object-by-object or transaction-by-transaction basis. You could keep significant historical revisions for important

Re: [Zope-dev] Import with INSTANCE_HOME?

2001-01-03 Thread Evan Simpson
From: BS [EMAIL PROTECTED] Can anyone tell me how to do a "from Products.ZPatterns import anything" when using INSTANCE_HOME? Do I have to add the INSTANCE_HOME path to sys.path? As long as Python has already imported Zope (i.e. you're in another Product) you don't need to do anything

[Zope-dev] Frozen Zope?

2001-01-03 Thread BS
Has anyone tried to use the "Freeze" utility on Zope? How about Gordon McMillian's"Install" application to make a self-contained Python-Zope executable for Win32? My goal is to create a very easy install of Zope that consists of one or two files. For some of my clients this seems less

Re: [Zope-dev] ZPatterns question

2001-01-03 Thread Christian Scholz
Hi! Actually should answer to these posts... ;-) On Thu, Dec 28, 2000 at 03:11:37PM -0500, Steve Spicklemire wrote: Hi Christian, Well, nobody else answered that I saw... so I'll take a crack at your questions "CS" == Christian Scholz [EMAIL PROTECTED] writes: CS Hi

Re: [Zope-dev] ZPatterns question

2001-01-03 Thread Christian Scholz
Hi Steve! On Thu, Dec 28, 2000 at 10:45:46PM +, Steve Alexander wrote: Steve Spicklemire wrote: CS 2. Is it planned to provide something like a virtual folder CS which acts like a normal object manager but is controlled via CS ZPatterns (so actually something like

Re: [Zope-dev] Re: Starting ZServer

2001-01-03 Thread Dieter Maurer
[EMAIL PROTECTED] writes: My Zserver has started at 8080 but the manage.dtml is not accessible from the browser either as localhost or with the host name. Please suggest me an answer the problem ASAP. You are using: http://localhost:8080/manage do you? You must not use

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Dieter Maurer
Chris Withers writes: Andrew bart David sophie Wayne Why in hell do you switch caseness for similar objects? If you apply some naming conventions, such as "objects start with a Capital letter, verb with a lowercase letter", you may find Python's sorting order usefull. Dieter

Re: [Zope-dev] CatalogAware

2001-01-03 Thread Michael Bernstein
Chris Withers wrote: Michael Bernstein wrote: If you are writing your own cataloging and uncataloging code, then I think that it could be. G The cataloguing code in Squishdot amounts to about 4 lines, all of which are calls to standard ZCatalog interface methods as

Re: [Zope-dev] Frozen Zope?

2001-01-03 Thread Toby Dickenson
On Wed, 3 Jan 2001 15:09:02 -0500, "BS" [EMAIL PROTECTED] wrote: My goal is to create a very easy install of Zope that consists of one or two files. For some of my clients this seems less intimidating on their machines (they would rather not see the "source code", just an executable). On win32

Re: [Zope-dev] Local Factories in Products

2001-01-03 Thread Chris Withers
Michael Bernstein wrote: Ah! That would be a very simple and elegant way of eliminating 'add-dropdown-box pollution', among other advantages. An excellent proposal, indeed. So, how to go about getting it implemented? cheers, Chris ___

Re: [Zope-dev] PartitionedFileStorage vs BerkleyStorage

2001-01-03 Thread Chris Withers
Shane Hathaway wrote: But like I told ChrisW, I think BerkeleyStorage will fill the need that PartitionedFileStorage was only partitially addressing. Is BerkleyStorage going to be as easy to set up and use? I seem to remember Jim F making some comments to the contrary a while back... What

Re: [Zope-dev] Conflict Errors

2001-01-03 Thread Toby Dickenson
On Tue, 02 Jan 2001 16:50:49 +, Chris Withers [EMAIL PROTECTED] wrote: However, if anyone does know what constitutes a 'seperate object' in ZODB terms, it be really useful to know. I'm guessing a class which inherits from Persistent? Dictionaries don't, 'cos they're python builtins, which

Re: [Zope-dev] CatalogAware

2001-01-03 Thread Michael Bernstein
Chris Withers wrote: Michael Bernstein wrote: I guess it's just a matter of only reinventing the wheels you have to, and writing less code as a result. I'm pretty sure Squishdot is re-inventing no wheels ;-) If you are writing your own cataloging and uncataloging code, then I think