Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-541

VelocityAttributeRenderer does not pass context attributes

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.2
    • Fix Version/s: None
    • Component/s: tiles-velocity
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              nlebas Nicolas Le Bas
              Reporter:
              konrad.garus Konrad Garus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: