Hi,

I'm using tiles 2.2 with Spring MVC. I use Expression Language in my 
tiles-defs.xml file, so it's full of definitions like this:

<definition name="test" extends="base">
  <put-attribute name="body" expression="/view/${variable.property ? 'foo' : 
'bar'}/test.jspx"/>
</definition>

As the same big expression is replicated across all my definitions, I was 
wondering if there was some way to define it only once, and use a simpler 
expression like ${folder} instead of the complicated one.

Thanks in advance

Reply via email to