Package lumis.doui.control
Class SourceFieldBoundControl<S extends Source<?>>
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<S>
-
- lumis.doui.control.SourceFieldBoundControl<S>
-
- Type Parameters:
S
- the source type.
- All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver
,IControl
- Direct Known Subclasses:
AdministrationListControl
,AutoLayoutFieldControl
,LabelControl
,ListControl
public abstract class SourceFieldBoundControl<S extends Source<?>> extends SourceBoundControl<S>
Control that may be bound to aSource
's field.- Since:
- 10.4.0
- 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 SourceFieldBoundControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDataId()
Returns the data identifier for this control.java.lang.String
getFieldName()
Returns the name of the field this control is bound to.void
init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl)
-
Methods inherited from class lumis.doui.control.SourceBoundControl
getRuntimeDefaultSource, getSource, getSourceContext
-
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, getScriptActionValidation, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRenderData, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
init
public void init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
- Specified by:
init
in interfaceIControl
- Overrides:
init
in classControl
- Throws:
PortalException
-
getDataId
public java.lang.String getDataId() throws PortalException
Returns the data identifier for this control.- Returns:
- the data identifier.
- Throws:
PortalException
- Since:
- 10.4.0
-
getFieldName
public java.lang.String getFieldName() throws PortalException
Returns the name of the field this control is bound to. If the control has afieldName
attribute specified, that value is returned. If not, the field name is taken from the bound source field.During
init(Node, ControlContainer, IControl)
this method is used for initializingControl.setName(String)
ifControl.getName()
is not specified.- Returns:
- the field name.
- Throws:
PortalException
- Since:
- 10.4.0
-
-