public class DeleteButtonControl extends ButtonControl
<control:lum_deleteButton id="deleteButton" processActionId="delete"/>
xml data available for xsl rendering:
<control id="deleteButton" processActionId="delete" text="STR_DELETE" type="lum_deleteButton">
<onClick type="script">
<script>if(!confirm('Are you sure you want to delete the selected item(s)?')) return;</script>
<validators>
<validator controlId="adminList.tabulardata" type="selectedMany" />
</validators>
</onClick>
<onClick type="processAction">
<processActionId>delete</processActionId>
</onClick>
<image>lumis/portal/client/images/Delete.gif</image>
<rowAction bulkAction="true" listControlId="adminList.tabulardata" />
<data>
<name>Delete</name>
<onclick><!-- onclick javascript for the button --></onclick>
</data>
</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 and Description |
---|
DeleteButtonControl() |
Modifier and Type | Method and Description |
---|---|
IResource |
getControlResource() |
void |
setRenderData() |
getAssociatedTabularDataControl, getDefaultPopupPageId, getScriptGetButtonText, getScriptSetButtonImageAlt, getScriptSetButtonText, getText, setText
getRuntimeDefaultSource, getSource, getSourceContext
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
public void setRenderData() throws PortalException
setRenderData
in interface IControl
setRenderData
in class ButtonControl
PortalException
public IResource getControlResource() throws PortalException
getControlResource
in interface IControl
getControlResource
in class ButtonControl
PortalException
LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.