Re: [Zope-dev] Patch to fix problem

2000-11-07 Thread Chris Withers
Chris Withers wrote: If I try and add a property in __init__ as so: self.manage_addProperty('AProperty','1\n2\n3','lines') I get the following wonderful error: Error Type: AttributeError Error Value: aq_base I made this go away with a patch to PropertyManager.py

[Zope-dev] Bad General Try and Except

2000-11-07 Thread Chris Withers
Hi Again, Management.py (around line 148) contains one of those nasty general try: except: clauses which mask real problems Anyone know why it's there? With some additions, I found out it was masking an 'index out of range' error in the product I'm developing. I wonder why this was presented

Re: [Zope-dev] Adding properties in __init__

2000-11-07 Thread Chris Withers
Toby Dickenson wrote: Your object must have a factory method somewhere I suggest adding an extra method to your object (I always name it '_after_create') and arrange for it to be called by your factory once the new object is installed in its container. ...yurch! ;-) Chris

[Zope-dev] ZPatterns, MySQL, Full Text Searching

2000-11-08 Thread Chris Withers
Hello, I've read that ZPatterns and ZCatalog don't interact too well and I was wondering if this is also true of the new ZPatterns release. I might be looking to move something to ZPatterns so that it can get all benefits of Zope's security system and things like the Catalog, obviously if the

[Zope-dev] DynPersist for Windows, ZPatterns 0.4.3b1 and Zope 2.2.x

2000-11-09 Thread Chris Withers
Hi, Just went through the fun of compiling this so thought I'd mail it to the list in case anyone else wants it... Also noticed the Pluggin product is missing a /help folder in the distribution which makes registerHelp() barf unpleasantly. Adding an empty directory of that name makes the

Re: [Zope-dev] Observable Interface?

2000-11-10 Thread Chris Withers
Tres Seaver wrote: Chris Withers [EMAIL PROTECTED] asked: Does anyone know what happened to it and how far its implementation got? The preliminary implementaion, DefaultObservabale, landed as a mix-in class in Zope 2.2: $ZOPE_HOME/lib/python/OFS/DefaultObservable.py Mix

Re: [Zope-dev] Re: Discussion Story Building Mediums

2000-11-10 Thread Chris Withers
Michael Bernstein wrote: After some more thought, I realized that this really needs to be a three-way gateway betrween a mailing list, a 'blog, and a newsgroup. I'm all up for doing the mailing list/weblog type bits but I have no idea how news _works_ and how it could be integrated into the

Re: [Zope-dev] RFClarification: Security on Product Attributes

2000-11-10 Thread Chris Withers
Okay, apologies in advance for picking up a thread that's been dorman for so long ;-) Jim Fulton wrote: Chris Withers wrote: self.id = id self.title = 'Title!' self.anInt = 0 self.aString = 'testing' None of the values above can have a __roles__

Re: [Zope-dev] Observable Interface?

2000-11-10 Thread Chris Withers
Tres Seaver wrote: The docs are in the interfaces wiki: http://www.zope.org/Members/michel/Interfaces/ObserverAndNotification (Note that this actually predates the fishbowl process -- this has been in Zope for a lng time). Actually at:

Re: [Zope-dev] Exceptions

2000-11-10 Thread Chris Withers
Oh if only!!! I love this idea, and comments haev coem from DC along those same lines, btu nothing ever really happened about it... cheers, Chris seb bacon wrote: I was just building in some error handling into some UI code, and wanted to catch errors relating to duplicate ids. The

[Zope-dev] [Fwd: [Zope] DataSkin Supplier?]

2000-11-10 Thread Chris Withers
Erk... meant this for zope-dev :-S Chris Withers wrote: Hello... Okay, I'm still staring up at the ZPatterns learning cliff as I write this so forgive my ignorance. I'm looking at ZPatterns WRT to 'dynamically generated dataskins'. You what? Well, okay, I'll try and explain

Re: [Zope-dev] searching for __call__

2000-11-13 Thread Chris Withers
Stephen Simmons wrote: P.S. ChrisW, searching NIP for "__call__" returns every message with 'call' in it, which is not quite the same thing! That's not my experience :-S cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] CatalogTNG

2000-11-13 Thread Chris Withers
Christopher Petrilli wrote: Chris Petrilli is working on a fishbowl proposal for CatalogNG; I'm pretty sure he intends to adopt some kind of observer/event scheme to make it work. CatalogTNG is definately going to be top down, rather than bottom up (its current design). I'm trying to

Re: [Zope-dev] ZCatalog + ZCatalog

2000-11-13 Thread Chris Withers
Casey Duncan wrote: OK, what this patch does is allow you to concatenate ZCatalog result sequences (Lazy sequences) without loading the whole enchilada into memory. It also dispenses with the funky workaround/hack notation that currently exists (although it still works AFAIK). Once this

[Zope-dev] Re: [Zope] FIX for the infamous __call__ bug - testers needed!

2000-11-13 Thread Chris Withers
Brian Lloyd wrote: Hi all - One of the things I _really_ _really_ wanted to fix for the upcoming 2.2.3 release is the infamous "__call__" bug. I have a fix that works according to my limited testing - what I really need is for a few volunteers familiar with the problem to take a few

Re: [Zope-dev] License issues

2000-11-14 Thread Chris Withers
Juan David IbXXez Palomar wrote: software, but I know there's people that don't use Zope because of this incompatibility. their loss... Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] License issues

2000-11-14 Thread Chris Withers
Juan David IbXXez Palomar wrote: And more, there's already zope software with the GPL license, for example ZWiki. ZWiki is included in Debian, probably the Debian developer that maintains the package is not aware of these license issues. Has any open source license issue actually come to

Re: [Zope-dev] ZClasses - Two glaring omissions

2000-11-15 Thread Chris Withers
There was lots of talk a while back about redoing ZClasses. I wonder what ever happened to that? cheers, Chris Andy McKay wrote: Of course all those points can be done in python, im assuming you are talking about ZClasses. -- Andy McKay, Developer. ActiveState. - Original

Re: [Zope-dev] large PersistentMapping

2000-11-15 Thread Chris Withers
Talk to Tres Seaver about the observer interface and the event channel stuff. He has lots of ideas about this and I think it does pretty much what you want... cheers, Chris Robin Becker wrote: I'm trying to build a Reverse Cross Referencing Product. The idea is to enable documents to know

Re: [Zope-dev] TTW Product distribution

2000-11-15 Thread Chris Withers
jimbo wrote: Hi, If I try to distribute it and leave it set for "Allow redistribution". Its not showing up in the Zope products directory tree after I untar the 3 files into the file system products directory and restarting Zope. I have a Dataskin based ZClass, 2 Specialist, the

Re: [Zope-dev] __replaceable__ or whatever it is ;-)

2000-11-15 Thread Chris Withers
Shane Hathaway wrote: FYI I actually added the docs in two places, but they were promptly removed from the place they did not belong: the help system. Unfortunately the InterfacesWiki is currently the only good place. Guess we'll have to wait for 2.3 :-) Could whoever did the coding

[Zope-dev] Folders w/Customizer Support

2000-11-16 Thread Chris Withers
If a FwCS, supports a meta_type, does that mean it has to provide everything for DataSkins of that meta_type? To put it another way, could you have a FwCS that provided soem properties and let another FwCS further up the acquisition tree supply the rest? cheers, Chris

[Zope-dev] Conflict Errors

2000-11-20 Thread Chris Withers
Hi, Whenever there's a lot of writes and the occasional read going on, we get the following error: 2000-11-19T16:03:44 INFO(0) Z2 CONFLICT Competing writes at, /aFolder/anObject Traceback (innermost last): File D:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 175, in publ ish

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2000-11-23 Thread Chris Withers
Shane Hathaway wrote: What couldn't be tested by my limited resources: - Platforms other than Linux. I'm running this on my NT4 Workstation, not high load but I'll let you know if anything weird happens (that isn't caused by me ;-) I wonder if this will help with the conflict errors I've

[Zope-dev] ZPatterns Mailing List?

2000-11-27 Thread Chris Withers
Hi, Just noticed there are loads of ZPatterns posts on [EMAIL PROTECTED] Would it help to have a ZPatterns list? Is there one? Could Ethan set one up? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] ZPatterns getPersistentItemIDs() bug?

2000-11-27 Thread Chris Withers
Steve Spicklemire wrote: This is a known problem. Use: dtml-let itemIDs="[]" dtml-in "addressRack.getPersistentItemIDs()" sort dmtl-call "itemIDs.append(_['sequence-item'])" /dtml-in Hmmm... that's not very nice, has the bug in getPersistentItemIDs() been fixed? cheers, Chris

Re: [Zope-dev] Mail and zope

2000-11-27 Thread Chris Withers
Roch'e Compaan wrote: Is there anyway to get a hold off the message-id of e-mail sent through the sendmail tag? I would have thought the message-id would only get generated by the MTA once the sendmail tag has finished doing its thing :-( cheers, Chris

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2000-11-27 Thread Chris Withers
Phil Harris wrote: Chris, Any hints/tips on how you did this (just to save me from having to do any work of course ;)) I just used WinZip to extract the tarball in the /ZODB directory. Sadly, it didn't work, and won't do until the next version fo Zope is released :-( cheers, Chris

[Zope-dev] Non-TTW ZPatterns

2000-11-27 Thread Chris Withers
Hi, I think (shock, horror) I'm finally starting to understand ZPatterns ;-) (well, okay, just a little bit then...) Anyway, I'm wondering how I'd go about making a ZPatterns-based project that is totally file system based. The reasons for this are CVS-ability, the ability to update the

Re: [Zope-dev] RFC: Python/Zope Interfaces: ZCatalog

2000-11-28 Thread Chris Withers
Ken Manheimer wrote: I'm not expert on eiffel or even interfaces, but my understanding having interface "specification very near to the implementation" is misleading, at best. The key thing is that there may be many implementations, all of which should be written to the same implementation

Re: [Zope-dev] RFC: Python/Zope Interfaces - More ZCatalog ;-)

2000-11-29 Thread Chris Withers
Jim Fulton wrote: It is a very good thing to have the specification very near to the implementation -- as a permanent guide to the implementor. Firtunately, modern displays allow multiple side-by-side windows. ;) G400, two displays :-) It is even better, when big parts of the

Re: [Zope-dev] Interfaces: Specify, then implement!

2000-11-30 Thread Chris Withers
Dieter Maurer wrote: If you do change the implementation, then the specification can probably be changed at the same time. IMHO, this is the wrong way round. If the interface doesn't cover what it needs to, update the interface and then make sure all the implementations are updated

Re: [Zope-dev] Suggestion: All wiki pages have the last modified date in the footer.ter.

2000-12-04 Thread Chris Withers
"Jay, Dylan" wrote: There is getting to be some out of date content and it would be great to see which is which. Now there's a great idea :-) Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

Re: [Zope-dev] ZCatalog scalability...

2000-12-06 Thread Chris Withers
John Eikenberry wrote: the potential of up to 50,000 entries. Using a ZCatalog for listings This may cause you real problems, especially if there's a 'bulk data load' at any point. Cheers, Chris PS: How's the catalog revamp coming along? Any published ZSearch interface yet?

[Zope-dev] Turning acquisition off selectively.

2000-12-06 Thread Chris Withers
[EMAIL PROTECTED] wrote: That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . So kindof the inverse of using Aquisition.Explicit and using the aq_acquire method? What you describe would be really cool... The only workaround

Re: [Zope-dev] Turning acquisition off

2000-12-06 Thread Chris Withers
Ken Manheimer wrote: On Wed, 6 Dec 2000 [EMAIL PROTECTED] wrote: Does anyone know how to disable acqusition ? That is, with a simple method, and not disabling the Acqusition class, something like self.aq_disabled('attribute') . I believe one way is self.aq_base['attribute'].

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Chris Withers
Dieter Maurer wrote: Andy McKay writes: what does anyone else think I would not like it. Why not? ;-) Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Search Interface [was 'case insensitive sorts']

2000-12-07 Thread Chris Withers
Rik Hoekstra wrote: Hm, reading this... just a loose comment. In light of the awkward search interface of ZCatalogs, would it be a good idea to make a search interface for ZCatalog ZPatterns based? T I'm starting to feel like a stuck record on this, but lots of people seem to be asking for

Re: [Zope-dev] virtual domains

2000-12-07 Thread Chris Withers
Josh Zeidner wrote: Hello, Is it possible to configure zope for "virtual domains"? For instance, can I have one zope installation serve several domains? How do I configure this? http://www.zope.org/Members/4am/SiteAccess2 cheers, Chris

Re: [Zope-dev] Validation

2000-12-13 Thread Chris Withers
Brad Clements wrote: I keep making this patch to each Zope release, but would like to talk about a more permanant and "correct" solution. What do others think? Validation as a whole could do with looking at, it's be great if there were hooks to catch validation problems rather than just

[Zope-dev] Re: [squishdot] Squishdot site did not setup Tiny Tables

2000-12-26 Thread Chris Withers
the three Tiny Tables for the left,right, and bottom box. I have Tiny Table installed and can add a Tiny Table to a directory, but can't seem to get a Squishdot site to create the tables. What am I doing wrong? This is a bug which will get fixed soon. However, it's partly due to the fact

Re: [Zope-dev] IMPORTANT! Zcatalog path handling changes in 2.3

2000-12-30 Thread Chris Withers
Christopher Petrilli wrote: On 12/18/00 4:24 PM, "Steve Alexander" [EMAIL PROTECTED] wrote: Doesn't work with 2.3 from CVS, 2000-12-18 21:21 UTC I had the same problems with 2.2.5b1... ACK, I forgot that I also revealed afew bugs in other systems :/ I thought that I could just package

Re: [Zope-dev] Updating a ZCatalog when objects in it change their path

2000-12-30 Thread Chris Withers
cheers :-) if people start bitching that it's too slow, I'll give this a go... Chris Steve Alexander wrote: Chris Withers wrote: However, the only way I could find to solve it was to add a manage_afterAdd method to Squishdot Sites which recatalogued all postings. This is a _lot_

[Zope-dev] ZCatalog reindex_object

2000-12-31 Thread Chris Withers
Michael Bernstein wrote: reindex_object - should be called when an object is edited Hmmm... didn't see this method listed in the interfaces wiki. Where did you find it? I just inserted a call to catalog_object which did the job but I wonder what the difference between index_object abd

Re: [Zope-dev] ZCatalog reindex_object

2000-12-31 Thread Chris Withers
Steve Alexander wrote: reindex_object is a method of the mix-in class CatalogAwareness. Ah, that's okay then, since Squishdot doesn't have anything to do with CatalogAwareness. I think calling index_object should work, as a well-implemented catalog will do the right thing. However, calling

Re: [Zope-dev] ZCatalog catalog_object

2001-01-02 Thread Chris Withers
Itamar Shtull-Trauring wrote: Chris Withers wrote: ...in which case, I wonder why CatalogAwareness goes to the trouble of unindexing and then re-indexing? Because in older ZCatalog (before 2.3 and maybe before 2.2.4), catalog_object did not uncatalog automatically. When in doubt

Re: [Zope-dev] Local Factories in Products

2001-01-02 Thread Chris Withers
Johan Carlsson wrote: In ZClasses it is possible to control where a ZClass instance should be permitted to be added, in other words show up in the factory listing in a ObjectManagers manage_main view. Didn't Itamar have a proposal/project on this? How did it work out? cheers, Chris

Re: [Zope-dev] Conflict Errors

2001-01-02 Thread Chris Withers
Chris McDonough wrote: The ZODB tries hard to avoid error conditions for you by retrying conflicting writes, but if you really pound the snot out of a particular object, it'll let you know. That's gotta be one for the Zope quotes board, if I could onyl remember the URL :-) and step

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

2001-01-02 Thread Chris Withers
Steve Spicklemire wrote: Hi Chris, OK... you need to tell us where the index_html's are and what they have in them! ;-) Doesn't seem to matter what's in them... Say there's one in folder1 and one in folder2, which one should be used? Why are neither of them being used? cheers,

[Zope-dev] PartitionedFileStorage - Eek!

2001-01-02 Thread Chris Withers
Shane Hathaway wrote: BTW, Evan helped me find and correct a bug. You'll only run into it if you set your partition size to less than the size of the largest ZODB objects. That's fixed in 0.0.2, right? Well, anyway, I changed the line in FileStorage.py as follows: # Use 0.5 GB

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

2001-01-02 Thread Chris Withers
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 objects, such as Wiki pages,

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

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] 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

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 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

[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-04 Thread Chris Withers
Steve Spicklemire wrote: I don't see the behavior you describe.. What did I misunderstand? Prolly nothing. I was more than likely just doing something stupid :-) cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Chris Withers
Dieter Maurer wrote: Chris Withers writes: Andrew bart David sophie Wayne Why in hell do you switch caseness for similar objects? Who said anything about objects? I was just talking about lists of strings and in general, people prefer sorting based on the character to take

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

2001-01-04 Thread Chris Withers
Dieter Maurer wrote: acquisition.donotacquire('index_html') This would be great. Indeed :-) class MyClass (Acquisition.Explicit): acquisition = ClassAcquisitionInfo() acquisition.acquire('index_html') acquisition.acquire('fred') You already can do

Re: [Zope-dev] ZPatterns question

2001-01-04 Thread Chris Withers
Christian Scholz wrote: Well, virtual in the sense as a specialist is no real folder but can provide content from different sources. Thus what I mean is some mechanism which emulates objectIds() etc. so it looks to the user (and the ones using it via dtml) like a normal folder object.

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Chris Withers
Erik Enge wrote: Are you saying that, as a general rule, inheriting from CatalogAware and using index_object, reindex_object and unindex_object does not work? It probably does, but if you're a catalog yourself anyway, as Squishdot is, it just more overhead rather than calling your own

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

2001-01-04 Thread Chris Withers
Thanks... this sounds a lot like what I'm after :-) Steve Spicklemire wrote: I think that if you make your DataSkins folderish it will be hard to make the storage anything other than ZODB. Well, I don't mind the 'skins' being stored in the ZODB, but, as Steve A mentioned, I _would_ like

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

2001-01-04 Thread Chris Withers
Steve Alexander wrote: If you use a Folder w/ Customizer Support, you'll need to create all the DataSkin instances in the ZODB, just as if they were normal ZClass (or whatever) instances. Thus, the instances all need to be "in there" to start with. Shame, although if I'm really brutal and

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

2001-01-04 Thread Chris Withers
"Phillip J. Eby" wrote: You can't really "nest" DataSkins inside each other in a rack, and you really don't want to, anyway. I kindof agree, I guess nesting doesn't mean a lot in RDBMS terms? ;-) But there's nothing that says you can't create a DataSkin subclass whose __bobo_traverse__

Re: [Zope-dev] Product dev

2001-01-05 Thread Chris Withers
Shane Hathaway wrote: when a product has syntax errors. One of the first things I did at Digital Creations was make sure that got fixed. :-) Does this mean this bit from your average product's __init__.py isn't neeeded anymore? except: # If we can't register, complain! import

Re: [Zope-dev] case insensitive sorts

2001-01-05 Thread Chris Withers
Shane Hathaway wrote: Shane Hathaway wrote: def sort_strings(data): sortable_data = list(map(lambda s: (lower(s), s), data)) sortable_data.sort() return map(lambda s: s[1], sortable_data) ... Or better, you could pass a comparison function to sort() like Tres suggested. :-)

Re: [Zope-dev] CatalogAware

2001-01-05 Thread Chris Withers
Michael Bernstein wrote: Your example is correct as far as it goes, but as I understand it, you are not really specifying the default catalog per se, but the default catalog *name*. snip This is true, and one of the reasons why I (and maybe only I ;-) consider CatalogAware somewhat less

Re: [Zope-dev] CatalogAware

2001-01-05 Thread Chris Withers
Michael Bernstein wrote: Aha! You're saying that catalog_object and uncatalog_object are methods of the catalog, so when the catalog contains the objects directly, it's all that's neccessary, correct? Yes :-) uncatalog_object to be called on it (I'm not sure what method reindex_object

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

2001-01-05 Thread Chris Withers
Brian Lloyd wrote: Are you talking about 'ProtocolAccessibility'? It's still there (though Jim has done some rearranging of things there lately)... http://www.zope.org//Wikis/DevSite/Proposals/ProtocolAccessibility So it is :-) Comments are still welcome... Chris

Re: [Zope-dev] protocol accesibility

2001-01-05 Thread Chris Withers
Toby Dickenson wrote: On Fri, 05 Jan 2001 12:18:07 +, Chris Withers [EMAIL PROTECTED] wrote: http://www.zope.org//Wikis/DevSite/Proposals/ProtocolAccessibility So it is :-) Comments are still welcome... Comments provided as requested With sensible defaults, what I

Re: [Zope-dev] RFE: Make PythonScripts.standard available from DTML _.standard

2001-01-05 Thread Chris Withers
Steve Alexander wrote: eg: dtml-if "mysomething(_['title_or_id'],_.standard.html_quote(absolute_url()+_[id]))" You are being deliberately Byzantine there! I provided a good example for my case, don't know what Byzantine means, erk :-S However, I agree with you in principle. I've

Re: [Zope-dev] ZPatterns question

2001-01-05 Thread Chris Withers
Christian Scholz wrote: yeah, this is exactly what I'm after too. I'd like the virtual objects the specialist is responsible for to have normal Zope management screens. Well, I think this shouldn't be too difficult to create. Just a subclass of Specialist and add some Contents-Tab,

Re: [Zope-dev] Product dev

2001-01-05 Thread Chris Withers
Shane Hathaway wrote: when a product has syntax errors. One of the first things I did at Digital Creations was make sure that got fixed. :-) Does this mean this bit from your average product's __init__.py isn't neeeded anymore? except: # If we can't register, complain!

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

2001-01-05 Thread Chris Withers
Steve Spicklemire wrote: No... I don't think so! If you don't mind keeping stuff in ZODB then you *could* have a traversal interface that made stuff 'appear' wherever you want it to, though its persistent storage would 'really' be in a Rack or FwCS. Cool... how would I go about doing that?

Re: [Zope-dev] protocol accesibility

2001-01-05 Thread Chris Withers
Toby Dickenson wrote: IMO their goals are achieved better, and simpler, with a HOWTO that explains how to configure the 'access contents information' permission. That's not been my experience, but maybe that How-To would help :-) Care to write it? ;-) I think perhaps you havent appreciated

Re: [Zope-dev] protocol accesibility

2001-01-05 Thread Chris Withers
Toby Dickenson wrote: That's not been my experience, but maybe that How-To would help :-) Care to write it? ;-) It is on my todo list cool :-) Protocol independence is not necessarily a good thing in this case. Different protocols have different capabilities. The zope way of

Re: [Zope-dev] CatalogAware

2001-01-05 Thread Chris Withers
Michael Bernstein wrote: Now I'm wondering how to duplicate the behaviour of Postings being contained within Squishdot, but not appearing in the 'Contents' tab. that's definitely a 'bad' thing :-( Why duplicate anyway? You writing a replacement? ;-) cheers, Chris

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

2001-01-05 Thread Chris Withers
Shane Hathaway wrote: There's a (much) simpler way: class MyClass(Acquisition.Explicit): your_attribute = Acquisition.Acquired # index_html isn't index_html = None Cool :-) And I suppose the other part of my wishlist: class MyClass(Acquisition.Implicit): #

[Zope-dev] BTree Folders

2001-01-05 Thread Chris Withers
Hi, There was talk a while back of re-doing BTree's in Zope so they were more efficient. Is that still going ahead? If I start using BTree folders now, will there be any nasties when the changes happen? Right, BTree folders wise, what I'm looking for is to have, in effect two Contents tabs for

Re: [Zope-dev] ZPaterns, Pluggins

2001-01-05 Thread Chris Withers
Steve Alexander wrote: If you're using ZPatterns anyway, After looking at ZPatterns for a few more days again, I still can't justify introducing that ammount of complexity to the project concerned. Also, ZPatterns seems very skewed towards TTW development now and, for CVS and distributability

Re: [Zope-dev] Zope from CVS for Windows

2001-01-08 Thread Chris Withers
Steve Alexander wrote: Is anyone regularly building Zope from CVS for Windows? I want to try something out on a Zope 2.3 build on windows, but I don't have easy access to windows development tools. Is there a How-To on this? I'd love to run off CVS Zope at least some of the time, but I

[Zope-dev] Documentation

2001-01-08 Thread Chris Withers
Dieter Maurer wrote: You can control for an explicit acquiring object that some attributes are acquired implicitly Ooo... cool :-) Where can I find out about it? Guess! ... in the Acquisition documentation. Each Zope installation has one (though on a place where

Re: [Zope-dev] CatalogAware

2001-01-08 Thread Chris Withers
Michael Bernstein wrote: that's definitely a 'bad' thing :-( Why is that bad? A custom object management UI ('Postings' and 'Moderation' tabs) seems appropriate for Squishdot. I wouldn't want to manage postings from the standard management interface. Hmmm... it does mean you can't cut,

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

2001-01-08 Thread Chris Withers
Dieter Maurer wrote: Chris Withers writes: And I suppose the other part of my wishlist: class MyClass(Acquisition.Implicit): # your_attribute will be acquied # index_html won't index_html = None No, that is not enough! As a side effect to turn off

[Zope-dev] ZCatalog Docs

2001-01-08 Thread Chris Withers
Where is/are the most accurate and up-to-date documentation source(s) for ZCatalog in terms of search syntax and the different indexing types? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] python script

2001-01-09 Thread Chris Withers
Zope mailing lists wrote: I recently released 'zopectl', a python script ...gak... now is that a 'python script' or a 'Python Script'? ;-) *grinz* Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] index_html = None is bad...

2001-01-09 Thread Chris Withers
Dieter Maurer wrote: snip example It would be much clearer, when "Item" could declare, it does not want to acquire the methods without providing a definition. Having seen the example, I think you're right :-) cheers, Chris ___ Zope-Dev

Re: [Zope-dev] Re: ComputedAttribute

2001-01-10 Thread Chris Withers
Martijn Pieters wrote: Erm. The ExtensionClass.stx documentation hints at a ComputedAttribute class (but as an example of how you could use an ExtensionClass). The current C implementation of ComputedAttribute is not, as far as I can see, documented. Now I think I know the answer to this

Re: [Zope-dev] Re: ComputedAttribute

2001-01-10 Thread Chris Withers
Martijn Pieters wrote: ...with this class, your_attribute isn't going to play in Persistence, is it? (so I can update it lots without worrying about ZODB size growing... :-) Yup, this allows you to alias your_attribute to _v_your_attribute without creating an attribute that *will*

[Zope-dev] Security Machinery doesn't work on some objects?

2001-01-10 Thread Chris Withers
Hi there, I'm slightly confused by a class I have: class X(Persistent, Acquisition.Explicit): This class has no __roles__, no __ac_permissions__, no nothing... Instances of this class are stored within a special folderish class, Y. This folderish class has a __bobo_traverse__ which returns X

Re: [Zope-dev] Aquisition.Acquired

2001-01-10 Thread Chris Withers
Shane Hathaway wrote: There's a (much) simpler way: class MyClass(Acquisition.Explicit): your_attribute = Acquisition.Acquired # index_html isn't index_html = None "Acquired" is a special object that the acquisition module looks for. Just noticed you can do this also:

Re: [Zope-dev] Re: ComputedAttribute

2001-01-10 Thread Chris Withers
Chris Withers writes: with this class, your_attribute isn't going to play in Persistence, is it? (so I can update it lots without worrying about ZODB size growing... :-) But, as I understand it, it is only updated in the thread that did the update. Your next request may get

Re: [Zope-dev] New UI for 2.3

2001-01-11 Thread Chris Withers
Steve Alexander wrote: However, I do not like the 3-frame interface. I feel that the top frame is wasted space. The Zope logo and "Logged in as username | Logout" could as easily go at the bottom of the tree-view frame on the left. I haven't seen this yet, but I have to agree. Two frames is

Re: [Zope-dev] New UI for 2.3

2001-01-12 Thread Chris Withers
Brian Lloyd wrote: Are you guys working on 486's with 13in. monitors at 640x480 or something? :^) Well, no, but laptops aren't known for their high resolutions and that can make demonstrating zope a pain :-S Seriously - Zope has been criticized for a very long time for being, ah,

<    1   2   3   4   5   6   7   8   9   10   >