C H A P T E R  50

WebAction Command

The Web Action Command invokes a WebAction on the specified WebActionHandler component.

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.WebActionCommand. 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

Operation Name

The WebAction to perform.

Req

WebAction Handler Path

A qualified path that indicates which WebActionHandler visual component to invoke. This path is resolved relative to the parent of the command field component that invoked this command. For example, if the developer associates a button in a container view component with this command, the WebAction would be invoked on the parent container view.

The syntax of this path follows the standard view name path expression syntax, using forward slashes ("/") as delimiters. All components in the path except the last must refer to a ContainerView or a derivative of ContainerView (such as TiledView). Both relative and absolute paths are possible. If a name path begins with a forward slash, the name is assumed to be relative to the page (the ViewBean). If the path does not begin with a forward slash, the name is assumed to refer to a child relative to the current container. Two dots ("..") may be used to refer to the container that is the parent of the current container.