Didier Georgieff writes:
> I guess it should be simple to generate the list of constructors and
> proposing the associated methods, but i just can't figure how to do that ;-<
I answer with a general remark:
Whenever you see that the Zope management interface does something
you are interested in, you can learn how it is done by
looking at the DTML source that built the respective management
page.
In your case, this is "OFS/main.dtml":
<SELECT NAME=":method"
ONCHANGE="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value">
<dtml-in filtered_meta_types mapping sort=name>
<OPTION value="&dtml.url_quote-action;">&dtml-name;
</dtml-in>
</SELECT>
"filtered_meta_types" is a list of registered meta type objects.
A meta type object has attributes "name", the meta type,
and "action", the associated constructor.
Dieter
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )