Tutorial 5 guides you through the creation of a portlet, starting with a simple examples and then introduces you to the fundamental concepts of portlet development.. This section covers:
Lets get started. From the JPortal /tutorial distribution root directory, type:
maven -Dtutorial=5 jetspeed:deploy
Recommend bringing up these configuration files in your editor:
- 1. src/java/org/apache/jetspeed/tutorial/portal/portlets/HelloWorldPortlet.java
- 2. src/java/org/apache/jetspeed/tutorial/portal/portlets/HelloUserPortlet.java
- 3. tutorials/5/anon/html/default.psml
- 4. tutorials/5/turbine/html/default.psml
- 5. tutorials/5/t5-portlets.xreg
- 6. tutorials/5/JetspeedResources.properties.merge
since we will reference them in tutorial 5.