tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Beckes <rbec...@gmail.com>
Subject struts2 MessageResources in tiles
Date Mon, 17 Dec 2012 17:13:23 GMT
Hi All,

I'm trying unsuccessfully to use a struts2 message resource in a tiles
2.1.4 expression. For example the following resource is available in
the jsp...

<s:text name="htmlheadHeading1"/><br/>

... but when I attempt to use the same resource in the tiles definition...

<put-attribute name="title" expression="${htmlheadHeading1}" />

... I get the error...

ELResolver cannot handle a null base Object with identifier 'htmlheadHeading1'

... Is there any way to do this??


View raw message