Package lumis.doui.control.button
Class AutoAdministrationListButtonsControl<S extends Source<?>>
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<S>
-
- lumis.doui.control.button.AutoAdministrationListButtonsControl<S>
-
- All Implemented Interfaces:
VariableResolver
,IControl
- Direct Known Subclasses:
AutoContentAdministrationListButtonsControl
public class AutoAdministrationListButtonsControl<S extends Source<?>> extends SourceBoundControl<S>
Detects and automatically adds the following controls: lum_interfaceHeaderButtons, lum_addButton, lum_editButton, lum_deleteButton, lum_positionFieldOrderButton, lum_lockButton, lum_configureButton.
If all buttons are detected the following subcontrols are created:
<control type="lum_interfaceHeaderButtons" id="lumInterfaceHeaderButtons"> <control type="lum_addButton" id="lumInterfaceHeaderButtons.addButton" isPrimary="true" /> <control type="lum_editButton" id="lumInterfaceHeaderButtons.editButton" /> <control type="lum_deleteButton" id="lumInterfaceHeaderButtons.deleteButton" /> <control type="lum_positionFieldOrderButton" id="lumInterfaceHeaderButtons.positionFieldOrderButton" /> <control type="lum_lockButton" id="lumInterfaceHeaderButtons.lockButton" /> <control type="lum_configureButton" id="lumInterfaceHeaderButtons.configureButton" /> </control>
Example use:- Since:
- 4.0.6
- Version:
- $Revision: 20877 $ $Date: 2018-01-09 11:44:08 -0200 (Tue, 09 Jan 2018) $
- See Also:
AddButtonControl
,EditButtonControl
,DeleteButtonControl
,PositionFieldOrderButtonControl
,ConfigureButtonControl
-
-
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 AutoAdministrationListButtonsControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
appendPostConfigureButtons()
protected String
appendPreConfigureButtons()
void
buildSubControls()
-
Methods inherited from class lumis.doui.control.SourceBoundControl
getRuntimeDefaultSource, getSource, getSourceContext
-
Methods inherited from class lumis.doui.control.Control
appendSubControl, appendSubControls, applyOnEventScripts, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, 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, setRenderData, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
buildSubControls
public void buildSubControls() throws PortalException
- Specified by:
buildSubControls
in interfaceIControl
- Overrides:
buildSubControls
in classControl
- Throws:
PortalException
-
appendPreConfigureButtons
protected String appendPreConfigureButtons() throws PortalException
- Throws:
PortalException
-
appendPostConfigureButtons
protected String appendPostConfigureButtons() throws PortalException
- Throws:
PortalException
-
-