groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raviteja Lokineni <raviteja.lokin...@gmail.com>
Subject How to write groovy conditionals inside a groovy template
Date Thu, 29 Sep 2016 14:34:12 GMT
Hi,

I am using Groovy templating engine inside a Spring Boot application which
uses MarkupTemplateEngine
<http://docs.groovy-lang.org/latest/html/documentation/template-engines.html#_the_markuptemplateengine>
.

I would like to know how to use a if/else block inside a template which
will be consumed by MarkupTemplateEngine
<http://docs.groovy-lang.org/latest/html/documentation/template-engines.html#_the_markuptemplateengine>

Thanks,
-- 
*Raviteja Lokineni* | Business Intelligence Developer
TD Ameritrade

E: raviteja.lokineni@gmail.com

[image: View Raviteja Lokineni's profile on LinkedIn]
<http://in.linkedin.com/in/ravitejalokineni>

Mime
View raw message