6 Dec
2002
6 Dec
'02
11:03 a.m.
On Thu, 2002-12-05 at 23:05, Dieter Maurer wrote:
Thierry Florac writes:
I'm currently building several Zope products working quite well but with which I have a problem : how can I define class properties (most often defined as lists actually) and use them in my creation forms written in DTML. Whenever similar questions came up ;-) , I always adviced the following:
declare objects you want to be exposed in the product context as additional constructors in "registerClass" (i.e. as an elements of its "constructors" argument, but not the first one as it plays a special role).
I never did it myself. Thus, it may fail.
No, no, it works very well !! That was the good solution... Many thanks, Thierry