Usages

This is a new feature in Joget DX 8.2.

A plugin that injects HTML into the page footer based on URL Patterns.

Common use cases:

Interface Class

org.joget.plugin.base.UiHtmlInjectorPlugin

Interface Methods

getName()

String getName()

Method returning a unique identifier of the injector

getInjectUrlPatterns()

String[] getInjectUrlPatterns()

getHtml(HttpServletRequest request)

String getHtml(HttpServletRequest request)

Method returning the HTML to inject into the page footer

isIncludeForAjaxThemePageSwitching()

boolean isIncludeForAjaxThemePageSwitching()

A flag to tell if the HTML needs to be re-injected when the AJAX theme page is switched.

Abstract Class

org.joget.apps.app.model.UiHtmlInjectorPluginAbstract

Sample Plugins