I have made available a very basic example application for the PortletWork framework. It does not do much besides supporting different portlet modes, some form submitting, and example of Spring support, but it can nevertheless aid as a template for PortletWork application development.
Yesterday, I tried to deploy the sample application to different portlet containers. Earlier, I have successfully deployed it to WebSphere Portal Server 5.x, JetSpeed2, Pluto and JBoss Portal. This time, Liferay and Gridsphere were the targets.
Deployment to Liferay quite straight forward once I got the server up and running, and did not require any additional descriptors. Just invoke an ant task, and off you go.
Gridsphere, however, was a bit more tedious. After a while, I found this resource describing the additional steps needed to get a JSR168 portlet up and running in Gridsphere. After adding the extra descriptors and library, everything was up and running.