C H A P T E R  38

Execute Model Command

The Execute Model Command automatically executes a model when invoked.

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

 

Executing Model Reference

The reference of the model on which the specified operation will be executed.

Req

Name

The name of the component instance.

Req

Model Operation Name

The name of the model operation that is to be executed.

 

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.