Share:
Developers » Script Objects & Methods » actionResult

PREVIOUS  |  NEXT

actionResult


The following table lists the available methods for the actionResult object:

Return Type Method Explanation
void actionResult.addMessage(String message) Displays the message after the action executes
void actionResult.setForward(String url) Loads the URL address after the action executes
void actionResult.setNotificationsEnabled(boolean isEnabled) Enables the notification when isEnabled = true; disables the notification when isEnabled = false
void actionResult.setResponse(ScriptFile file) Sets the response on file so the file can be downloaded after the action executes