In IBM WebSphere Portal we expose many extension points, which can be used to add custom capabilities to your system. These extension points are typically eclipse style plugins that you write in java and deploy onto the server. This can sometime make it hard to quickly iterate on the functionality of a plugin as issues surrounding downtime and deployment act as a distraction.

This sample includes a set of pre-built plugins of our most common extension points packaged in an enterprise application that can be deployed onto your portal server.

These plugins will look inside of the running WCM for specially named authoring templates and the content created from those templates to provide the logic that is run when the plugin is invoked. This is achieved by leverating JavaScript engine Rhino that is available on WebSphere.

This sample includes the base implementation of the scriptable plugins, and a sample library that you can import and see examples of how this works. This sample also leverages CodeMirror to provide a basic javascript editor within WCM. With this sample you will be able to create new rendering plugins, workflow actions and item validators. In the case of the rendering plugin you can create them within the scope of a project and use them with your other project items.