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

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 Tres Seaver
On Fri, 10 Nov 2000, Chris Withers wrote: 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:

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] RFClarification: Security on Product Attributes

2000-11-10 Thread Jim Fulton
Chris Withers wrote: 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

[Zope-dev] Exceptions

2000-11-10 Thread seb bacon
I was just building in some error handling into some UI code, and wanted to catch errors relating to duplicate ids. The problem is that just about every client-side error raises the same kind of Exception, a 'Bad Request'. A quick grep counted 41 different types of 'Bad Request' in my Zope

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

Re: [Zope-dev] Fw: 2gb file size

2000-11-10 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: Shane Hathaway wrote: Not long ago I created a wrapper around File objects which automatically splits the file before it reached a predefined limit. It could handle any number of partitioned file segements. Yes please! Perhaps it could be integrated

RE: [Zope-dev] Exceptions

2000-11-10 Thread Brian Lloyd
snip good idea about exception hierarchies Oh if only!!! I love this idea, and comments haev coem from DC along those same lines, btu nothing ever really happened about it... If there are people willing to work on this, then a proposal would be most welcome...

[Zope-dev] RFC : ZPatterns Customer Relationship Management Framework

2000-11-10 Thread Roch'e Compaan
Thanks a lot for all the guidance on ZPatterns so far. Our company is building a Customer Relationship Management system using ZOPE and ZPatterns. We have a object model and basic Dataskins and Specialists in place. At this point we thought it a good idea to share the object model with the Zope

[Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Magnus Heino (Rivermen)
Hi. Reading from Jims 'Introduction to the Zope Database': "An object's state may be freed at any time by the ZODB to conserve memory usage." What does this mean? That the object can be freed even though there are references to it? The reason I'm asking is becase I want to use threads and

Re: [Zope-dev] Best way to start on ZPatterns ?

2000-11-10 Thread Steve Spicklemire
Hi Nigel, Yes.. the example still works. I am working on an update that incorporates some of the suggestions folks have made and better illustrates some ZPatterns concepts. Basically the example is *too* simple, and it doesn't separate PD, and UI issues very well.. -steve "Nigel" ==

[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] RFClarification: Security on Product Attributes

2000-11-10 Thread Steve Alexander
Jim Fulton wrote: Strings; fine, at least they're secure, and when they become proper objects in Python 2.0, the problem should go away? Will Python 2.0 let you assign string attributes? % python Python 2.0 (#3, Oct 26 2000, 15:07:09) [GCC 2.95.2 19991024 (release)] on sunos5 Type

Re: [Zope-dev] Observable Interface?

2000-11-10 Thread Tres Seaver
On Fri, 10 Nov 2000, Chris Withers wrote: Does this mean all of the classes in the diagram at that URL have been implemented? How come the Catalog doesn't use it so CatalogAware (bleugh!) isn't needed anymore? Heh, because we would have to make far-reaching changes (essentially, add an

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Chris McDonough
AFAIK, you should be able to spawn a new thread from within any function within Zope and manipulate stuff in the ZODB as long as you lock properly. The number of database connections is fixed, but arbitrary threads can take up a database connection on an ad-hoc basis. If I were you, I'd mess

[Zope-dev] Re: question re problem adding zwiki webs

2000-11-10 Thread Simon Michael
Re this error when adding a zwiki web: Error Type: KeyError Error Value: H?v`H?v$y_?-006412673360557 Content-Disposition: form-data; name="wiki_type" basic Tony McDonald [EMAIL PROTECTED] writes: It is a Mac actually. IE 5.0. I've just asked a colleague to try

Re: [Zope-dev] DTML processing variable

2000-11-10 Thread Paul Erickson
If this is your exact code, it looks like you should be using "sequence-item", instead of "sequence_item". You should also be able to do it without the external method like this: (100% untested) dtml-in expr="_.string.split(acctUsersEmail)" dtml-var name="sequence-item" /dtml-in "David W.

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Magnus Heino
AFAIK, you should be able to spawn a new thread from within any function within Zope and manipulate stuff in the ZODB as long as you lock properly. I guess I wasn't clear enough, but my application isnt within zope, im just using zodb and some more components out of it. Specifically, an

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Chris McDonough
But I guess this still will be the same anyway. That is, if an object inhereted from Persistence.Persistance spawns a thread that manipulated data in the object, I will have no problems. The thread will be running just fine, and the data will be stored in the zodb. This is how I've

[Zope-dev] Security/Acquisition Bug? (take two)

2000-11-10 Thread Charlie Wilkinson
I had posted about this previously, but no one has tackled this one, it seems to be a pretty serious issue, plus I've done a *lot* of poking around and learned a few things since I first reported it. What I have *not* found (or been told) is that the below described behavior is normal. First a

[Zope-dev] PythonMethods: Can't Slice context.REQUEST.PARENTS

2000-11-10 Thread The Doctor What
I cannot slice context.REQUEST.PARENTS The reason I want to do this is to travel up the URL tree for a breadcrumb navigation do-hicky. I want to slice it so I can make a copy because if I just do ...reverse() on it, I screw up everything afterwards. It says I'm unauthorized (Guarded.py