[Zope] buildout question

2010-06-15 Thread Jim Pharis
I'm using collective.recipe.patch to patch plone.recipe.zeoserver during a buildout. The problem is that after applying the patch the py file isn't consistently reloaded. If I look at the timestamps, I can see that the pyc file isn't always regenerated after the patch is applied. Is there anyway to

[Zope] Older Zope w/newer CA packages

2010-04-28 Thread Jim Pharis
We are currently on Zope 2.9.6 and we are working on upgrading but it isn't going to happen anytime soon. I'm trying to use a package that is depending on a few newer component architecture packages; zope.component, zope.interface... Even though zope.component and zope.interface hadn't been egged i

Re: [Zope] using formlib for nonclasic content types

2010-01-28 Thread Jim Pharis
I went through the same motions as you in Zope2.12 trying to use Phillkon's book as a guide. I think I ran into the same problem as you. The key is in the package five.localsitemanager. My Site Interface is nothing. class IMySite(Interface): """My Site"" In my site.py I have the following. .

[Zope] Five EditFrom and Fields appears broken

2010-01-08 Thread Jim Pharis
Does anyone successfully use zope.formlib.form Fields with Products.Five.formlib.formbase EditForm? I was trying to figure out why my form_fields.omit and custom_widget were being ignored. I followed it up the stack and found the method setUpEditWidgets in zope.app.form.utility never takes Fields i

Re: [Zope] utilities @ the site level

2009-12-30 Thread Jim Pharis
So createObject does look in the context of the current site. My issue was somewhere else. I'm still interested to know if you can register utilities at the site level in ZCML though. On Wed, Dec 30, 2009 at 3:22 PM, Jim Pharis wrote: > I should clarify that createobject is failin

Re: [Zope] utilities @ the site level

2009-12-30 Thread Jim Pharis
I should clarify that createobject is failing with a ComponentLookupError. On Wed, Dec 30, 2009 at 2:45 PM, Jim Pharis wrote: > > Can I register utilities at the site level in zcml? And once I have the > local utility registered, how do I pass that site manager context to my > brow

[Zope] utilities @ the site level

2009-12-30 Thread Jim Pharis
Can I register utilities at the site level in zcml? And once I have the local utility registered, how do I pass that site manager context to my browser/forms so I can do things like createObject. createObject seems to fail because it can't find the utility, but I think that's because its not lookin

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
wrote: > On Fri, Dec 25, 2009 at 11:47, Jim Pharis wrote: > > What's my use case for developing Zope3ish/ZTKish in Zope2 instead of > just > > using Zope3? All the preceived benefits of Zope3 now available in Zope2 > well > > still being able to use all our Zope 2

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
it etc/site.zcml. That's when I noticed that the package-includes were by in large missing. At least it looks that way. On Fri, Dec 25, 2009 at 7:56 AM, Jens Vagelpohl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim Pharis wrote: > > Yes, I'm runnin

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
g Products using the esoteric manage_* methods, even in 2.12. On Fri, Dec 25, 2009 at 7:13 AM, Jens Vagelpohl wrote: > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jim Pharis wrote: > > I have several existing Z2 Products that aren't going anywhere. I still > need &g

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
I have several existing Z2 Products that aren't going anywhere. I still need these. I can't just move to Z3 and leave our existing Z2 Products behind. On Fri, Dec 25, 2009 at 6:40 AM, Andreas Jung wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim Pharis wro

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
ms. For example, zcml directives such as the one in zope.app.container-3.8.0-py2.6.egg/zope/app/container/browser/meta.zcml: name="containerViews" aren't wired into Z2.12 it seems. Trying to use wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim Pharis wr

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
So the line you reference in site.zcml is the same for me, and it says look in package-includes/*-configure.zcml. That child dir wasn't actually created though so theres nothing in it. On Fri, Dec 25, 2009 at 4:47 AM, Lennart Regebro wrote: > On Fri, Dec 25, 2009 at 01:28, Jim Phari

Re: [Zope] Zope2.12

2009-12-25 Thread Jim Pharis
dreas Jung wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim Pharis wrote: > > Perhaps I'm misunderstanding the implications of basing Zope2.12 > > on ZTK eggs. I was under the impression it would allow sites to be > > developed in a similar w

Re: [Zope] Zope2.12

2009-12-24 Thread Jim Pharis
n the Zope2.12 instance/etc dir. It seems like it should be possible, but maybe not. On Thu, Dec 24, 2009 at 11:20 PM, Andreas Jung wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim Pharis wrote: > > I'm trying to wrap my head around what the changes in Zop

[Zope] Zope2.12

2009-12-24 Thread Jim Pharis
I'm trying to wrap my head around what the changes in Zope2.12 can mean for how I develop in Zope2 now. I've developed things in Zope3 and am getting stuck attempting the same methods in Zope2.12. So I see now that etc/ now has a site.zcml. But what is missing is the package-includes directory that