Re: [Zope3-Users] ComponentLookupError

2006-05-15 Thread Jachin Rupe
hi there thanks for the help... but I have a new problem. Now the addForm show up but if I try to actually add a person I get the following error: 2006-05-15T17:19:42 ERROR SiteError http://localhost:8080/+/ AddPerson.html%3D Traceback (most recent call last): File "/usr/local/Zope-3.2.1

Re: [Zope3-Users] sequence of custom widgets

2006-05-15 Thread Marco Mariani
On Mon, May 15, 2006 at 10:43:56PM +0200, Marco Mariani wrote: > > form_fields['children'].custom_widget = > > CustomWidgetFactory(SequenceWidget, > > > > CustomWidgetFactory(ObjectWidget, Person)) Found it. Passing ListSequenceWidget works well

[Zope3-Users] How to make catalog working?

2006-05-15 Thread Florian Lindner
Hello, I've added some content objects of interface IFoo to my site. Then I added a catalog to my site (and also a IntID utility). I registered both. To the catalog I've added a FieldIndex and a TextIndex, set the interface to IFoo and the fieldname to a field that IFoo has. I registered both in

Re: [Zope3-Users] sequence of custom widgets

2006-05-15 Thread Marco Mariani
Frank Burkhardt wrote: > some months ago, Phillip von Weitershausen wrote such a widget for > me. I'm > not using it anymore and I don't know, if it's still working. But > maybe it > will help: Thank you (and Phil), having a template surely come handy, but I have another problem. Even with the d

[Zope3-Users] Cut + Paste Bug?

2006-05-15 Thread David Johnson
I copied a Pluggable Authentication Utlity from one folder to another. However, the plugins were not copied. As a result, I cannot edit the copied utility. Now I'm stuck with a broken pluggable authentication utility. If I try to edit it to fix it, I cannot. 1. Is this a bug? 2. How do I remov

[Zope3-Users] Couple of Zope 3 screencasts, input solicited

2006-05-15 Thread Paul Everitt
Hi all. I did a couple of screencasts for Zope 3: http://zeapartners.org/scl/2006/04/25/z3-install/index.html http://zeapartners.org/scl/2006/04/25/z3-helloworld/index.html The first one is primarily a way for me to remember how to get stuff running on Windows. :^) On the second, I work

Re: [Zope3-Users] Composing content objects

2006-05-15 Thread mats.nordgren
>line 23, in IWorkspace value_type=Object(title=u"Object", > description=u"adsf"), in zope/schema/_field.py class Object(Field): __doc__ = IObject.__doc__ implements(IObject) def __init__(self, schema, **kw): < you need to pass a schema as a non key-word if not IInte

RE: [Zope3-Users] Composing content objects

2006-05-15 Thread David Johnson
The problem appears to lie here: >File > "C:\develop\ZopeWorkspace\ZopeProducts\src\proCoders\interfaces.py", > line 23, in IWorkspace > value_type=Object(title=u"Object",description=u"adsf"), Hard to tell what's going on without the code, but poke around there. _

Re: [Zope3-Users] Security between Context and View

2006-05-15 Thread Dominik Huber
Klaus Bremer wrote: You can try to bypass the zope security mechanism by using 'removeSecurityProxy': from zope.security.proxy import removeSecurityProxy ... def doTransaction(self): transaction = removeSecurityProxy(self.context.produceTransaction()) ... If possible it's better to use