Hi,

On Sep 2, 2011, at 10:48 PM, Mark Wallace wrote:

> I have a macro (implemented in Java) with this interface:
> 
>      public List<Block> execute(InferenceParameter parameters, String 
> content, MacroTransformationContext context) ;
> 
> I want to call this macro from within a velocity script.  When I do, it 
> returns a List<Block>.  How do I get the velocity script to render the 
> List<Block> properly?

You could check the tutorial at 
http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro (check the 
deployment at the end).

Thanks
-Vincent

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

Reply via email to