struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hazem Taji (JIRA)" <>
Subject [jira] [Commented] (WW-4412) Context started without being closed
Date Mon, 13 Oct 2014 11:37:34 GMT


Hazem Taji commented on WW-4412:

The <s:action> tag in BaseLayout.jsp causes the tiles to add 2 elements to the context
stack, only popping one after it finishes. When trying to load the "footer" attribute, it
will complain as it will not find the correct definition made in the "resources/tiles/tiles-index.xml"

My analysis is that in TilesResult class the context is started, but is not closed after rendering.
If closed, the example works correctly.

> Context started without being closed
> ------------------------------------
>                 Key: WW-4412
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tiles
>    Affects Versions:
>            Reporter: Hazem Taji
>             Fix For: 2.3.x
>         Attachments:
> In the TilesResult class, in doExecute, a context is started but not ended. This causes
the context stack later to have extra irrelevant contexts.
> The problem prevents the use of <s:action> tags where actions have tile results
and results in the tile attributes being unrecognized.

This message was sent by Atlassian JIRA

View raw message