You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/02/04 17:30:16 UTC

[jira] Commented: (TILES-96) Using override all attributes with the same name in the request

    [ https://issues.apache.org/struts/browse/TILES-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39963 ] 

Antonio Petrelli commented on TILES-96:
---------------------------------------

It seems that the problem is that a ComponentContext is created for each request, and that ComponentContext is used to store attribute values put with <tiles:putAttribute>.
Since this attributes must be tag-scoped and not request-scoped, I suppose that this behaviour is wrong.

> Using <tiles:putAttribute> override all attributes with the same name in the request
> ------------------------------------------------------------------------------------
>
>                 Key: TILES-96
>                 URL: https://issues.apache.org/struts/browse/TILES-96
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.0
>         Environment: All
>            Reporter: Antonio Petrelli
>
> If <tiles:putAttribute> is used to put an attribute inside a template and if another template used in the same request has an attribute with the same name, then the other attribute is overridden with the value put with the JSP tag.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.