Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-741

More GroovyPortlet demos using the new Portals Bridges GroovyPortlet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.1.1-RC
    • 2.1.2
    • Demo Portlets
    • 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.

      Attachments

        1. groovy-demo2.diff
          39 kB
          Woonsan Ko

        Activity

          People

            ate Ate Douma
            woon_san Woonsan Ko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: