[Zope3-Users] Five 1.2 and 1.3 released!

2006-01-07 Thread Philipp von Weitershausen
Five 1.2 and 1.3 released! == The Five team is happy to announce the release of two Five versions today, Five 1.2 and 1.3! What is Five Five is a Zope 2 product that allows you to integrate Zope 3 technologies into Zope 2, today. Among others, it allows

[Zope3-Users] Access attributes of content object from view

2006-01-07 Thread John Smith
Dear All, I have a containerish content object, subclassed from BTreeContainer. I have a view class which lists some of the contents. The view class receives a security proxied version of the content object but when I try len(self.context.values()) if get Forbidden Attribute : ('__len__',

Re: [Zope3-Users] Access attributes of content object from view

2006-01-07 Thread Jeff Shell
Try using ``len(self.context)``. The container will report its size. For a BTreeContainer, methods like ``values`` return OOBTreeItems, not a regular Python list. That's where the error is happening. You can get to the values of the OOBTreeItems object, but not its length. But the container itself

[Zope3-Users] Looking up the schema of an adapter?

2006-01-07 Thread Alec Munro
Hi List, I'm building an e-commerce system, and within it, I have Deliverable objects, and ProductOrder objects. A ProductOrder is currently treated as an adapter to a Deliverable, it represents an order for that Deliverable. There are a number of different Deliverable types, most with

[Zope3-Users] Hidden Processes Zope3?

2006-01-07 Thread Anthony Wilson
Hi, I am using Zope-3.1.0 and I noticed that whenever I am running the server there are 6 processes hidden from my ps command. I downloaded and installed zope-3.2.0b2 and I noticed that now there are 4 processes hidden from my ps command. This only happens whenever the zope server is