Package lumis.doui.control.autolayout
Class AutoLayoutFieldControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<S>
-
- lumis.doui.control.SourceFieldBoundControl<Source<?>>
-
- lumis.doui.control.autolayout.AutoLayoutFieldControl
-
- All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver
,IControl
public class AutoLayoutFieldControl extends SourceFieldBoundControl<Source<?>>
Renders an appropriate control for the given field. Based on the datatype and lookup attributes of the field, this control renders an appropriate sub-control- Since:
- 4.0.4
- Version:
- $Revision$ $Date$
-
-
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 AutoLayoutFieldControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildSubControls()
java.lang.Object
getFieldControlValue()
Returns the value of the field control that it created.void
setFieldControlValue(java.lang.Object value)
Set value on a field control calls setValue on the field control that it renders.-
Methods inherited from class lumis.doui.control.SourceFieldBoundControl
getDataId, getFieldName, init
-
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, 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
-
setFieldControlValue
public void setFieldControlValue(java.lang.Object value) throws PortalException
Set value on a field control calls setValue on the field control that it renders.- Throws:
PortalException
-
getFieldControlValue
public java.lang.Object getFieldControlValue() throws PortalException
Returns the value of the field control that it created.- Returns:
- Throws:
PortalException
-
-