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

public java.lang.String getName()

Method returning a unique identifier of the injector

getInjectUrlPatterns

public java.lang.String[] getInjectUrlPatterns()

getHtml

public java.lang.String getHtml(HttpServletRequest request)

Method returning the HTML to inject into the page footer

isIncludeForAjaxThemePageSwitching

public 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