Hello all,
Is it possible to use a an EL
expression in a tiles definition and get it rendered correctly in a
velocity template?, something like:
<put-list-attribute
name="styleSheets">
<add-attribute
expression="${requestScope.url}/css/jquery-ui.css" type="velocity"/>
<add-attribute
expression="${requestScope.url}/css/master.css" type="velocity"/>
</put-list-attribute>
And then in the template
$tiles.importAttribute({"name":"styleSheets"})
#foreach($styleSheet in $styleSheets)
<link type="text/css"
rel="stylesheet" href="${styleSheet.value}"/>
#end
Maybe
I'm missing something?.
Thanks in advance,
Xabier.