public interface CreateModalFormAction<A extends CreateModalFormAction<A>> extends ModalFormAction<A>
ModalFormAction
that is used for the creation of new entities.
Adds guidance on configuring CreateModalFormAction.Attributes.MAP_INHERITED_VALUES
for create modal form
actions.
Modifier and Type | Interface and Description |
---|---|
static class |
CreateModalFormAction.Attributes |
FormAction.Keys
Modifier and Type | Method and Description |
---|---|
default A |
mapInheritedValue(Mapping<?>... mappingsToAdd)
Configure mappings from the parent data to the create form's state.
|
default A |
mapInheritedValues(Collection<Mapping<?>> mappingsToAdd)
Configure mappings from the parent data to the create form's state.
|
submitLabel, submitLabel
addExternal, addExternal, addField, addField, addField, addFormComponents, addGroup, addGroup, external, field, findExternal, findField, findGroup, getExternal, getField, getGroup, group, removeExternal, removeField, removeGroup
addComponent, addComponents, addEndpoint, addEndpoint, apply, attribute, clearEndpoints, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoints, get, get, getAttribute, getAttribute, getAttributes, getComponent, getComponent, getComponents, getComponentsList, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOperationType, getOrder, getPlacement, getScope, getType, hasAttribute, hasComponent, hasEndpoint, id, label, label, operationType, order, placement, removeAttribute, removeComponent, removeEndpoint, scope, self, setAttributes, setComponents, setEndpoints, setId, setLabel, setOperationType, setOrder, setPlacement, setScope, setType, type
compareTo
default A mapInheritedValue(Mapping<?>... mappingsToAdd)
// maps the parent form's "id" to the "productId" field in the create form action.mapInheritedValue(Mappings.mapValue("id", "productId");
mappingsToAdd
- the mappings to adddefault A mapInheritedValues(Collection<Mapping<?>> mappingsToAdd)
mappingsToAdd
- the mappings to addfor more details
Copyright © 2021. All rights reserved.