RE: [Zope-dev] Old to new registerClass

2001-01-24 Thread Brian Lloyd
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

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Johan Carlsson
Brian Lloyd etc. I don't know what 'lang_' does, so I'm not sure what to advise you there... Hi Andy, As far as I can see the land_ directory doesn't seam to do anything. You could try to just remove it. (It wasn't me that put it there.) As for the most part of the Images defined

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Andy McKay
i-IEMethod merge so that you can edit a ZWiki standard style or using IEMethod. Thanks for the code. -- Andy McKay. - Original Message - From: "Johan Carlsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 8:44 AM Subject: Re: [Zope-dev] Old to new r

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Andy McKay
sday, January 24, 2001 9:39 AM Subject: Re: [Zope-dev] Old to new registerClass Lang is used in this line: document.write("SCR"+"IPT src=\"misc_/IEMethod/lang_"+lang+"\" type=\"text/javascript\"/SCR"+"IPT"); I think that: The &

[Zope-dev] Old to new registerClass

2001-01-23 Thread Andy McKay
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).