Sign in to edit and +1 items.
Login required
Download

GateIn

(0)
Author(s) Jakob Munih
Current Release 0.2   (11 months ago)
Grails Version 1.3.7 > *
Tags jboss  jsr-168  portlets 
Dependency
compile ":portlets-gatein:0.2"
Last updated by admin 1 year ago
grails install-plugin portlets-gatein
Last updated by munih 11 months ago
The plugin-aims to provide a simple way of deploying Grails portlets to Jboss GateIN 3.1 Portal. It is based on Portlets Plugin but updated to work with Grails 1.3.7+ and spring-mvc-portlet 3.0.5.

Create portlet

Create an grails application

grails create-app GateInTest

Install portlets plug-in

grails install-plugin portlets-gatein

Create your portlet

grails create-portlet com.myself.MyFirst

You can edit your portlet file to change its visible name etc

vi grails-app/portlets/com/myself/MyFirstPortlet.goorvy

generate portles views

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.x

So just make you war and copy it in you deployment folder

grails prod war
Last updated by admin 1 year ago
Last updated by admin 1 year ago