lumis.doui.control.script
Class ScriptControl
java.lang.Object
lumis.doui.control.Control
lumis.doui.control.script.ScriptControl
- All Implemented Interfaces:
- VariableResolver, IControl
- Direct Known Subclasses:
- RenderActionOnLoadScriptControl
public class ScriptControl
- extends Control
Renders client side script. The script value is specified within a script node and may contain custom tags like <lum_formName/> to be replaced runtime with the curren form name, and <lum_translate>STR_XXXX<lum_translate/> to be localized to the users locale.
Example use with content within script tag:
xml data available for xsl rendering:
Example use with other configuration:
xml data available for xsl rendering:
- Since:
- 4.0.3
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, onEventScripts, PARAMETER_TYPE_FIRST_SELECTED, PARAMETER_TYPE_GET_VALUE, parentControl, resources, type, VALIDATION_SELECTED_MANY, VALIDATION_SELECTED_ONE |
Methods inherited from class lumis.doui.control.Control |
appendSubControl, appendSubControls, applyOnEventScripts, buildSubControls, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, getId, getLocale, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getRuntimeDefaultSource, getScriptActionValidation, getScriptGetValues, getScriptGetValuesFunctionImplementation, getScriptGetValuesFunctionName, getScriptGetValuesRegistration, getSourceContext, getStringsToLocalize, getType, getValidationScript, init, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setRuntimeAttributes, setValid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptControl
public ScriptControl()
setRenderData
public void setRenderData()
throws PortalException
- Specified by:
setRenderData
in interface IControl
- Overrides:
setRenderData
in class Control
- Throws:
PortalException
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.