public class GenerateReportAction extends TabBaseAction implements IForwardAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
Constructor and Description |
---|
GenerateReportAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
java.lang.String |
getForwardURI()
The URI to go.
|
java.lang.String |
getType() |
boolean |
inNewWindow() |
void |
setType(java.lang.String string) |
getCollection, getRow, getSelected, getSelectedKeys, getTab, setCollection, setRow, setViewObject
closeDialog, getModelName, getPreviousView, getPreviousViews, getView, resetDescriptionsCache, returnToPreviousView, setControllers, setPreviousViews, setView, showDialog, showDialog, showNewView, showView, validateViewValues
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, commit, executeAction, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getQualifiedActionIfAvailable, getRequest, removeActions, returnToPreviousControllers, rollback, setContext, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrors, getMessages, setEnvironment, setErrors, setMessages
public void execute() throws java.lang.Exception
public boolean inNewWindow()
inNewWindow
in interface IForwardAction
public java.lang.String getForwardURI()
IForwardAction
If it starts with "http://" or "https://" the action will forward to the absolute URL in internet (since v4m1). Since 4.0.1 if it starts with "javascript:" the corresponding code will executed by the browser. Since 5.9 you should use IJavaScriptPostAction to execute JavaScript because IForwardAction with javascript: does not update the page before executing the JavaScript, but executes the JavaScript instead. If it returns null the forwarding is not done.
getForwardURI
in interface IForwardAction
public java.lang.String getType()
public void setType(java.lang.String string)