>
> ContentDescriptor myContentDescriptor = new DefaultContentDescriptor("This
> is my content", true);
>
> MacroDescriptor myMacroDescriptor = new DefaultMacroDescriptor("This is my
> macro", myContentDescriptor,
> beanManager.getBeanDescriptor(MyParametersClass.Class))
>
> super(myMacroDescriptor);


Correction: This is wrong. It should be setDescriptor(myMacroDescriptor)

Thanks.

- Asiri
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to