Hi,

                I'm using Struts 2.2.3 with Tiles 2.1.4. It works
absolutely fine, but now I'm trying to use EL expressions, and I can't
get it to work. In Struts2 I can  use <s:property
value="${getText('Dashboard.label')}"/> and it retrieves the message
from a bundle. I'd like to use the same on the Tiles Definition. So far
I've added the context-param to the web.xml

 

       <context-param>

 
<param-name>org.apache.tiles.evaluator.AttributeEvaluator</param-name>

 
<param-value>org.apache.tiles.evaluator.el.ELAttributeEvaluator</param-v
alue>

       </context-param>

 

                Now I want to use the following expression on the
definition:

       

       <put-attribute name="pane-title"
expression="${getText('Dashboard.label')}" cascade="true"/>

              

                The issue is that when I do this, the screen fails to be
created saying:

 

                Function ':getText' not found

 

                So I suppose I'm missing something, but I don't know
why. Any ideas?

 

Thanks

 

JL



Internet communications are not secure and therefore Banco
Santander International does not accept legal responsibility for
the contents of this message. Any views or opinions presented
are solely those of the author and do not necessarily represent
those of Banco Santander International unless otherwise
specifically stated.

Las comunicaciones v'ia Internet no son seguras y, por lo tanto,
Banco Santander International no asume responsabilidad legal
ni de ning'un otro tipo por el contenido de este mensaje.
Cualquier opini'on transmitida pertenece 'unicamente al autor y
no necesariamente representa la opini'on de Banco Santander
International, a no ser que est'e expresamente detallado.

Reply via email to