struts-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/WW-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169202#comment-14169202
] 

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"
file.

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: https://issues.apache.org/jira/browse/WW-4412
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tiles
>    Affects Versions: 2.3.16.3
>            Reporter: Hazem Taji
>             Fix For: 2.3.x
>
>         Attachments: tiles-test.zip
>
>
> 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
(v6.3.4#6332)

Mime
View raw message