public interface IPluginFormReplacer extends IFCPlugin
CmnConst.PH_PATTERN_FORMS
:
[%PLACEHOLDER_NAME%]Please note that placeholder plugins are run before the built-in form value placeholder replacer. As such, when a form placeholder was already processed and replaced by a plugin, the built-in placeholder will not be applied anymore. Also, when multiple form placeholder replacer plugins are installed, there are not guarantees made regarding the order in which the replacer plugins are applied.
CONFIG_FILENAME
ATTR_NAME, COL_NAME
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
IPluginFormReplacerRetVal |
replace(IPluginFormReplacerParams params)
This is the main method of this plugin that should perform the placeholder replacement.
|
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
IPluginFormReplacerRetVal replace(IPluginFormReplacerParams params) throws FCPluginException
When any exception other than FCPluginException
is thrown, the current process is aborted. For example,
when the form is submitted and the workflow is run, this would result in an internal server error and a generic
error HTML reponse page.
params
- The parameters this plugin may make use of, such as the placeholder to be replaced and the current
form data.IPluginGenericReplacerParams.getPlaceholderContent()
.FCPluginException
- May be thrown when this plugin cannot perform the replacement. When an error is thrown,
the placeholder is not replaced and may be replaced by another plugin.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.