With the recently-released IBM Script Portlet for WebSphere Portal, you can use JavaScript/HTML/CSS to create new portlets without deploying code on the server. You can take an existing script application, copy/paste into the Script Portlet Editor, and have a fully-functional portlet in minutes. Applications are stored as WCM content, so you have the features of WCM project management available such as projects, workflow approval, and versioning.

This package of samples illustrates some of the techniques that are available when building these Script Portlets, including:

  • Using popular JS libraries such as jQuery, jQuery Datatables, and jQPlot
  • Using the AngularJS framework and Bootstrap for styling
  • Inter-portlet communication using jQuery eventing
  • Setting and retrieving Public Render Parameters
  • Accessing WCM content libraries from JS code
  • Launching a Script Portlet in a popup window from JS code
  • Setting and retrieving portlet preference data

See the attached documentation for details on using the samples.