Hello,

Sorry, but I submit an old post cause I'm not sure that anybody has receive it. Some weeks ago, I created a "special" compound widget in wich you can define a layout in
the ZMI. This widget extends CPSCompoundWidget.
I faced a problem in FlexibleTypeInformation.flexibleDelWidgets (CPS3.3.3 and CPS3.3.7): this method uses the meta_type to see if it's a compound widget whereas FlexibleTypeInformation.flexibleAddWidget test if the widget is a
subclass of CPSCompoundWidget.
The only fix I found was to use the same meta_type as the CPSCompoundWidget
(sorry, no time to crate a ticket...).
I understand the new way for creating a compoud widget (subclass
CPSProgrammerCompoundWidget). But it seems that
FlexibleTypeInformation.flexibleDelWidgets did not change in CPS 3.3.8 (test of
the meta_type).

My question is: will it work if my widget subclasses CPSProgrammerCompoundWidget
  with it's own meta_type?



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to