[Zope3-Users] WingIDE and debugging Zope3.3

2006-06-15 Thread mats.nordgren
I've tried to get WingIDE to work for debugging Zope3 but have only had limited success. I've followed the instructions at wingware.com where it tells you to add the wingdbstub. I added 'import wingdbstub' in $ZOPEINSTANCE/bin/runzope and it will break on errors but will not break on breakpoints.

[Zope3-Users] Using restructered text

2006-06-15 Thread Florian Lindner
Hello, how can I use (render to html) restructered text that is in a static file? Thanks, Florian ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Trusted adapters and annotated security

2006-06-15 Thread Frank Burkhardt
Hi, On Wed, Jun 14, 2006 at 01:24:14PM +0200, Frank Burkhardt wrote: > Hi, > > Is there a general way make an adapter 'inherit' annotated security > permissions > from the object it adapted? I've found the solution. This statement > for="mpgsite.workflow.interfaces.IAnnota

Re: [Zope3-Users] Dict Widget

2006-06-15 Thread Frank Burkhardt
Hi, On Wed, Jun 14, 2006 at 02:41:05PM -0500, mats.nordgren wrote: > Frank, > > That would be great. If you wish you can email it to me. > > This should be included in the trunk IMHO. > > Thanks, I attached the widgets, zcml-statements to configure them and modified Dict-implementation. Good

Re: [Zope3-Users] list woes

2006-06-15 Thread Marco Mariani
Bernd Dorn wrote: > you reassign the attribute here, so the list is never persistent I thought about that, it's python 101 after all > in Person.__init__ do: self.gadgets=PersistentList() > > and then in growup: > > person.gadgets.extend([ Gadget(toy) for toy in baby.toys ]) Yes, indeed, what I tr

Re: [Zope3-Users] list woes

2006-06-15 Thread Bernd Dorn
On 13.06.2006, at 00:16, Marco Mariani wrote: I'm having this stripped-down use case. class IToy(Interface): name = TextLine(title=u"Toy") class Toy(Persistent): name = FieldProperty(IToy['name']) class IGadget(Interface): name = TextLine(title=u"Gadget") class Gadget(Persist