[Zope-dev] Ids starting with _

2000-07-30 Thread Chris Withers
Dieter Maurer wrote: I wonder why starting folders with _ is so bad in Zope? In the time, when everything was allowed what was not explicitely forbidden, an easy way was necessary to forbid access. Jim (and, therefore, Zope) used: anything starting with "_" is private: no DTML access,

[Zope-dev] ZPatterns: bug in DataSkins.py

2000-07-30 Thread Steve Alexander
I'm using ZPatterns 0.4.1snap1. DataSkins.py line 377 method _v_currentSheets(self,_v_dm_=_v_dm_) l.extend(list(sp._PropertySheetsFor(client))) However, the variable "client" isn't declared elsewhere. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net

Re: [Zope-dev] ZPatterns: bug in DataSkins.py

2000-07-30 Thread Steve Alexander
Steve Alexander wrote: I'm using ZPatterns 0.4.1snap1. DataSkins.py line 377 method _v_currentSheets(self,_v_dm_=_v_dm_) l.extend(list(sp._PropertySheetsFor(client))) However, the variable "client" isn't declared elsewhere. ...and when I replace it with "self", I get this error

Re: [Zope-dev] ZPatterns: bug in DataSkins.py

2000-07-30 Thread Phillip J. Eby
At 08:07 PM 7/30/00 +0100, Steve Alexander wrote: Steve Alexander wrote: I'm using ZPatterns 0.4.1snap1. DataSkins.py line 377 method _v_currentSheets(self,_v_dm_=_v_dm_) l.extend(list(sp._PropertySheetsFor(client))) However, the variable "client" isn't declared elsewhere. ..and

[Zope-dev] Membership and ZPatterns

2000-07-30 Thread Bill Anderson
OK, so I have been playing with ZPatterns quite a bit lately. And some old (current) issues with PTK comes back to mind. Among them are: o Not all portals will want a user to have a folder o username is not changeable With ZPatterns, I believe we can solve the first one. First things

[Zope-dev] ZPatterns design question

2000-07-30 Thread Steve Alexander
Let's say I have an AddressBook specialist. It stores Address records as DataSkin-derived ZClass instances (meta_type Address). The AddressBook has various methods to list the addresses, search the addresses, enter new addresses. The Address ZClass has a single propertysheet: address. When I

Re: [Zope-dev] ZPatterns design question

2000-07-30 Thread Phillip J. Eby
At 11:09 PM 7/30/00 +0100, Steve Alexander wrote: Let's say I have an AddressBook specialist. Why? :) Seriously, what is the function of "address book" in your application? Is it to find people in general? Or...? Let's say I want to combine my AddressBook with a Suppliers specialist. The