tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xabier Burgos Gimeno <xabier.bur...@yahoo.es>
Subject EL Expression and Velocity templates
Date Wed, 19 May 2010 15:44:47 GMT
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:

expression="${requestScope.url}/css/jquery-ui.css" type="velocity"/>
expression="${requestScope.url}/css/master.css" type="velocity"/>

And then in the template

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

I'm missing something?.

Thanks in advance,



View raw message