public class ToolsControllerCommandImpl extends ControllerCommandImpl implements ToolsControllerCommand
Constructor and Description |
---|
ToolsControllerCommandImpl() |
Modifier and Type | Method and Description |
---|---|
TypedProperty | getViewInputProperties()
This method is called by the WebController to retrieve the request properties set by the setRequestProperties() method.
|
void | setRequestProperties(TypedProperty viewParm)
Sets request properties for view command.
|
public TypedProperty getViewInputProperties()
The tools need to override this method because the properties passed into the controller command would be then passed onto the view command. This is unnecessary for the tools and will break the flow when using the ReDirectView command. This is because the URL to re-direct to cannot be more than 500 chars. The XML parameter alone passed into the controller command is longer than this. Therefore without overriding this method we cannot redirect to the view command.
public void setRequestProperties(TypedProperty viewParm) throws ECApplicationException
In the default implementation, this method simply saves the request properties.