[Zope-dev] Adding and setting properties from a virtual Specialist

2000-12-13 Thread Itai Tavor
Hi, I have a Specialist ('OrderingEntities') which creates virtual objects, mapped to existing objects (using ZClass 'Employee') in another Specialist ('Employees'). I want OrderingEntities to add and modify a property 'current_order_id' on the Employee objects. I can get the virtual object

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: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-13 Thread Lalo Martins
Found a bug, I think... when I try to add a property to a PropertyManager (but not a PropertySheet?) I get: Error Type: ImportError Error Value: cannot import name checkValidId Traceback (innermost last): File /opt/Zope-2.3.0a1-src/lib/python/ZPublisher/Publish.py, line 222, in

RE: [Zope-dev] Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-13 Thread Brian Lloyd
Found a bug, I think... when I try to add a property to a PropertyManager (but not a PropertySheet?) I get: Error Type: ImportError Error Value: cannot import name checkValidId Thanks - the fix should be checked in shortly... Brian Lloyd[EMAIL PROTECTED] Software Engineer

[Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
Has anyone got python 2.0 working with Zope on windows? Just curious if anyone has any pointers before I start done this (potentially) painful path... -- Andy McKay, Developer. ActiveState. ___ Zope-Dev maillist - [EMAIL PROTECTED]

RE: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Josh Zeidner
Ive successfully installed the latest version of zope on windows and have it running my website. http://www.brooklynmedialabs.com . Its actually easier than running it on linux! -josh Has anyone got python 2.0 working with Zope on windows? Just curious if anyone has any pointers before I

Re: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
using python 2.0 and not the default python installation? -- Andy McKay, Developer. ActiveState. - Original Message - From: "Josh Zeidner" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 9:18 AM Subject: RE: [Zope-dev] python

Re: [Zope-dev] ZPatterns: persistant objects hold DataSkin-Items - KeyError: _v_dm_

2000-12-13 Thread Ulrich Eck
after one more day of source-code-reading i got that far: When I want to use a Folder /w Customizer (FwCS) I cannot/don't need to use Specialists. i create a FwCS and put my 'Framework' in it. if i want to access (get/new) an object handled by a customizer i can ask

Re: [Zope-dev] ZPatterns: persistant objects hold DataSkin-Items - KeyError: _v_dm_

2000-12-13 Thread Phillip J. Eby
At 06:31 PM 12/13/00 +0100, Ulrich Eck wrote: after one more day of source-code-reading i got that far: When I want to use a Folder /w Customizer (FwCS) I cannot/don't need to use Specialists. Not to store your objects, no. You can still use Specialists to concentrate search methods,

[Zope-dev] ZClass registry repair utility

2000-12-13 Thread Shane Hathaway
I've written a utility you can use to clean up the global registry of ZClasses. The registry can become corrupt through product upgrades--not ZODB corruption, but missing base classes and so forth. This utility recreates the registry. http://www.zope.org/Members/hathawsh/ZGlobalsRepair It's

Re: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
Waffling on to my own posts... but it would seem I have to build Zope from source to get it to use another version of python since the use of python15.dll is entrenched in Zope... All the install scripts seem to be based on unix. Can DC give me a hand here on pointers to how they build it for

Re: [Zope-dev] Adding and setting properties from a virtual Specialist

2000-12-13 Thread Steve Spicklemire
Hi Itai, "Itai" == Itai Tavor [EMAIL PROTECTED] writes: Itai "OrderingEntities.getItem(some_id).current_order_id)" shows Itai me the value of current_order_id of the Employee object Itai some_id. But I can't figure out how to change the property Itai so it get changed in the

[Zope-dev] zPoPyDA and DB Transactions

2000-12-13 Thread Casey Duncan
I had been using Postgres with the zPyGreSQLDA and recently switched to zPoPyDA for a new project. I noticed that zPoPyDA does not seem to implicitly wrap each zSQL method in a database transaction as zPyGreSQLDA did. Reading the code for zPoPyDA seems to confirm this. Is this behavior by design

RE: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Brian Lloyd
Waffling on to my own posts... but it would seem I have to build Zope from source to get it to use another version of python since the use of python15.dll is entrenched in Zope... All the install scripts seem to be based on unix. Can DC give me a hand here on pointers to how they build it

Re: [Zope-dev] python 2.0, windows and zope

2000-12-13 Thread Andy McKay
I think thats just the fella I need! Thanks... Will let you know progress -- Andy McKay, Developer. ActiveState. - Original Message - From: "Brian Lloyd" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000

[Zope-dev] Announcing ZODB-Corba code release

2000-12-13 Thread John D. Heintz
Here is the first release of code that exposes a ZODB database through CORBA (omniORB). The code is functioning, the docs are sparse, and it should work on your machines. ;-) I am only going to be in town for the next two days, then I will be unavailable until Jan 1. See

Re: [Zope-dev] Adding and setting properties from a virtualSpecialist

2000-12-13 Thread Itai Tavor
Steve Spicklemire wrote: Hi Itai, "Itai" == Itai Tavor [EMAIL PROTECTED] writes: Itai "OrderingEntities.getItem(some_id).current_order_id)" shows Itai me the value of current_order_id of the Employee object Itai some_id. But I can't figure out how to change the property

Re: [Zope-dev] Adding and setting properties from a virtualSpecialist

2000-12-13 Thread Steve Spicklemire
Hi Itai, "Itai" == Itai Tavor [EMAIL PROTECTED] writes: Itai Say I got several Participants, and some of those need to be Itai able to place orders. I create the Specialist Itai OrderingEntities to implement the role of 'someone who Itai places orders'. From what I understand

Re: [Zope-dev] Validation

2000-12-13 Thread Michael Bernstein
Chris Withers wrote: 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

Re: [Zope-dev] ZPatterns: persistant objects hold DataSkin-Items - KeyError: _v_dm_

2000-12-13 Thread weblabs
Not necessary. If you retrieve your DataSkin as an attribute of its container, the DataSkin __of__ method will automatically find and bind the DataManager (assuming you're not using some class that overrides __of__). ok i've gone all through the source searching for a method to get an