wiki:PluginElement

<plugin>

The <plugin> element allows to plug-in custom screen elements into the MOLGENIS user interface next to the auto-generated <form> and <menu> elements. The implementation of how to add your own logic to the plug-in is described in the MolgenisPluginGuide?.

Example usage:

<plugin name="myplugin" type="package.path.ClassName"/>

When running the generator, a Java class for logic is automatically created, as well as a FreemarkerTemplate? file for layout'. Its location and name is denoted by 'type' (and if it already exists this step is skipped).

Required attributes

  • name="name": globally unique name for this entity (within this blueprint).
  • type=”package.path.ClassName?”: reference to a java class in the ‘handwritten/java’ folder. Note: if this class doesn’t exist than it will be automatically generated.

Optional attributes

  • label="Nice screen name": an user-friendly alias to show as form header (default: copied from name).

No Child elements