Class CustomFormListPopupInputBuilder
public class CustomFormListPopupInputBuilder
extends AbstractInputBuilder<CustomFormListPopupInputBuilder,Object>
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractInputBuilder
AbstractInputBuilder.InputWidth
-
Field Summary
Fields inherited from class AbstractInputBuilder
builderContext, cp
-
Constructor Summary
ConstructorDescriptionCustomFormListPopupInputBuilder
(InputBuilderContext builderContext, String paramName, String typedId) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
withRecalculateParentOnPopupConfirm
(boolean value) Recalculates the parent document when a user confirms the pop-up dialog.withSubsetFilter
(Filter filter) Allows you to set a filter criteria to filter Custom Forms that will be visible in the pop-up modal.Methods inherited from class AbstractInputBuilder
addOrUpdateInput, addToConfiguratorEntry, addToConfiguratorEntry, buildContextParameter, buildMap, getInput, self, setAccessCode, setAlign, setAllValueTypesTracking, setAlwaysEditable, setAppearance, setAutoComplete, setAutoFocus, setCaption, setConfigValues, setCustomAttributeName, setCustomAttributeValue, setDefaultValueTracking, setDefaultWidth, setDisabled, setDisplayMode, setErrorMessage, setExportable, setFirstRunTracking, setFlex, setHelpLink, setHelpText, setIcon, setIconPosition, setImportable, setLabel, setLabelPlacement, setLabelStyle, setLabelTranslations, setLayoutGridName, setNoRefresh, setParameterGroup, setPlaceholderText, setPreviousValueTracking, setReadOnly, setRequired, setShowInline, setSize, setSuccessMessage, setTheme, setTitle, setTrackedValue, setUserGroupEdit, setUserGroupEdit, setUserGroupView, setValue, setValueChangeTracking, setValueHint, setWarningMessage, setWidth
-
Constructor Details
-
CustomFormListPopupInputBuilder
public CustomFormListPopupInputBuilder(InputBuilderContext builderContext, String paramName, String typedId)
-
-
Method Details
-
_getInput
- Specified by:
_getInput
in classAbstractInputBuilder<CustomFormListPopupInputBuilder,
Object>
-
withSubsetFilter
Allows you to set a filter criteria to filter Custom Forms that will be visible in the pop-up modal.Example – displays only the Custom Form with the CFO-123 uniqueName:
if (api.isInputGenerationExecution()) { return api.inputBuilderFactory() .createCustomFormListPopup("customFormPopup", "123.CFOT") .setLabel("Select a Custom Form") .withSubsetFilter(Filter.equal("uniqueName", "CFO-123")) .getInput() } else { input.customFormPopup }
- Parameters:
filter
- A filter setting usingFilter
.- Returns:
- CustomFormListPopupInputBuilder
- Since:
- 12.0 - Clover Club
-
withRecalculateParentOnPopupConfirm
Recalculates the parent document when a user confirms the pop-up dialog.Example:
if (api.isInputGenerationExecution()) { return api.inputBuilderFactory() .createCustomFormListPopup("customFormPopup", "123.CFOT") .setLabel("Select a Custom Form") .withRecalculateParentOnPopupConfirm(true) .getInput() } else { input.customFormPopup }
- Parameters:
value
- Set totrue
to recalculate the parent document when a user confirms the pop-up dialog. Default=false
.- Returns:
- Since:
- 12.0 - Clover Club
-