response
The element <response> is used by the process action as a reply to the browser, after its execution.
Its attribute is the "type" which can contain the following types of responses.
doui_message |
Displays a message, registered in the string file for each language, which will be translated into the current language. |
doui_refreshParent |
Performs a refresh on the parent interface of the current interface, after executing a specific process action. |
doui_closeWindow |
Closes the current window after executing a specific process action. |
doui_runJavascript |
Executes the specified javascript in a |
doui_setRequestParameters |
Assigns all current parameter values for the next render request of the interface. |
doui_standardPopup |
Used in interfaces rendered in pop-ups. Internally, it is still converted into two types of responses: doui_refreshParent and doui_closeWindow. |
doui_standardEmbedded |
Used in interfaces embedded in pages (interfaces that initially should have been rendered in pop-ups but are rendered in pages). It is equivalent to the doui_setRequestParameters response. |
doui_standardCommit |
Used in standard add and edit interfaces. This response detects if the current interface is a pop-up or an embedded interface. If it is a pop-up, this response is equivalent to doui_refreshParent followed by doui_closeWindow. If it is an embedded interface, the response will detect where the administration interface is located and will redirect the portal to the page containing this interface. |
doui_setResponseParameters |
Configures parameters for the render requests of the current interface. |
doui_setRequestAttributes |
Primarily used to share data between different process actions. Configures parametric values in request attributes. These attributes can be read by subsequent process actions that have the same id. |
doui_hyperLink |
Used to redirect the browser to another page or URL after executing the relevant process action. Parameters can be passed in the redirection.
The example above refers to redirecting the browser to a page using the tag |
doui_popupInterface |
Used to open an interface in a popup after executing a process action. Additionally, parameters can be passed to that interface. |
doui_preview |
Displays a pop for viewing the data being edited. |