A simple portlet example. According to Deploying WARs, we don't have to deploy an OSGi bundled for making a portlet. This example doesn't use OSGi bundle and include standdard zk jar.
- You cannot put 2 zk portlets of different zk versions on the same page. The later-loaded ZK javascript will override the previously-loaded version and cause all widgets not working properly.
We use 7.4.3.125-ga125 as the target portal.
Download from here
- build war with
mvn clean package
- copy to [LIFERAY_HOME]/deploy
./liferay-dxp-version/tomcat-version/bin/startup.sh
./liferay-dxp-version/tomcat-version/bin/shutdown.sh