[Zope-dev] Old to new registerClass

Andy McKay andym@ActiveState.com
Tue, 23 Jan 2001 18:44:22 -0800


Im hacking around IEMethod and it uses an old style of class initialisation
in the __init__.py along the lines of:

  misc_ = { 'imagef':'foo','imageg':'goo', }
  lang_= { 'en':'lang_en','sv':'lang_sv', }

I want to put this into a modern style product initialisation
(context.registerClass). Looking at this functions API it didn't become
readily apparent how I can pass in these values. This would be nice to do so
I don't have any hacking of dtml to do. Has anyone done this / got any
advice?

Thanks.

--
  Andy McKay.