Sylvain Wallez wrote:

Ralph Goers wrote:

I have been asked to look into how custom form widgets can be added. With the block structure in 2.2 this would imply that the widgets would need to be added to our own block. How can we "append" to the widget definitions in cocoon-forms.xconf without touching that file since it will be internal to the forms block?


The structure of component management currently doesn't allow this, as the FormManager creates its own ServiceSelector, and therefore can't use the xconf includes. This is something that must be changed though.


Any ideas as to how? This doesn't seem like it would apply to only forms and that includes would really solve the problem. Rather, it would seem that a block should be able to "tell" the container to add configuration data to some other block's configuration.