The __[HelloWorldPlugin]__ (or just "HelloWorld" in use) is a [NeWikiPlugin] that provides a bit more than a minimal 'Hello World' plugin, providing a core set of features (such as parameter handling and authentication checking) as a demo and beginning point for plugin development. !! Parameters * __debug__ = '' 'true' '' | '' 'false' ''. When true, displays debugging level information. Defaults to false. * __text__ = '' 'content' ''. An optional parameter to provide alternate "Hello World" text to the plugin. No external dependencies (other than JSPWiki). See also: [RestrictedHelloWorldPlugin] ---- ! Tests (NOTE: these tests may fail if the plugin has not been installed.) {{{ [{HelloWorld}] }}} [{HelloWorld}] {{{ [{HelloWorld debug='true' text='Bonjour tout le monde!' this content is in the body. }] }}} [{HelloWorld debug='true' text='Bonjour tout le monde!' this content is in the body. }] ---- ! Notes * Note that plugin invocation occurs more than once per page view, as plugins get parsed and invoked during permission checks and other calls for the page's HTML content. This in itself isn't a problem, but you should know that the plugin's execute() method gets called multiple times per page view, which whatever impact that may have. * The plugin body is returned as a null unless it is separated from the first (parameter) line by at least one line of whitespace. This is a bug I thought fixed; apparently not. ---- [{Tag NeWikiPlugin}]