Essentials
Download
Documentation
Components
Translated
Get Involved
|
Forwards
|
Forwards abstract navigation around the portal into centralized XML files, containing logical forward names,
and forward parameters. The service decouples your action code from hard-coding portal references.
By referencing a forward name as the next page, the navigation from actions and templates are no longer
'hard-coded' in the Java source or template code. Forwards are supported in Java and Velocity as a Forward Tool.
JSP will soon be supported.
Configuration: the forwards directory
|
Forward definitions are stored in XML files. As of version 1.4b4, you must edit this XML file by hand.
In order for your changes to take effect, you must restart the application server.
The forwards directory is where the user can place forward declarations.
The service supports one or more forward declaration files.
The location of the forwards directory is configured in the JetspeedResources.properties: services.ForwardService.directory=/WEB-INF/conf/forwards/
All definitions from multiple forward files are merged together. Duplicate names are overwritten.
There is currently no namespacing in the Forward Service.
|
|
|
|
|