The Apache Rave development team is striving to build rave-portal as a widget-agnostic mash-up engine. This means that a new widget provider can be added to Apache Rave with a few simple steps.
1) Get Apache Rave¶
There are multiple ways to build your custom Apache Rave instance, but the simplest is to use a Maven WAR overlay. See Extending Rave for an example overlay.
2) Define a custom web application context¶
3) Add a widget renderer¶
Add an implementation of org.apache.rave.portal.web.renderer.RegionWidgetRenderer to your custom application context. This renderer will get called during the page render process at the point in the page where the HTML markup for the widget is to be output. If your provider needs to add a script block to the render process, you can autowire in a reference to the ScriptManager.
4) Add a widget provider js file¶