Gatein Portlets Plugin
Dependency :
compile ":portlets-gatein:0.3"
Summary
Generate JSR-286 compliant portlet war to use it in GateIn portal 3.x.
Based on original Grails portlets plugin.
Installation
grails install-plugin portlets-gatein
Description
The plugin-aims to provide a simple way of deploying Grails portlets to GateIn 3.x Portal. It is based on Portlets Plugin but updated to work with Grails 1.3.7+ and spring-mvc-portlet 3.0.5.Install portlets plug-in
Create your portlet
You can edit your portlet file to change its visible name etc
generate portles views
Create portlet
Create an grails applicationgrails create-app GateInTest
grails install-plugin portlets-gatein
grails create-portlet com.myself.MyFirst
vi grails-app/portlets/com/myself/MyFirstPortlet.goorvy
grails generate-portlet-views com.myself.MyFirst
Prepare war for Jboss/GateIn
The plug-in will do all the job for you. See http://jira.codehaus.org/browse/GRAILS-6778 and http://blog.saddey.net/2010/03/06/how-to-deploy-a-grails-application-to-jboss-5 for additional info and on how to deploy a Grails application to Jboss 5.xSo just make you war and copy it in you deployment foldergrails prod war