Hi Everyone,
For anyone that might be interested, here are the steps to integrate a GWT client only code into Liferay as a portlet.
1) write your normal GWT code and compile to javascript and HTML (by running the compile batch file)
2) Generate your liferay portlet using the plugins SDK from liferay download section. Instruction on using the SDK can be found in the wiki.
3) The generated portlet from step 2 has a view.jsp file, open the file in any editor and using normal JSP page import tag, import the <your.module.name>.html.
4) Since you are using the SDK the generated folder is fully compactible with liferay, so run the war ant target (if yo haven't already) to generate the war file and deploy the result into liferay using the plugin installer.
Like i said this can only work if you have just a client based GWT project, where i got stuck was using GWT's RPC mechanism. I figure that using struts i should be able to fix it, but unfortunately i havent used struts before and i had a very strict project timeline to deliver, so i abandoned GWT's route for now. I would post updates as i get them. Cheers.
Regards
Nnamdi.
Please sign in to flag this as inappropriate.