Re: [Zope-dev] Re: Can't fathom 'method-populated' selection lists in Zclasses

2003-07-20 Thread Dieter Maurer
Bob Marshall wrote at 2003-7-19 06:03 -:
  Thanks greatly for the insight! Ironically, the main reason I was doing 
  things this way was to get the constructor form and the Zinstances to *both 
  work* and 'sing from the same method'. It was indeed the constructor form 
  not working that was puzzling me. Oh well, back to the drawing board...
  
  Just in case anyone has cracked the undelying issue: what I'd really like is 
  some way to have both the ZClass constructor form and its ZInstances to use 
  the same mechanism (encapsulated within the ZClass) for 'sourcing' selection 
  list data. Just tell me it isn't possible and I'll move on...

I would try my Reference products and put a reference to your
method in your product.

Then the constructor would use the method (via the reference) from
the product while the ZInstance would use it directly.

For my Reference product, see

  http://www.dieter.handshake.de/pyprojects/zope



Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] don't forget to install new modules

2003-07-20 Thread Jamie Heilman
The DBTab merge to HEAD didn't include any updates to the setup
stuff, hence it doesn't get installed, which kinda breaks everything
if you aren't running out of the in-place source tree.

Also adding import package=Products.TemporaryFolder/ to the
zopeschema made zopectl blow-up.  Dunno what the goal of that was.

-- 
Jamie Heilman   http://audible.transient.net/~jamie/
...thats the metaphorical equivalent of flopping your wedding tackle 
 into a lion's mouth and flicking his lovespuds with a wet towel, pure 
 insanity...   -Rimmer

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] don't forget to install new modules

2003-07-20 Thread Chris McDonough
On Sun, 2003-07-20 at 20:27, Jamie Heilman wrote:
 The DBTab merge to HEAD didn't include any updates to the setup
 stuff, hence it doesn't get installed, which kinda breaks everything
 if you aren't running out of the in-place source tree.

Thanks, I'll fix it now.

 Also adding import package=Products.TemporaryFolder/ to the
 zopeschema made zopectl blow-up.  Dunno what the goal of that was.

Will try it.  The goal was to let DBTab manage the mounting of the
temporary storage for sessioning, which does indeed work in an inplace
build.

- C




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )