Jetspeed 2
  1. Jetspeed 2
  2. JS2-741

More GroovyPortlet demos using the new Portals Bridges GroovyPortlet

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.1-RC
    • Fix Version/s: 2.1.2
    • Component/s: Demo Portlets
    • Labels:
      None

      Description

      With Groovy Bridge, we can implement a portlet supporting header phase (pre-286 feature). See PB-70.
      I added two portlet scripts: CustomerPortlet.groovy and DojoCustomerPortlet.groovy.
      The source was just copied from the CustomerPortlet. I just remove throws clauses from the original java source.
      The first script is a demo to show how Java portlet source could be easily adapted to Groovy script.
      The second one is to show how Groovy portlet script can support header phase to use DOJO.
      Also, I added Groovlet and Groovy templates for view pages.

        Activity

        Hide
        Ate Douma added a comment -

        Patch applied and tested.
        Now this is a really nice, eh, Groovy, demo

        Thanks Woonsan!

        Show
        Ate Douma added a comment - Patch applied and tested. Now this is a really nice, eh, Groovy, demo Thanks Woonsan!
        Hide
        Woonsan Ko added a comment -

        Sorry, but I modified a line to show the first tab as selected in the DojoPage1.gsp.
        So, ignore the previous one and please apply this. Thanks!

        Show
        Woonsan Ko added a comment - Sorry, but I modified a line to show the first tab as selected in the DojoPage1.gsp. So, ignore the previous one and please apply this. Thanks!
        Hide
        Woonsan Ko added a comment -

        a patch for the groovy demo page.

        Show
        Woonsan Ko added a comment - a patch for the groovy demo page.

          People

          • Assignee:
            Ate Douma
            Reporter:
            Woonsan Ko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development