Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.1.1-RC
-
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.