Freemarker not reading nested user defined directives .

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Freemarker not reading nested user defined directives .

mday1
Freemarker not reading nested user defined directives .My directive class implemenets TemplateDirectiveModel .It doesnt read  <@check order=2>

<@check order=1>
       <@check order=2>
</@check>
</@check>
Reply | Threaded
Open this post in threaded view
|

Re: Freemarker not reading nested user defined directives .

Daniel Dekany
TemplateDirectiveModel.execute has a TemplateDirectiveBody body parameter. Haven't you forgot to call body.render?

--
Thanks,
 Daniel Dekany


Thursday, July 24, 2014, 9:36:20 AM, mday1 wrote:

> Freemarker not reading nested user defined directives .My directive class
> implemenets TemplateDirectiveModel .It doesnt read  <@check order=2>
>
> <@check order=1>
>        <@check order=2>
> </@check>
> </@check>


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
FreeMarker-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freemarker-devel