Package lumis.content.control.button
Class SaveAndPreviewButtonControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<Source<?>>
-
- lumis.doui.control.button.ButtonControl
-
- lumis.content.control.button.SaveAndPreviewButtonControl
-
- All Implemented Interfaces:
VariableResolver
,IControl
public class SaveAndPreviewButtonControl extends ButtonControl
Responsible for calling the process action handler with id="commitAndPreview".Generally included in the edit popup interfaces
The process action handler responses usually refresh the parent window, maintain the current window open and opens another preview window passing the currently editing content to be previewed.
- Since:
- 4.1.0
- Version:
- $Revision: 20359 $ $Date: 2017-07-07 18:57:20 -0300 (Fri, 07 Jul 2017) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.control.Control
childControls, controlContainer, controlDefinitionNode, controlResource, douiContext, hasValidatorSubControls, isValid, locale, ON_EVENT_CLOSE_WINDOW, ON_EVENT_LINK, ON_EVENT_POPUP_LINK_OR_RUNTIME_INTERFACE, ON_EVENT_POPUP_RUNTIME_INTERFACE, ON_EVENT_PROCESS_ACTION, ON_EVENT_RENDER_ACTION, ON_EVENT_REPLACE_INTERFACE, ON_EVENT_SCRIPT, ON_EVENT_VALIDATE, onEventScripts, PARAMETER_TYPE_FIRST_SELECTED, PARAMETER_TYPE_GET_VALUE, parentControl, resources, type, VALIDATION_SELECTED_MANY, VALIDATION_SELECTED_ONE
-
-
Constructor Summary
Constructors Constructor Description SaveAndPreviewButtonControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setRenderData()
-
Methods inherited from class lumis.doui.control.button.ButtonControl
getAssociatedTabularDataControl, getControlResource, getDefaultPopupPageId, getScriptGetButtonText, getScriptSetButtonImageAlt, getScriptSetButtonText, getText, setText
-
Methods inherited from class lumis.doui.control.SourceBoundControl
getRuntimeDefaultSource, getSource, getSourceContext
-
Methods inherited from class lumis.doui.control.Control
appendSubControl, appendSubControls, applyOnEventScripts, buildSubControls, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getScriptActionValidation, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, init, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
setRenderData
public void setRenderData() throws PortalException
- Specified by:
setRenderData
in interfaceIControl
- Overrides:
setRenderData
in classButtonControl
- Throws:
PortalException
-
-