Featured Posts

Introducing Portlet Generator 1.0 I've just added the portlet generator utility to this site.  This utility replaces the "create.bat" and "create.sh" scripts that come with Liferay's PluginSDK.  It offers...

Readmore

Hello Struts Portlet I've placed a very simple Hello Struts portlet in the downloads section. It doesn't do nearly enough to show the power of Struts in Liferay. Look for a future Struts portlets...

Readmore

Hello jQuery Portlet I was recently asked: "What is jQuery?". By now, most Javascript enthusiasts understand the advantages of jQuery's power. To demonstrate one of those advantages, I've added...

Readmore

Hello Spring Portlet I've placed a simple, Hello World type Spring portlet in the downloads section. Check it out. It uses the Spring ParameterizableViewController to forward to the view JSP.

Readmore

Using jQuery with Liferay, Part 2 Four more core effects are Show, Toggle, Fade In, and Animate.   This week's portlet and the screencast below gives a demonstration of these four effects in a Liferay Portlet....

Readmore

RobiSoft.com Rss

Introducing Portlet Generator 1.0

Posted on : 17-12-2009 | By : Jeff Robinson | In : Annoucements

Tags:

7

I’ve just added the portlet generator utility to this site.  This utility replaces the “create.bat” and “create.sh” scripts that come with Liferay’s PluginSDK.  It offers a GUI entry panel as well as the options to generate 4 different types of sample portlets: Struts, Spring, Struts2, and JSP.  I plan to add more functionality to this later and expand its offering if the need arises.

The Swing interface is very simple: just fill in the portlet name (or portlet id), the display name (what will be shown in the title) and select the type of portlet.  Then click the Generate button to make it all happen.  A couple of things to note:

1) Follow the instructions on the download page.
2)Be aware that the Struts and Struts2 samples come pre-packaged with the Liferay tomcat loader already set in the META-INF folder.  You’ll need to either change or delete according to your application server needs.

Comments (7)

Its really a great site to learn Liferay and portlets. I am exited and eager to see more stuff on Liferay Hooks and Service Builder on this site.

hi,
Add-user-structs portlet for version 5.2.3 is not working,when i deployed that war file…Can u please help me out..

I’ll do the best I can; please describe the error and the Application Server you’re attempting to deploy to.

Note: the war file as distributed was tested on Tomcat 6.

I am using Tomcat 6 server.

A few more questions:

1. Are you seeing an error in the Tomcat console?

2. Are you using the Liferay extension environment or Plugin SDK?

3. If Plugin SDK, are you hot deploying the portlet?

Hi,
I have used your tool to develop a liferay jsp portlet, And able to deploy the portlet in the liferay server successfully.

My problem is i m not able to see the portlet in add application -> sample … where it was supposed to be.

cud to tel me wht is the problem

Thanks

Yes, the portlet should appear in your “Sample” applications category.

You should check your liferay-display.xml file located in the portlet’s WEB-INF folder. It should have a
category name=”category.sample” enclosing your portlet id name.

Write a comment