@ConsumerType
public interface Container
extends com.adobe.cq.export.json.ContainerExporter
Container
Sling Model used for the /apps/core/wcm/components/form/container
component.Modifier and Type | Method and Description |
---|---|
default String |
getAction()
Returns the form's submit method (the value of the form's HTML
action attribute). |
default String |
getEnctype()
Returns the form's encoding type (the value of the form's HTML
enctype attribute). |
default @Nullable String[] |
getErrorMessages()
This method returns a general error messages which should be displayed inside of the form if the submit action fails.
|
default @NotNull Map<String,? extends com.adobe.cq.export.json.ComponentExporter> |
getExportedItems() |
default @NotNull String[] |
getExportedItemsOrder() |
default @NotNull String |
getExportedType() |
default String |
getId()
Returns the form's id (the value of the form's HTML
id attribute). |
default String |
getMethod()
Returns the form's submit method (the value of the form's HTML
method attribute). |
default String |
getName()
Returns the form's name (the value of the form's HTML
name attribute). |
default String |
getRedirect()
This method returns the redirect url property of this form.
|
default String |
getResourceTypeForDropArea()
Returns the resource type for the "new" section in the core form container where other input components will
be dropped.
|
default String getMethod()
method
attribute).default
in 14.1.0default String getAction()
action
attribute).default
in 14.1.0default String getId()
id
attribute).default
in 14.1.0default String getName()
name
attribute).default
in 14.1.0default String getEnctype()
enctype
attribute).default
in 14.1.0default String getResourceTypeForDropArea()
default
in 14.1.0default String getRedirect()
default
in 14.1.0@Nullable default @Nullable String[] getErrorMessages()
@NotNull default @NotNull String[] getExportedItemsOrder()
getExportedItemsOrder
in interface com.adobe.cq.export.json.ContainerExporter
ContainerExporter.getExportedItemsOrder()
@NotNull default @NotNull Map<String,? extends com.adobe.cq.export.json.ComponentExporter> getExportedItems()
getExportedItems
in interface com.adobe.cq.export.json.ContainerExporter
ContainerExporter.getExportedItems()
@NotNull default @NotNull String getExportedType()
getExportedType
in interface com.adobe.cq.export.json.ComponentExporter
ComponentExporter.getExportedType()
Copyright © 2022. All rights reserved.