You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Konrad Garus (Commented) (JIRA)" <ji...@apache.org> on 2012/02/14 12:01:04 UTC

[jira] [Commented] (TILES-541) VelocityAttributeRenderer does not pass context attributes

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

Konrad Garus commented on TILES-541:
------------------------------------

If this bug is confirmed and you are interested in a patch, I could create one.
                
> VelocityAttributeRenderer does not pass context attributes
> ----------------------------------------------------------
>
>                 Key: TILES-541
>                 URL: https://issues.apache.org/jira/browse/TILES-541
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-velocity
>    Affects Versions: 2.2.2
>            Reporter: Konrad Garus
>
> VelocityTilesRequestContextFactory creates VelocityTilesRequestContext which still holds the velocity Context passed from outside.
> However, VelocityAttributeRenderer ignores this VelocityTilesRequestContext completely and creates a new context with velocityView.createContext(request, response).
> As a result the context map that is passed to Tiles from outside is not passed along to Velocity. Among other things, it is causing issues with integration of Spring, Tiles and Velocity.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira