Package com.adobe.acs.commons.mcp.form
Class MultifieldComponent
- java.lang.Object
-
- com.adobe.acs.commons.mcp.form.FieldComponent
-
- com.adobe.acs.commons.mcp.form.AbstractContainerComponent
-
- com.adobe.acs.commons.mcp.form.MultifieldComponent
-
@ProviderType public final class MultifieldComponent extends AbstractContainerComponent
Represent multifield with sub-fields based on referenced class. Depending on where this is used, some javascript should be included by the front-end to process the resulting form correctly.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
FieldComponent.ClientLibraryType
-
-
Field Summary
Fields Modifier and Type Field Description static StringASSET_PATHstatic StringFIELD_PATHstatic StringFOLDER_PATHstatic StringNODE_PATHstatic StringUSE_CLASS
-
Constructor Summary
Constructors Constructor Description MultifieldComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sling.api.resource.ResourcebuildComponentResource()If your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.voidinit()-
Methods inherited from class com.adobe.acs.commons.mcp.form.AbstractContainerComponent
addComponent, applyDialogProviderSettings, generateDefaultChildComponent, generateItemsResource, getDialogStyle, getFieldComponents, getGroupingContainer, getPropertiesTabName, hasCategories, isComposite, isForceDotSlashPrefix, setComposite, setDefaultChildComponent, setDialogStyle, setForceDotSlashPrefix, setGroupingContainer, setPropertiesTabName
-
Methods inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getComponentMetadata, getField, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getResourceSuperType, getResourceType, hasOption, purgeEmptyMetadata, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setup
-
-
-
-
Field Detail
-
FIELD_PATH
public static final String FIELD_PATH
- See Also:
- Constant Field Values
-
NODE_PATH
public static final String NODE_PATH
- See Also:
- Constant Field Values
-
ASSET_PATH
public static final String ASSET_PATH
- See Also:
- Constant Field Values
-
FOLDER_PATH
public static final String FOLDER_PATH
- See Also:
- Constant Field Values
-
USE_CLASS
public static final String USE_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
- Overrides:
initin classAbstractContainerComponent
-
buildComponentResource
public org.apache.sling.api.resource.Resource buildComponentResource()
Description copied from class:FieldComponentIf your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.- Overrides:
buildComponentResourcein classFieldComponent- Returns:
-
-