Re: [Zope3-Users] sqlos - getting factory of NoneType

2006-01-04 Thread Christian Lück
But when I`m trying to add an browser:addMenuItem class=test.main.Person title=Person description=Person objects view=addperson.html permission=zope.ManageContent / tag to my configure.zcml - zapi.getFactories() returns me factory of NoneType (with name

[Zope3-Users] browser:containerViews

2006-01-05 Thread Christian Lück
Hi! The differentiation of the 'contents' and 'add' attributes of browser:containerViews seems weird. To actually 'add' content the permission which is set for 'contents' nescessarily has to be granted to the principal. To put more formal: not permission('contents') = not permission('add') All

Re: [Zope3-Users] browser:containerViews

2006-01-05 Thread Christian Lück
Content / /menuItems /configure (top of obscure: The addMenuItems in rotterdam are gone but the 'Add Content' items in my own skin are there.) Regards, Christian Christian Lück wrote: Hi! The differentiation of the 'contents' and 'add' attributes of browser:containerViews seems

[Zope3-Users] browser:defaultView

2006-01-05 Thread Christian Lück
Hi! The browser:defaultView directive is not being processed consequently. Sometimes it gets ignored. The criterion for being ignored or not has nothing to do with absolute or relative urls. The difference rather seems whether the view from which an unspecific object-view is called uses the

Re: [Zope3-Users] sqlos - getting factory of NoneType

2006-01-08 Thread Christian Lück
Christian Lück wrote: *FACIT*: sqlos really *! Sorry for this. My english is not good enough to express - maybe somehow tongue-in-cheek - the certain 'affectio' fighting with sqlos during some days and nights had caused. I did not want to affront anyone. (The intention of my email

Re: [Zope3-Users] Re: IField in Object(Field): RequiredMissing

2006-03-15 Thread Christian Lück
Daniel Nouri wrote: There is a nice and helpfull example in ++apidoc++: Book -- Widgets and Forms -- Advanced Widgets Please also refer to srichter's book, chapter 8.3 (p. 54). I don't have Stephan's book around right now. Isn't it online on the zope3 homepage? But I'm using the

Re: [Zope3-Users] Combining Views

2006-03-23 Thread Christian Lück
David Johnson wrote: I have a container and I would like to combine the views of the container objects. Does anyone have suggestions? This is rather simple and complex at the same time. Basically, what I'm trying to do is to display a rather complex form and I want it to consist of

[Zope3-Users] zope.app.renderer renderer lookup

2008-09-21 Thread Christian Lück
Hi, I don't know how to get the renderers in zope.app.renderer. getMultiAdapter fails with a ComponentLookupError. Here is a minimal example driven by the debugger: (zope-sandbox)[EMAIL PROTECTED]:~/tools/quotationtool$ bin/quotationtool-debug ... import zope.interface import

[Zope3-Users] z3c.menu

2008-09-21 Thread Christian Lück
Hi, 1) in z3c.menu.simple.menu.GlobalMenuItem and ContextMenuItem the urlEndings attribute seems not to work properly. It is ether set by the superclass (zope.viewlet.viewlet.ViewletBase) which sets arbitrary attributes passed in via zcml, or it is defaulted to []. In the selected() method there

[Zope3-Users] tuple and list widgets for z3c.form

2009-01-12 Thread Christian Lück
Hi Z3 community, I've written tuple and list widgets for the z3c.form framework, i.e. widgets for a schema-fields like some_tuple_field = zope.schema.Tuple( title = uTuple of text lines, value_type = zope.schema.Text(title = uText line,), ) other_list_field =

[Zope3-Users] MultiWidget

2009-01-18 Thread Christian Lück
Hi, the new MultiWidget in z3c.form is great! I like the way input errors are reported. Thank you for this! To help the users of my app a little I was thinking about conditions for the the add and remove buttons. I think the old tuple-sequence widget in zope.app.form had such a feature. I want

Re: [Zope3-Users] MultiWidget

2009-01-22 Thread Christian Lück
Hi Roger, Roger Ineichen wrote: Hi Christian Betreff: [Zope3-Users] MultiWidget Hi, the new MultiWidget in z3c.form is great! I like the way input errors are reported. Thank you for this! To help the users of my app a little I was thinking about conditions for the the add and remove

Re: [Zope3-Users] MultiWidget

2009-01-22 Thread Christian Lück
Christian Lück wrote: Hi Roger, Roger Ineichen wrote: Hi Christian Betreff: [Zope3-Users] MultiWidget Hi, the new MultiWidget in z3c.form is great! I like the way input errors are reported. Thank you for this! To help the users of my app a little I was thinking about conditions

Re: [Zope3-Users] Reusing Widgets

2009-02-05 Thread Christian Lück
Hi Tim, Tim Cook wrote: If I have an interface (IDvText) and a class DvText (shown below). and I want it to act exactly as a zope.schema Textline (with some additional attributes) then is this correct and how do I (where do I find how to) register/add to the TextLine widget? Apologies for

[Zope3-Users] testing: provideInterface and vocabulary named 'Interfaces'

2009-02-20 Thread Christian Lück
Hi, I'm stuck with testing (= developing) my components. I have an interface with a zope.schema.Choice field where the vocabulary is zope3's vocabulary named 'Interfaces' from the zope.app.component package. The problem with testing occures when I try to assign a value to the field, inspite of