Re: [Zope3-Users] There isn't enough context to get URL information.

2006-05-26 Thread Ron Bickers
On Thu May 25 2006 05:50, Achim Domma wrote: I try to figure out how to make attributes holding content objects accessible via the browser. I'm working on the same thing, but I don't know how to make a view for the contents of the containers in the ZMI. I have an Item object with 'prices'

Re: [Zope3-Users] New annotations factory problems

2006-05-24 Thread Ron Bickers
On Wed May 24 2006 07:00, Martijn Faassen wrote: Ron Bickers wrote: I was trying to implement the new annotations factory in zope/annotation/README.txt but I'm getting a ForbiddenAttribute __annotations__ error when I try to view an editform for the annotations. Before, I had

Re: [Zope3-Users] New annotations factory problems

2006-05-24 Thread Ron Bickers
On Wed May 24 2006 16:42, Tom Dossis wrote: File /usr/lib/zope-3.3.0_beta1/lib/python/zope/security/adapter.py, line 84, in __call__ adapter = self.factory(*args) TypeError: __init__() takes exactly 1 argument (2 given) I haven't been following this thread, however from the error

Re: [Zope3-Users] New annotations factory problems

2006-05-24 Thread Ron Bickers
On Wed May 24 2006 17:00, Tom Dossis wrote: Did you try something like... ? MyFactory=factory(ItemMiscInfo) And corresponding zcml.. adapter factory=.mymodule.MyFactory It's like magic! Everything is working perfectly, now. Thank you! -- Ron

Re: [Zope3-Users] Two content objects' simultaneous adding

2006-05-22 Thread Ron Bickers
On Mon May 22 2006 20:11, Tom Dossis wrote: Ok. So now I'm wondering... what's the point in using createObject if I can just create an object the Python way? I guess createObject could be useful in an example such as a generic add-objects menu. In this scenario it's probably be easier to

Re: [Zope3-Users] Two content objects' simultaneous adding

2006-05-20 Thread Ron Bickers
On Sat May 20 2006 04:47, baiju m wrote: I have two content objects (both are containers) but I cannot add one to another as give here : def create(self, data): square = Square() square.name = data['name'] square.description = data['description']

[Zope3-Users] New annotations factory problems

2006-05-20 Thread Ron Bickers
I was trying to implement the new annotations factory in zope/annotation/README.txt but I'm getting a ForbiddenAttribute __annotations__ error when I try to view an editform for the annotations. Before, I had configured a trusted adapter, but since (I think) an adapter directive is not needed

Re: [Zope3-Users] Install problem with Zope 3.2.1

2006-04-07 Thread Ron Bickers
On Fri April 7 2006 05:24, Kim L. Jacobsen wrote: I tried installing Zope 3.2.1. configure worked ok, but when ran make I got the following: I'm using Gentoo Linux and python 2.4.2. I can't help with the error, but Zope 3 is in Portage and can be installed with a simple 'emerge zope' if you

Re: [Zope3-Users] Re: Re: Please Guido, pick me, pick me!

2006-02-02 Thread Ron Bickers
On Thu February 2 2006 16:05, Stephan Richter wrote: Yeah, but honestly I don't care. If people choose a technology on name recognition and not on technical merit, then it is their bad. However, I question the RoR hype. I wonder whether big companies seriously considering it; it has