[Zope3-Users] TestRequest

2007-09-15 Thread xor exor
Hi i'm trying some of the doc tests in the modules,but everytime i try to use TestRequest igot lots of errors. My code is : from zope import interface from zope import schema class IKisi(interface.Interface): Insan evladi first=schema.TextLine(required=False,title=u'First Name')

[Zope3-Users] Re: TestRequest

2007-09-15 Thread Philipp von Weitershausen
xor exor wrote: Hi i'm trying some of the doc tests in the modules,but everytime i try to use TestRequest igot lots of errors. Which ones? We can't help you w/o error descriptions (and don't expect anybody to execute some random code of yours, it just takes way too long). My code is :

[Zope3-Users] Re: z3c.formdemo fails upon ./bin/buildout

2007-09-15 Thread Philipp von Weitershausen
Stephan Richter wrote: On Wednesday 12 September 2007 16:27, Fernando Correa Neto wrote: I think there was a mistake in the last version of z3c.form demo. (trunk) After running ./bin/buildout, it fails due to a develop = . z3c.form in buildout.cfg. I think z3c.form was supposed to be pulled

AW: [Zope3-Users] Re: z3c.formdemo fails upon ./bin/buildout

2007-09-15 Thread Roger Ineichen
Hi Stephan, Philipp Betreff: [Zope3-Users] Re: z3c.formdemo fails upon ./bin/buildout [...] I suggest svn:externals or ripping it out of the develop= line, depending on whether z3c.formdemo needs cutting edge z3c.form{ui} or not. Using svn:externals is the right thing for setup develope

[Zope3-Users] Implementing a DropdownWidget for a country-code vocabulary

2007-09-15 Thread Jesper Petersen
Hello!I'm trying to implement a DropdownWidget for my country list. In my app i'd like to have a dropdown menu where a user can choose a country (for my main content object, a job). My vocabulary is created from a list of strings, and stored in a local utility: SimpleVocabulary.fromValues(

Re: [Zope3-Users] Implementing a DropdownWidget for a country-code vocabulary

2007-09-15 Thread Adam Groszer
Hello Jesper, That should be solved already. Look for z3c.widget.country. svn://svn.zope.org/repos/main/z3c.widget/trunk/src/z3c/widget/country Saturday, September 15, 2007, 6:08:19 PM, you wrote: Hello! I'm trying to implement a DropdownWidget for my country list. In my app i'd like

Re: [Zope3-Users] Implementing a DropdownWidget for a country-code vocabulary

2007-09-15 Thread Jesper Petersen
Hello Adam, Great, thanks On 9/15/07, Adam Groszer [EMAIL PROTECTED] wrote: Hello Jesper, That should be solved already. Look for z3c.widget.country. svn://svn.zope.org/repos/main/z3c.widget/trunk/src/z3c/widget/country Saturday, September 15, 2007, 6:08:19 PM, you wrote: Hello!

[Zope3-Users] dumping a component registry

2007-09-15 Thread Chris McDonough
I'm having a bit of trouble debugging a failed browser view lookup. It has something to do with environment, because lookups for the view work in one of my sandboxes, and fail in another, even though both seemingly has the same ZCML and code. Does anyone have any scripts already written

[Zope3-Users] Re: dumping a component registry

2007-09-15 Thread Philipp von Weitershausen
Chris McDonough wrote: I'm having a bit of trouble debugging a failed browser view lookup. It has something to do with environment, because lookups for the view work in one of my sandboxes, and fail in another, even though both seemingly has the same ZCML and code. Does anyone have any

Re: [Zope3-Users] Re: dumping a component registry

2007-09-15 Thread Stephan Richter
On Saturday 15 September 2007 19:04, Philipp von Weitershausen wrote:   from zope.component import getSiteManager   reg = getSiteManager()   from pprint import pprint   for info in reg.registeredAdapters(): ...     pprint((info.required, info.provided, info.factory, info.name)) ... This