Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-556

decorator.vm in portlet decorators not overriden

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-dev/cvs, 2.1-dev, 2.1
    • Fix Version/s: 2.1-dev, 2.1
    • Component/s: Layout
    • Labels:
      None
    • Environment:
      any

      Description

      I cannot override the default decorator.vm in my portlet decorator. Although the file is created in my decorator's home, the default one is still used for rendering portlets.

        Activity

        Hide
        taylor David Sean Taylor added a comment -

        Try naming your resource header.vm, not decorator.vm
        That should work

        Show
        taylor David Sean Taylor added a comment - Try naming your resource header.vm, not decorator.vm That should work
        Hide
        jacenty Jacek Wi?licki added a comment -

        In case of a plotle (not layout)t decorator? It doesn't work, anyway The comment in the default decorator.vm states:

        This is the default template to be used for rendering decorations. If you
        find you cannot accomplish your design requirements by defining a custom
        style sheet for your decoration, you can define your own decorator.vm in
        the root of your decortaion. This will be used instead of the default.

        Show
        jacenty Jacek Wi?licki added a comment - In case of a plotle (not layout)t decorator? It doesn't work, anyway The comment in the default decorator.vm states: This is the default template to be used for rendering decorations. If you find you cannot accomplish your design requirements by defining a custom style sheet for your decoration, you can define your own decorator.vm in the root of your decortaion. This will be used instead of the default.
        Hide
        jacenty Jacek Wi?licki added a comment -

        It should be: "In case of a portlet (not layout) decorator"...

        Show
        jacenty Jacek Wi?licki added a comment - It should be: "In case of a portlet (not layout) decorator"...
        Hide
        taylor David Sean Taylor added a comment -

        With layout decorators, use header.vm
        With portlet decorators, use decorator.vm

        I tested this again tonight, still can't reproduce the bug
        Im sorry but it WFM on svn trunk

        Show
        taylor David Sean Taylor added a comment - With layout decorators, use header.vm With portlet decorators, use decorator.vm I tested this again tonight, still can't reproduce the bug Im sorry but it WFM on svn trunk
        Hide
        taylor David Sean Taylor added a comment -

        Closing as this appears to be resolved.

        Show
        taylor David Sean Taylor added a comment - Closing as this appears to be resolved.
        Hide
        adouma Ate Douma added a comment -

        Closed again now properly recorded against Fix Version 2.1 as well

        Show
        adouma Ate Douma added a comment - Closed again now properly recorded against Fix Version 2.1 as well

          People

          • Assignee:
            taylor David Sean Taylor
            Reporter:
            jacenty Jacek Wi?licki
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development