tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Session Attribute in Tiles Definition
Date Tue, 06 Oct 2009 18:29:15 GMT
2009/10/6 Smith, David W <david.w.smith@bankofamerica.com>:
> Tiles 2.1.3

Ok, then you should be able to use EL in all Tiles tags.
But in this case remember that expressions are evaluated at "put
time", not at "rendering time".
If you want expression evaluation, you need Tiles 2.2.0 (still in
alpha stage) where you can use:
<tiles:put expression="..." />
where the expression can be EL. Notice that this must be a string!!!
This means that you have to compose a string in a way it does not get
evaluated, such as:
${'$' + '{mybean'}'}
You can also use OGNL or MVEL.

The syntax is the same as the one for the definition files:
http://tiles.apache.org/framework/tutorial/advanced/el-support.html

Ciao
Antonio

Mime
View raw message