public interface FormData
FormField
Modifier and Type | Method and Description |
---|---|
FormField<?> |
get(Language language,
String fieldName)
Provides a property container describing the field with the given name.
|
GomEditorProvider |
getForm()
Provides the form definition.
|
@ApiDoc(comment="Provides the form definition.", since="4.2.404") @NotNull GomEditorProvider getForm()
@ApiDoc(comment="Provides a property container describing the field with the given name.", since="4.2.404") @NotNull FormField<?> get(@Nullable Language language, String fieldName) throws NoSuchFormFieldException
Use getForm()
.appendEditorNames(null)
to get a list of valid field names. For language indepent fields (GomFormElement#usesLanguages()
delivers false) one could supply null
for the parameter language.
language
- The language to get the property for or null
for language independent fields.fieldName
- The name of the field to look up.NoSuchFormFieldException
- If there is no entry for the given name.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210