Package de.xima.fc.plugin.template
Interface IHtmlTemplateRenderPluginCallback
-
public interface IHtmlTemplateRenderPluginCallback
Callback that allows theHTML
template
render process to be customized. Consists of a set of callbacks that are invoked at certain stages of the HTML template render lifecycle. More callback methods may be added later as required.Can be used, for example, to append dynamic script data to templates. For static script and stylesheet resources, use
IPluginFormResources
withincludeInTemplate
, so resources can be linked and cached properly.- Since:
- 8.3.7
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default IPluginHtmlTemplateRenderCallbackOnAfterRenderRetVal
onAfterRenderTemplate(IPluginHtmlTemplateRenderCallbackOnAfterRenderParams params)
Invoked at the end, after an HTML template was rendered.
-
-
-
Method Detail
-
onAfterRenderTemplate
@CanIgnoreReturnValue default IPluginHtmlTemplateRenderCallbackOnAfterRenderRetVal onAfterRenderTemplate(IPluginHtmlTemplateRenderCallbackOnAfterRenderParams params)
Invoked at the end, after an HTML template was rendered.- Parameters:
params
- Parameters for the callback.- Returns:
- Return value of the callback. May be
null
. - Throws:
RuntimeException
- Any exceptions are caught, logged, and ignored otherwise.
-
-