Authors
Overview
This portlet is an example using the GateIn *private* API to retrieve navigation nodes and pages to build a menu portlet.
Description
This example is a very basic example showing the usage of the private API. As GateIn team is currently working on a public API, this isn't part of the official examples shipped with the product.
The code has comments to explain what is retrieved and how. It shows translation of the page node names and also shows how to retrieve the content that will be displayed in the <title> tag of the produced HTML file.
Installation procedure
- Get a copy of the source:
- Either with GIT: git clone git@github.com:theute/VerticalMenuPortlet.git
- Or by downloading the source package: http://github.com/theute/VerticalMenuPortlet/archives/1.0.0
- Type 'mvn package'
- Copy target/verticalMenu.war into the deploy directory of GateIn and add the portlet on a page
Build system: Maven
Source location: GIT at http://github.com/theute/VerticalMenuPortlet
Compatibility list (please add to this list if you have tested a new version of GateIn):
Tester | Version of the example | Version of GateIn | Result | Comment |
---|---|---|---|---|
Thomas Heute | 1.0.0 | Trunk of GateIn (Between 3.1 and 3.2) | OK | |
Comments