/
Invocation
Invocation
The IPlugin interface
When you are in a JSP that belongs to a Plugin, an object set in the request attributes implementing the com.noheto.plugins.IPlugin interface is available with the key plugin.
With this object, you can retrieve plugin informations such as name, version…
There are many methods, we’ll highlight the most useful :
${plugin.parameters[parameter_name].value} : Getting a parameter value
getPagePath will return path part containing page directory name and trailing '/'
getResourcePath : will return path part containing res directory and trailing '/'. Images, javascript resources, CSS and other static resources can be embedded in a plugin in the res directory.
invoke : this method is used to invoke static methods from objects.
, multiple selections available,
Related content
Using Third Party Libraries
Using Third Party Libraries
More like this
Pages JSP
Pages JSP
More like this
Internationalization
Internationalization
More like this
Creating Plugins
Creating Plugins
More like this
Creating a new Rest API custom endpoint
Creating a new Rest API custom endpoint
More like this