Package lumis.doui.control.autolayout
Class AutoLayoutFieldsControl<S extends Source<?>>
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<S>
-
- lumis.doui.control.autolayout.AutoLayoutFieldsControl<S>
-
- Type Parameters:
S
-
- All Implemented Interfaces:
VariableResolver
,IControl
- Direct Known Subclasses:
AnswersAutoLayoutFieldsControl
,AnswersAutoLayoutFieldsControl
,AutoLayoutContentFieldsControl
,ShowAnswersAutoLayoutFieldsControl
,ShowAnswersAutoLayoutFieldsControl
public class AutoLayoutFieldsControl<S extends Source<?>> extends SourceBoundControl<S>
Renders a label control and a value control of each visible field in the source. The type of control to render the field value may be an input control or a read only control depending on the readOnly attribute of the corresponding field. Also, the pair label-value groups may be fully customized and not read from source fields.
Example use:
xml data available for xsl rendering:... - Since:
- 4.0.10
- Version:
- $Revision: 20957 $ $Date: 2018-02-15 16:58:12 -0200 (Thu, 15 Feb 2018) $
-
-
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 AutoLayoutFieldsControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildSubControls()
protected java.lang.String
generateControlIdPrefix()
protected boolean
renderControlsForField(ISourceField field)
-
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, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, 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, setRenderData, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
buildSubControls
public void buildSubControls() throws PortalException
- Specified by:
buildSubControls
in interfaceIControl
- Overrides:
buildSubControls
in classControl
- Throws:
PortalException
-
renderControlsForField
protected boolean renderControlsForField(ISourceField field) throws PortalException
- Throws:
PortalException
-
generateControlIdPrefix
protected java.lang.String generateControlIdPrefix()
- Overrides:
generateControlIdPrefix
in classControl
-
-