[Zope3-Users] worldcookery on zopeproject buildout
Hi all, I'm trying to get the worldcookery example egg to run inside a zopeproject buildout. But now I'm stuck with the following traceback: ZopeXMLConfigurationError: File "/home/gyst/z3_book/eggs/worldcookery-2.0.1-py2.4.egg/worldcookery/skin/configure.zcml", line 56.2 ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'viewletManager') I'm aware that the book is written against Zope 3.3 and my buildout runs 3.4. However, I definitely want to get Zope3 running using buildout since that is our preferred way of doing dependency-isolated, repeatable development and deployment nowadays. I've added some extra dependencies to setup.py: ## The following are needed for worldcookery 'worldcookery', 'zope.viewlet', And included those packages in site.zcml I've tried installing z3c.viewlet but that doesn't help. Also, zope.viewlet.manager is present in the zope.viewlet egg. How do I go from here? :*CU# -- *** Guido A.J. Stevens *** mailto:[EMAIL PROTECTED] *** *** NFG Net Facilities Group BV *** tel: +31.43.3618933 *** *** Postbus 1143 *** fax: +31.43.3561655 *** *** 6201 BC Maastricht *** http://www.nfg.nl *** ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] worldcookery on zopeproject buildout
Guido A.J. Stevens wrote: Hi all, I'm trying to get the worldcookery example egg to run inside a zopeproject buildout. But now I'm stuck with the following traceback: ZopeXMLConfigurationError: File "/home/gyst/z3_book/eggs/worldcookery-2.0.1-py2.4.egg/worldcookery/skin/configure.zcml", line 56.2 ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'viewletManager') I'm aware that the book is written against Zope 3.3 and my buildout runs 3.4. However, I definitely want to get Zope3 running using buildout since that is our preferred way of doing dependency-isolated, repeatable development and deployment nowadays. I've added some extra dependencies to setup.py: ## The following are needed for worldcookery 'worldcookery', 'zope.viewlet', And included those packages in site.zcml I've tried installing z3c.viewlet but that doesn't help. Also, zope.viewlet.manager is present in the zope.viewlet egg. Add this also: Regards, Baiju M ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c.form query widget
Hey, On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen <[EMAIL PROTECTED]> wrote: > Use the new namespace z3c.formwidget > and add a package like z3c.formwidget.xy for this > new package. Just in case you guys need it for something, I've ported the z3c.form.namespace so it can be used in z3c.form. If you want I can add this to z3c.formwidget as well. Regards, Fernando ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
AW: [Zope3-Users] z3c.form query widget
Hi Fernando > Betreff: Re: [Zope3-Users] z3c.form query widget > > Hey, > > On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen > <[EMAIL PROTECTED]> wrote: > > > Use the new namespace z3c.formwidget > > and add a package like z3c.formwidget.xy for this new package. > > Just in case you guys need it for something, I've ported the > z3c.form.namespace so it can be used in z3c.form. > If you want I can add this to z3c.formwidget as well. Is this package for z3c.form? And what does it do? Does it offer a traversable namespace? Or is it for zope.formlib? Regards Roger Ineichen _ END OF MESSAGE > Regards, > Fernando > ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c.form query widget
Hey On Fri, Apr 11, 2008 at 11:53 AM, Roger Ineichen <[EMAIL PROTECTED]> wrote: > Hi Fernando > > > Betreff: Re: [Zope3-Users] z3c.form query widget > > > > > > Hey, > > > > On Thu, Apr 10, 2008 at 6:17 AM, Roger Ineichen > > <[EMAIL PROTECTED]> wrote: > > > > > Use the new namespace z3c.formwidget > > > and add a package like z3c.formwidget.xy for this new package. > > > > Just in case you guys need it for something, I've ported the > > z3c.form.namespace so it can be used in z3c.form. > > If you want I can add this to z3c.formwidget as well. > > Is this package for z3c.form? And what does it do? Does it > offer a traversable namespace? Or is it for zope.formlib? Sorry for misleading you. This is a port of z3c.widget.namespace which was created for zope.formlib but I needed to port it so I could use it in z3c.form. And yes, this is a widget traverser so you can use it like: http://localhost:8080/your_z3c.form/++widget++name/whatever_method. Pretty usefull for Ajax forms though. In fact, if I add this package to z3c.formwidget, It should be really straightforward to port z3c.widget.autocomplete as well. So in the end, 2 more usable widgets for z3c.form. Regards, Fernando ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c.form query widget
On Friday 11 April 2008, Fernando Correa Neto wrote: > This is a port of z3c.widget.namespace which was created for > zope.formlib but I needed to port it so I could use it in z3c.form. > And yes, this is a widget traverser so you can use it like: > > http://localhost:8080/your_z3c.form/++widget++name/whatever_method. That would be great. I would prefer the package to be called "z3c.formwidget.traversable". > Pretty usefull for Ajax forms though. In fact, if I add this package > to z3c.formwidget, It should be really straightforward to port > z3c.widget.autocomplete as well. So in the end, 2 more usable widgets > for z3c.form. That would be great to have. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. "Zope Stephan Richter" ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c.form query widget
Hey On Fri, Apr 11, 2008 at 12:22 PM, Stephan Richter <[EMAIL PROTECTED]> wrote: > On Friday 11 April 2008, Fernando Correa Neto wrote: > > This is a port of z3c.widget.namespace which was created for > > zope.formlib but I needed to port it so I could use it in z3c.form. > > And yes, this is a widget traverser so you can use it like: > > > > http://localhost:8080/your_z3c.form/++widget++name/whatever_method. > > That would be great. I would prefer the package to be > called "z3c.formwidget.traversable". Makes sense. > > > > Pretty usefull for Ajax forms though. In fact, if I add this package > > to z3c.formwidget, It should be really straightforward to port > > z3c.widget.autocomplete as well. So in the end, 2 more usable widgets > > for z3c.form. > > That would be great to have. Ok. Will do all the paperwork with Zope Foundation so I can get svn write access and will put it in there as soon as I can. Regards, Fernando ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users