No use, I get "$tiles.render($styleSheet)" rendered. It makes no difference if 
I use type="string" or type="velocity" .



----- Mensaje original ----
De: Antonio Petrelli <[email protected]>
Para: [email protected]
Enviado: miƩ,19 mayo, 2010 20:36
Asunto: Re: EL Expression and Velocity templates

2010/5/19 Xabier Burgos Gimeno <[email protected]>:
>           <add-attribute
> expression="${requestScope.url}/css/jquery-ui.css" type="velocity"/>

Use type="string"

> $tiles.importAttribute({"name":"styleSheets"})
> #foreach($styleSheet in $styleSheets)
>            <link type="text/css"
> rel="stylesheet" href="${styleSheet.value}"/>
> #end

Do this:
<link type="text/css" rel="stylesheet" href="$tiles.render($styleSheet)"/>

HTH
Antonio




Reply via email to