Thanks Antonio. Looking forward to Tiles 2.2

David

-----Original Message-----
From: Antonio Petrelli [mailto:[email protected]] 
Sent: Tuesday, October 06, 2009 2:29 PM
To: [email protected]
Subject: Re: Session Attribute in Tiles Definition

2009/10/6 Smith, David W <[email protected]>:
> 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

Reply via email to