Re: [Zope3-Users] Registering adapter for ListSequence widget in tests

2006-09-05 Thread TAHARA Yusei
Hi. I think you should use zope.app.testing.ztapi.provideAdapter instead. See zope/app/form/browser/tests/test_objectwidget.py, this is a good example. -- TAHARA Yusei ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listi

[Zope3-Users] Registering adapter for ListSequence widget in tests

2006-09-05 Thread Darryl Cousins
Hi, I am having problems registering ListSequence widget, the following from my doctest: Although most widget adapters are registered in tfws.form.browser testing I had a lot of trouble with ListSequenceWidget - here I keep trying until I get it. This is the error raised when running the test::

Re: [Zope3-Users] ContainerTypesConstraint & ItemTypePrecondition vs contains & containers

2006-09-05 Thread Stephan Richter
On Thursday 29 June 2006 00:18, Baiju M wrote: >     Why z.a.c.c.ContainerTypesConstraint and > z.a.c.c.ItemTypePrecondition is not deprecated yet? There is > z.a.c.c.contains and z.a.c.c.containers functions. Because contains() and containers() use those two classes; they are just syntactic suga

Re: [Zope3-Users] Usage of the order attribute

2006-09-05 Thread Stephan Richter
On Wednesday 28 June 2006 16:56, Florian Lindner wrote: > how is the order attribute of the menuItem directive being used? > > Do elements with a lower order come first? > What is the order of elements that have not defined one? Is is higher than > of all others. I do not have an answer for, you c

Re: [Zope3-Users] I18N question

2006-09-05 Thread Stephan Richter
On Tuesday 27 June 2006 08:08, Frank Burkhardt wrote: >  data={ >     'foo':{ >        'en':u"nice Foo", >        'de':u"schoener Foo" >     }, >     'bar':{ >        'en':u"even better Bar", >     } > > How could I do this? Just do the usual thing: _(u'text'). If you do not type the text in Pytho

Re: [Zope3-Users] Websites and Folders

2006-09-05 Thread Stephan Richter
On Thursday 22 June 2006 23:36, Daniel Roberson wrote: >  From what I understand so far of Zope3 is that you can added folders > and tell Zope that each folder is a different website. > Or you can create a different instance using mkzopeinstance and just > have one website per instance. > > Is this

Re: [Zope3-Users] ZopeTop Skin not working

2006-09-05 Thread Stephan Richter
On Thursday 22 June 2006 22:49, Daniel Roberson wrote: > OK, I got the http://localhost:8080/manage working and I am seeing the > ZMI screen.  In the Zope 3 Develop's Handbook by > Stephan Richter page 16 is says that if I type in > http://localhost:8080/++skin++ZopeTop/manage I will see a new skin

Re: [Zope3-Users] Re: Manage Process error

2006-09-05 Thread Sébastien VINOT
Philipp von Weitershausen a écrit : Sébastien VINOT wrote: Hello, I just installed the latest Zope 3 (3.2.1) with Python 2.4.2 on a freeBSD install. Everything looks olkay, but I get an IOError if I click on the "Manage Process" link. My instance has been started with "zopectl start". He

[Zope3-Users] Re: Manage Process error

2006-09-05 Thread Philipp von Weitershausen
Sébastien VINOT wrote: Hello, I just installed the latest Zope 3 (3.2.1) with Python 2.4.2 on a freeBSD install. Everything looks olkay, but I get an IOError if I click on the "Manage Process" link. My instance has been started with "zopectl start". Here is the trace back: ... * Modu

[Zope3-Users] Manage Process error

2006-09-05 Thread Sébastien VINOT
Hello, I just installed the latest Zope 3 (3.2.1) with Python 2.4.2 on a freeBSD install. Everything looks olkay, but I get an IOError if I click on the "Manage Process" link. My instance has been started with "zopectl start". Here is the trace back: Traceback (innermost last): * Modul

[Zope3-Users] 4 questions from a newcomer

2006-09-05 Thread Christophe Combelles
Hello, I'm currently spending all my time to learn zope3, and while searching some doc, I have gathered some useful links in the following wiki page : http://ccomb.free.fr/wiki/wakka.php?wiki=Zope3 (curr in french, but I will rewrite the text in english soon) Please feel free to add other usefu