org.torweg.pulse.component.core.site.map
Class SitemapMenuController
java.lang.Object
org.torweg.pulse.bundle.Controller
org.torweg.pulse.component.core.site.map.SitemapMenuController
- All Implemented Interfaces:
- DeprecatedConfigurable
public final class SitemapMenuController
- extends Controller
- implements DeprecatedConfigurable
displays the visible part of the Sitemap for the
Locale of the current ServiceRequest.
The configuration of the SitemapMenuController offers a choice
of two different menu generation schemes:
tree, for a tree like menu with the expanded to the current
SitemapNode
compact, for a three level display, showing the current
SitemapNode and its neighboring nodes.
When the action of the Command equals
<em>sitemap</em>, the complete visible Sitemap is
returned.
- Version:
- $Revision: 1914 $
- Author:
- Thomas Weber
|
Method Summary |
void |
init(ConfigBean c)
used to initialise the bundle from its configuration. |
MenuResult |
run(ServiceRequest request)
displays the visible part of the Sitemap for the
Locale of the current ServiceRequest. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SitemapMenuController
public SitemapMenuController()
init
public void init(ConfigBean c)
- Description copied from interface:
DeprecatedConfigurable
- used to initialise the bundle from its configuration.
- Specified by:
init in interface DeprecatedConfigurable
- Parameters:
c - the configuration
run
@AnyAction
public MenuResult run(ServiceRequest request)
- displays the visible part of the
Sitemap for the
Locale of the current ServiceRequest.
- Parameters:
request - the current ServiceRequest
- Returns:
- the
MenuResult