Package lumis.doui.control.form
Class FormControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.form.FormControl
-
- All Implemented Interfaces:
VariableResolver
,IControl
,IFormControl
public class FormControl extends Control implements IFormControl
Defines a form control. Use this control when you want to render a form that posts user input to the server.
Example use:Form_4028802410E199490110E1F2C84300FA POST main.jsp?lumPageId=1D6530765D5644709741AEAA3622D3BC&lumII=4028802410E199490110E1F2C84300FA - Since:
- 4.0.6
- Version:
- $Revision: 21230 $ $Date: 2018-04-24 19:07:57 -0300 (Tue, 24 Apr 2018) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTENT_TYPE_MULTI_PART
Representsmultipart/form-data
content type.-
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 FormControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncodingType()
boolean
hasRequiredFields()
void
init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl)
void
setEncodingType(String encodingType)
void
setHasRequiredFields(boolean requiredFields)
void
setRenderData()
protected void
setStoredContextValues(Node dataNode)
-
Methods inherited from class lumis.doui.control.Control
appendSubControl, appendSubControls, applyOnEventScripts, buildSubControls, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getRuntimeDefaultSource, getScriptActionValidation, getSourceContext, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
-
-
-
Field Detail
-
CONTENT_TYPE_MULTI_PART
public static final String CONTENT_TYPE_MULTI_PART
Representsmultipart/form-data
content type.- Since:
- 6.1.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
- Specified by:
init
in interfaceIControl
- Overrides:
init
in classControl
- Throws:
PortalException
-
setRenderData
public void setRenderData() throws PortalException
- Specified by:
setRenderData
in interfaceIControl
- Overrides:
setRenderData
in classControl
- Throws:
PortalException
-
setStoredContextValues
protected void setStoredContextValues(Node dataNode) throws PortalException
- Throws:
PortalException
-
getEncodingType
public String getEncodingType()
- Specified by:
getEncodingType
in interfaceIFormControl
- Returns:
- Returns the encodingType.
-
setEncodingType
public void setEncodingType(String encodingType)
- Specified by:
setEncodingType
in interfaceIFormControl
- Parameters:
encodingType
- The encodingType to set.
-
hasRequiredFields
public boolean hasRequiredFields() throws PortalException
- Throws:
PortalException
-
setHasRequiredFields
public void setHasRequiredFields(boolean requiredFields) throws PortalException
- Throws:
PortalException
-
-