Why does the content disappear after creating a servlet?? Is this a bug? It's replicable!
Steps:1. Use Plugins SDK to create a portlet
2. Use NetBeans 6.7 to open the portlet (
File > New Project > Java Web Application with Existing Source; create
nbbuild.xml)
2a. Right-click on the project node in the
File or
Project window, select
Properties in the context menu, go to
Libraries and add appropriate libraries (JSTL 1.1, Portlet 2.0 JSR 286, Liferay JARs, etc.)
3. Deploy to Liferay (
build.xml > deploy)
4. Add the new portlet to Liferay portal using
Add Application under the dock, and observe in the browser that the template portlet is deployed, showing the boiler-plate content:
Please sign in to flag this as inappropriate.