Jetspeed 2
  1. Jetspeed 2
  2. JS2-711

Support JSP decorators as well as Velocity

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.2
    • Component/s: Decorations/Themes
    • Labels:
      None

      Description

      Support JSP decorators as well as Velocity, will require putting JPT (PowerTool) into JSP request attribute, and dispatching to a JSP instead of Velocity servlet

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        32d 7h 9m 1 David Sean Taylor 11/Jun/07 02:43
        In Progress In Progress Open Open
        16d 14h 36m 1 David Sean Taylor 27/Jun/07 17:19
        Open Open Resolved Resolved
        1m 32s 1 David Sean Taylor 27/Jun/07 17:20
        Resolved Resolved Reopened Reopened
        4d 6h 52m 1 Ate Douma 02/Jul/07 00:13
        Reopened Reopened Resolved Resolved
        7d 27m 1 Ate Douma 09/Jul/07 00:41
        Resolved Resolved Closed Closed
        1548d 21h 56m 1 Ate Douma 04/Oct/11 22:37
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ate Douma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Ate Douma added a comment -

        With the latest patch provided by Mohan KR which added JSP support for layout-help, solo and maximized decorators.
        I think this now completes this feature and I'm happy with it to incorporate it in the 2.1.1 release.
        But please note: the JSP decorators are very new, and only available yet for the tigris theme, and should still be considered somewhat experimental.

        What Mohan has provided so far works already very well though (great job Mohan!).

        The JSP decorators can be enabled by modifying (properly commented) settings in:

        • decorators/layout/tigris/decorator.properties
        • decorators/portlet/tigris/decorator.properties
        • WEB-INF/templates/layout/html/columns/layout.properties
        • WEB-INF/templates/layout/html/maximized/layout.properties
        • WEB-INF/templates/layout/html/solo/layout.properties

        Note: you need to change the settings in all of the above properties files, and then restart jetspeed.

        Also note: for the tcolumns template there isn't a JSP replacement (yet), but that isn't much used anyway AFAIK.
        Just to be sure: don't switch your page layout portlet(s) from columns to tcolumns, otherwise your page will be broken.

        Show
        Ate Douma added a comment - With the latest patch provided by Mohan KR which added JSP support for layout-help, solo and maximized decorators. I think this now completes this feature and I'm happy with it to incorporate it in the 2.1.1 release. But please note: the JSP decorators are very new, and only available yet for the tigris theme, and should still be considered somewhat experimental. What Mohan has provided so far works already very well though (great job Mohan!). The JSP decorators can be enabled by modifying (properly commented) settings in: decorators/layout/tigris/decorator.properties decorators/portlet/tigris/decorator.properties WEB-INF/templates/layout/html/columns/layout.properties WEB-INF/templates/layout/html/maximized/layout.properties WEB-INF/templates/layout/html/solo/layout.properties Note: you need to change the settings in all of the above properties files, and then restart jetspeed. Also note: for the tcolumns template there isn't a JSP replacement (yet), but that isn't much used anyway AFAIK. Just to be sure: don't switch your page layout portlet(s) from columns to tcolumns, otherwise your page will be broken.
        Ate Douma made changes -
        Assignee David Sean Taylor [ taylor ] Ate Douma [ adouma ]
        Ate Douma made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Ate Douma added a comment -

        We also need to provide jsp based decorator template replacements for:

        • columns/layout-help.vm
        • maximized/layout.vm
        • solo/layout.vm
        • tcolumns/layout.vm
        Show
        Ate Douma added a comment - We also need to provide jsp based decorator template replacements for: columns/layout-help.vm maximized/layout.vm solo/layout.vm tcolumns/layout.vm
        David Sean Taylor made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        David Sean Taylor added a comment -

        patches from Mohan KR applied
        We now support JSP templates with the tigris decorations only
        If someone wants to convert over the other demos, that would be helpful
        Thanks to Mohan for a big contribution for his first experience with Jetspeed!

        Show
        David Sean Taylor added a comment - patches from Mohan KR applied We now support JSP templates with the tigris decorations only If someone wants to convert over the other demos, that would be helpful Thanks to Mohan for a big contribution for his first experience with Jetspeed!
        David Sean Taylor made changes -
        Status In Progress [ 3 ] Open [ 1 ]
        David Sean Taylor made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        David Sean Taylor created issue -

          People

          • Assignee:
            Ate Douma
            Reporter:
            David Sean Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development