Class BaseAdvancedField
java.lang.Object
com.axemble.vdp.ui.framework.foundation.Component
com.axemble.vdp.ui.framework.foundation.Widget
com.axemble.vdp.ui.framework.widgets.CtlInputWidget
com.axemble.vdoc.sdk.document.fields.base.BaseField
com.vdoc.sdk.commons.ui.document.fields.BaseAdvancedField
- All Implemented Interfaces:
IWidget,IWritable,com.axemble.vdp.ui.core.document.fields.IFieldControl,com.axemble.vdp.utils.parameters.ParamsHandler,Serializable
Base advanced field
- Author:
- vmartinon
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDependencyclassJavascript event -
Field Summary
FieldsFields inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
accessKey, includeErrorInfo, mandatory, quickCreateLink, stringRecipient, tabIndex, throwDocumentChangedScript, throwEvents, throwEventsDefined, validationRulesFields inherited from class com.axemble.vdp.ui.framework.foundation.Widget
actionListeners, isHidden, param, parentBlock, sysname, userIdFields inherited from class com.axemble.vdp.ui.framework.foundation.Component
changeListeners, LOGGERFields inherited from interface com.axemble.vdp.utils.parameters.ParamsHandler
ERROR_EXCEED_ELEM_SIZE, ERROR_EXCEED_TOTAL_SIZE, ERROR_NOT_COMPLETED, ERROR_READ_FAILED, EXCEED_ELEM_NUMBER, NO_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidautoRender(com.axemble.vdp.ui.framework.template.TemplateWriter templateWriter) Auto renderprotected voidprotected BaseAdvancedField.DependencygetDependency(String dependencyName) protected final IDirectoryModuleprotected intprotected BaseAdvancedField.JavascriptEventgetJavascriptEvent(String eventName) protected Stringprotected final IPortalModuleprotected final IProjectModuleprotected ObjectgetRequestParameterValue(String inputName) protected IResourceprotected Stringprotected IWorkflowInstanceprotected IWorkflowModulevoidThis method is called once when the document is loadedbooleanisEmpty()protected voidputDependency(String dependencyName, BaseAdvancedField.Dependency dependency) protected voidputJavascriptEvent(String eventName, BaseAdvancedField.JavascriptEvent javascriptEvent) protected voidsetInitDelay(int initDelay) voidsetStoredValue(Object storedValue) voidvoidMethods inherited from class com.axemble.vdoc.sdk.document.fields.base.BaseField
checkErrorMessage, getAbstractField, getField, getFieldChangeListener, getTemplateAsString, getTemplateWriter, getValue, init, init, renderErrorMessage, setValueMethods inherited from class com.axemble.vdp.ui.framework.widgets.CtlInputWidget
addRefreshButton, addValidationRule, buildFieldElement, canThrowEventsInWebBrowser, clearValidationRules, findStringRecipient, focus, getAccessKey, getAssociatedLabel, getDescription, getDocumentChangedScript, getErrorInfo, getHelpMessageIcon, getParentId, getQuickCreateLink, getRefreshButton, getTabIndex, getValidationObject, getValidationRules, handleNoParams, handleParams, handleParams, hasValidationRules, inform, isDescription, isDocumentChangedScript, isEditable, isFocus, isForceParentId, isIncludeErrorInfo, isMandatory, isThrowDocumentChangedScript, isThrowEventsDefined, renderErrorInfo, renderInfoMessage, renderQuickCreate, setAccessKey, setAssociatedLabel, setDescription, setEditable, setErrorInfo, setIncludeErrorInfo, setMandatory, setQuickCreateContextParameter, setQuickCreateScreen, setTabIndex, setThrowDocumentChangedScript, setThrowEvents, setThrowEventsDefined, setValidationRules, validateMethods inherited from class com.axemble.vdp.ui.framework.foundation.Widget
addActionListener, afterInit, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireMessage, buildFireOnClickMessage, buildFireOnClickMessage, buildFormName, findFileRecipient, findXmlRecipient, fireActionEvent, getCtrlTemplate, getCtrlTemplateWriter, getJavaScriptFocusScript, getJavascriptId, getParam, getParentBlock, getSysname, getUserDisplayName, getUserId, handleAction, hasActionListeners, isHidden, refresh, refreshWidgets, removeActionListener, removeActionListeners, render, renderMobile, setHidden, setParam, setParentBlock, setSysname, setUserId, writeMethods inherited from class com.axemble.vdp.ui.framework.foundation.Component
addChangeListener, createComponent, evaluateExpressions, fireChangeEvent, getDynamicDescription, getDynamicLabel, getLanguage, getNavigator, getRootNavigator, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListeners, stateChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdp.ui.core.document.fields.IFieldControl
addValidationRule, clearValidationRules, getUserId, getValidationRules, hasValidationRules, inform, isEditable, isHidden, isMandatory, setEditable, setHidden, setMandatory, setUserId, validateMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWidget
addChangeListener, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, hasChangeListeners, removeChangeListener, removeChangeListeners
-
Field Details
-
LOG
-
widgetUniqueIdentifier
-
-
Constructor Details
-
BaseAdvancedField
public BaseAdvancedField()Default constructor
-
-
Method Details
-
init
Description copied from class:BaseFieldThis method is called once when the document is loaded -
updateControl
public void updateControl()- Specified by:
updateControlin interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl- Specified by:
updateControlin classBaseField- See Also:
-
updateValue
public void updateValue()- Specified by:
updateValuein interfacecom.axemble.vdp.ui.core.document.fields.IFieldControl- Specified by:
updateValuein classBaseField- See Also:
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classcom.axemble.vdp.ui.framework.widgets.CtlInputWidget- See Also:
-
getStoredValue
-
setStoredValue
-
getJavascriptEvent
-
putJavascriptEvent
protected void putJavascriptEvent(String eventName, BaseAdvancedField.JavascriptEvent javascriptEvent) -
getDependency
-
putDependency
-
autoRender
protected void autoRender(com.axemble.vdp.ui.framework.template.TemplateWriter templateWriter) throws RenderException Auto render- Parameters:
templateWriter- the template writer- Throws:
RenderException
-
getLoadMethodContent
-
getWidgetUniqueIdentifier
-
getInitDelay
protected int getInitDelay() -
cleanTemplateWriterCache
protected void cleanTemplateWriterCache() -
getRequestParameterValue
-
getWorkflowModule
-
getPortalModule
-
getDirectoryModule
-
getProjectModule
-
getWorkflowInstance
-
getResource
-
setInitDelay
protected void setInitDelay(int initDelay)
-