You might try adding:

<tiles:importAttribute scope="request"/>

To the top of your template source.  It makes all the request scoped
parameters available to tiles.
  (*Chris*)


On Mon, Dec 17, 2012 at 9:13 AM, Ryan Beckes <[email protected]> wrote:

> 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??
>
> Thanks,
> Ryan
>

Reply via email to