O'Reilly logo

Liferay User Interface Development by Frank Yu, Xinsheng Chen, Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying a portlet

In this section, we will use a JSP portlet to illustrate the portlet user interface.

Assume that the Liferay Plugins SDK has been set up in Eclipse. The Application Server (AS), or servlet container, has been installed and is running.

  1. Go to folder $PLUGINS_SDK_HOME/portlets and run create.bat uisix uisix command. This will create a uisix-portlet directory in the portlets folder—this is the uisix-portlet portlet.
  2. Go to Eclipse and refresh the $PLUGINS_SDK_HOME project. You will see the uisix-portlet folder.
  3. Deploy the uisix portlet. This will create a uisix-portlet-${VERSION}.war file and copy it to the ${AS}/deploy folder.
  4. If the AS is running, Liferay portal will detect the existence of uisix-portlet-${VERSION}.war. It will pick ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required