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
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sling.api.resource.ResourceIf 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, setPropertiesTabNameMethods inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getProperties, getResourceSuperType, getResourceType, hasOption, purgeEmptyProperties, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setup
-
Field Details
-
FIELD_PATH
- See Also:
-
NODE_PATH
- See Also:
-
ASSET_PATH
- See Also:
-
FOLDER_PATH
- See Also:
-
USE_CLASS
- See Also:
-
-
Constructor Details
-
MultifieldComponent
public MultifieldComponent()
-
-
Method Details
-
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:
-