C H A P T E R  39

Forward Command

The Forward Command uses the servlet RequestDispatcher to forward to a resource within the current application.

Property Name

Description

Notes

Command Class Name

The name of the command class that will handle the request. By default this is set to the standard implementation com.iplanet.jato.view.command.ForwardCommand. Developers should only change the setting of this expert property if they wish to set it to a subclass of the standard command class implementation.

 

Name

The name of the component instance.

Req

Path

The path to a resource within the current application. Generally this path denotes a servlet, JSP, HTML, or other file.

Req

User Parameters

An array of developer-defined parameters which can be any Java type, including a Java expression. The parameters will be passed into the specified command component's execute() method via the CommandEvent parameter. The parameters specified in this property will be passed as a single reserved parameter within the standard parameter map. This reserved parameter will be keyed as com.iplanet.jato.view.command.ViewCommandDescriptorBase.PARAM_USER_PARAMETERS and its type will be java.util.Map.

This expert property is only meaningful if the associated expert property Command Class Name has also been set to something other than its default value, and the non default class specified in the Command Class Name property has been coded to look for the reserved parameter key com.iplanet.jato.view.command.ViewCommandDescriptorBase.PARAM_USER_PARAMETERS.