Package lumis.doui.control.autolayout
Class AutoLayoutPropertyPageControl<S extends Source<?>>
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<S>
-
- lumis.doui.control.autolayout.AutoLayoutPropertyPageControl<S>
-
- All Implemented Interfaces:
VariableResolver
,IControl
- Direct Known Subclasses:
AutoLayoutContentPropertyPageControl
,AutoLayoutEmbeddedPropertyPageControl
public class AutoLayoutPropertyPageControl<S extends Source<?>> extends SourceBoundControl<S>
Renders a property page control with the visible source fields as label: input control pairs.
This control generates sub-controls in the following layout<control type="lum_form"> <control type="lum_propertyPage"> <control type="lum_filters" id="" + getId() + ".lumFilters" /> <control type="lum_controlGroup" title="" + localize("STR_BASIC_INFORMATION") + ""> <control type="lum_autoLayoutFields" id="" + getId() + "_Fields" /> </control> </control> </control>
Example use:- Since:
- 4.0.3
- Version:
- $Revision: 20877 $ $Date: 2018-01-09 11:44:08 -0200 (Tue, 09 Jan 2018) $
- See Also:
AutoLayoutFieldsControl
,ControlGroupControl
,FiltersControl
,FormControl
,PropertyPageControl
-
-
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 AutoLayoutPropertyPageControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAutoLayoutFields(StringBuilder subControls)
protected void
addPropertyPageControl(StringBuilder subControls)
protected void
addPropertyPageSubControls(StringBuilder subControls)
void
buildSubControls()
protected String
generateControlIdPrefix()
-
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
-
addPropertyPageControl
protected void addPropertyPageControl(StringBuilder subControls) throws PortalException
- Throws:
PortalException
-
addPropertyPageSubControls
protected void addPropertyPageSubControls(StringBuilder subControls) throws PortalException
- Throws:
PortalException
-
addAutoLayoutFields
protected void addAutoLayoutFields(StringBuilder subControls) throws PortalException
- Throws:
PortalException
-
generateControlIdPrefix
protected String generateControlIdPrefix()
- Overrides:
generateControlIdPrefix
in classControl
-
-