Re: How to write groovy conditionals inside a groovy template

2016-09-29 Thread Raviteja Lokineni
Sorry, my bad. It was a different error which led me to think it doesn't work. On Thu, Sep 29, 2016 at 10:35 AM, Guillaume Laforge wrote: > Hi Raviteja, > > You can use plain if statements in those templates. > > Guillaume > > On Thu, Sep 29, 2016 at 4:34 PM, Raviteja Lokineni < > raviteja.lokin

Re: How to write groovy conditionals inside a groovy template

2016-09-29 Thread Guillaume Laforge
Hi Raviteja, You can use plain if statements in those templates. Guillaume On Thu, Sep 29, 2016 at 4:34 PM, Raviteja Lokineni < raviteja.lokin...@gmail.com> wrote: > Hi, > > I am using Groovy templating engine inside a Spring Boot application which > uses MarkupTemplateEngine >

How to write groovy conditionals inside a groovy template

2016-09-29 Thread Raviteja Lokineni
Hi, 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 consum