Source xml doc

From bemoko developer wiki

Jump to: navigation, search
element attribute values description
source name [a-zA-Z]+ Name for the plugin. This as the plugin is referred to in a template
  plugin [a-zA-Z\.]+ Plugin class name. This as the name of the plugin class without the extension, for example if you have a plugin called MyPlugin.groovy defined in the plugins folder, then you would refer to it as MyPlugin. If you have a plugin called MyPlugin.groovy defined in the plugins/mypackage folder then you would refer to it here as mypackage.MyPlugin. If you do not specify a name then the plugin attribute value is the name by which the plugin is made available in the templates.
  scope request (default), session or site Scope that the plugin is stored at. Request scoped plugins are created new for each request, session scoped plugins are created once and reused for a given users sessions, site scoped plugins are created once for the site and reused for all users
  expr expression When the expression is true the plugin will be available for the given request
      more