Package lumis.content.control.autolayout
Class AutoLayoutGenericContentAssociationControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<ContentTableSource>
-
- lumis.content.control.autolayout.AutoLayoutGenericContentAssociationControl
-
- All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver
,IControl
- Direct Known Subclasses:
AutoLayoutCategorizationAssociationControl
public class AutoLayoutGenericContentAssociationControl extends SourceBoundControl<ContentTableSource>
Base control for associating a content to other contents.This control adds a source, process action and controls for associating contents of a given type. It type is not specified the
ContentAssociation.TYPE_STANDARD
is assumed.- Since:
- 4.2.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
associationType
-
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 AutoLayoutGenericContentAssociationControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAssociationProcessAction()
protected void
addAssociationSource()
void
buildSubControls()
protected java.lang.String
getAssociationType()
protected java.lang.String
getDefaultAssociationType()
java.lang.String
getSelectItemsInterfaceId()
protected java.lang.String
getSourceId()
void
init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl)
boolean
renderControl()
-
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
-
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
-
addAssociationSource
protected void addAssociationSource() throws PortalException
- Throws:
PortalException
-
addAssociationProcessAction
protected void addAssociationProcessAction()
-
buildSubControls
public void buildSubControls() throws PortalException
- Specified by:
buildSubControls
in interfaceIControl
- Overrides:
buildSubControls
in classControl
- Throws:
PortalException
-
getDefaultAssociationType
protected java.lang.String getDefaultAssociationType() throws PortalException
- Throws:
PortalException
-
getAssociationType
protected java.lang.String getAssociationType() throws PortalException
- Throws:
PortalException
-
getSourceId
protected java.lang.String getSourceId() throws PortalException
- Throws:
PortalException
-
renderControl
public boolean renderControl() throws PortalException
- Throws:
PortalException
-
getSelectItemsInterfaceId
public java.lang.String getSelectItemsInterfaceId() throws PortalException
- Throws:
PortalException
-
-