[Zope-dev] Re: Can't fathom 'method-populated' selection lists in Zclasses
Bob Marshall
Bob Marshall"<bob.marshall@fallingblossoms.com
Tue, 22 Jul 2003 07:03:28 -0000
Hi Dieter,
Thanks anew for your continued help and advice. I've downloaded and
installed your Reference product as suggested. I see where it's coming from
in general terms, but it's way beyond me to get it working. Guess I'm just
too dumb. So I will indeed place this issue in the 'bucking horse' category
and walk down another street...
Cheers
Bob
Dieter Maurer <dieter@handshake.de> said:
> Bob Marshall wrote at 2003-7-19 06:03 -0000:
> > 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
>
--