DatabaseBrowser Portlet

Tutorial 9 introduces the Database Browser Portlet. This section covers:

Let's get started. From the JPortal distribution root directory, type:

maven -Dtutorial=9 jetspeed:deploy

Recommend bringing up these files in your editor:

  • 1. webapp/WEB-INF/conf/t9-portlets.xreg
  • 2. src/java/org/apache/jetspeed/tutorial/modules/actions/portlets/TutorialCoffeesAction.java
  • 3. src/java/org/apache/jetspeed/tutorial/modules/actions/portlets/CoffeesBrowserAction.java
  • 4. webapp/WEB-INF/psml/user/anon/html/default.psml
  • 5. webapp/WEB-INF/psml/user/turbine/html/default.psml
  • 6. webapp/WEB-INF/templates/vm/portlet/html/coffees-form.vm
  • 7. webapp/WEB-INF/templates/vm/portlet/html/coffees-browser.vm **
** not actually used in demo, but you could extend this later on

since we will reference them in tutorial 9. The examples are found under the "Advanced Tutorials" menu selection.