Hi Raviteja,

You can use plain if statements in those templates.


On Thu, Sep 29, 2016 at 4:34 PM, Raviteja Lokineni <raviteja.lokineni@gmail.com> wrote:

I am using Groovy templating engine inside a Spring Boot application which uses MarkupTemplateEngine.

I would like to know how to use a if/else block inside a template which will be consumed by MarkupTemplateEngine

Raviteja Lokineni | Business Intelligence Developer
TD Ameritrade

Guillaume Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform