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