Portals Bridges
  1. Portals Bridges
  2. PB-70

Groovy Bridge needs to support groovy script preferences validator and groovy script pre-286 portlet.


    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.3
    • Component/s: groovy
    • Labels:


      We can use Groovy script to write a portlet now, but we need more.
      We should be able to write a groovy preferences validator. Also we should be able to write a groovy script portlet which supports pre-286 header phase.

      In summary, the followings are expected:

      • One can add a portlet preferences validator class into the portlet.xml. The class is a wrapper class for groovy script.
      • The wrapper class reads (read-only) preferences to find the script file and auto-refresh mode.
      • When auto-refresh mode is true, the modification of the validator script should be applied instantly.
      • Also, one can write a groovy portlet to support pre-286 header phase. Currently Jetspeed-2 API provides this interface. So the script developer implements SupportsHeaderPhase interface of Jetspeed-2 to provide header phase.
      • In such case, the developer can set the portlet-class to another wrapper class.


        Woonsan Ko created issue -
        Woonsan Ko made changes -
        Field Original Value New Value
        Attachment groovy-improve-diff.zip [ 12360179 ]
        Ate Douma made changes -
        Affects Version/s 1.0.2 [ 12312332 ]
        Component/s groovy [ 12311819 ]
        Fix Version/s 1.0.2 [ 12312332 ]
        Ate Douma made changes -
        Assignee Ate Douma [ adouma ]
        Ate Douma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]


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


            • Created: