I'm using Apache Tile in Spring Web App, I have to include some dependencies under certain conditions,
So I want to know if in file "tiles.xml" we can set some conditions as below ?
<definition name=".tpl1" extends=".MainTpl"
template="/WEB-INF/views/templates/tpl1.jsp">
<put-attribute name="header" value="XX" />
<put-attribute name="dashboard" value="XX" />
<if [Some condition] >
<put attribute name="isOk" value="XX />
/>
<else>
<put-attribute name="isNok" value="YY" />
/>
</definition>
I'm really not sure about this part but I want to know if it's possible or not :)
Kind regards :)