/
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.