Alfresco Webscripts are really easy to code and can help to do many things (but not the coffee yet). They can even be used to create new dialogs in Alfresco, for example to show some custom informations. This post will explain how to setup a simple mechanism to help creating Alfresco dialogs based on webscript with only an action configuration.

The steps are the following:

  1. Create a generic dialog configured in web-client-config-custom.xml
  2. Create the Webscript to display in the dialog
  3. Create the action configuration to display the dialog with the webscript

In this post, I will assume that you already have a webscript to show and that you are already quite used to Alfresco extensions developement: these could be topics for some other posts and are well explained on Alfresco Wiki.