Addition Plugin Example(blojsom 3.0)
Addition Plugin This plugin will add two request parameters together and place their sum in the context. Coding the Plugin The following {{AdditionPlugin.java}} file should be placed in a package called {{org.blojsom.plugin.example}} and compiled. package org.blojsom.plugin.example; import org.blojsom.plugin.Plugin; import org.blojsom.plugin.PluginException; import org.blojsom.blog.Blog ... Other labels:
plugin, addition
Hello World Plugin Example(blojsom 3.0)
Hello World Plugin This plugin will add the string, "Hello world", to the context so that you can print out that string in your templates. Coding the Plugin The following {{HelloWorldPlugin.java}} file should be placed in a package called {{org.blojsom.plugin.example}} and compiled. package org.blojsom.plugin.example ... Other labels:
plugin, hello_world