The expense-report widget, that is delivered as a part of the Project WebSynergy bundle, models a typical workflow scenario  where SAW (Simple API for Workflow) could be used. In an organization, employees raise expense reports and submit them to the managers to be approved or rejected. Once submitted, the report triggers a workflow process(in a workflow engine like JavaCAPS), and becomes a pending task for the associated manager. When the manager approves/rejects the report, the report goes to the next step in the workflow process.

This widget has been integrated with a simple JavaCAPS workflow process. If a workflow engine is unavailable, the SAW calls to the  Workflow engine can be disabled using the preferences. If the call to the workflow engine is enabled without configuring the engine, it results in a system error.

 In addition to Workflow, this widget has the following features: 

  •  JMaki - Uses JMaki Yahoo Datatable
  •  Usage of ServeResource feature of JSR286 portlets for Ajax requests (For Displaying Report Details)

Click here to know more about this widget....

Here is a step-by-step screencast showcasing the widget.

Thanks goes out to all that were able to attend last night's JavaOne BOF, "Dynamic Portals and Ajax in Portlets".  There was lots of good open discussion about the challenges and successes of implementing new dynamic portals with AJAX.  The slides are available here.  Below is a list of resources URLs for some of the topics we discussed.  Check back here and at GregZ's blog for new developments regarding AJAX in portals and portlets.
JavaOne 2007 is only a week away.  This year, members of the portal team will be presenting the Birds Of a Feather (BOF) talk "Dynamic Portals and AJAX in Portlets". If you are interested in learning more and want to meet others with similar interests, please consider attending. We will be discussing:
  • the impact of Web 2.0 technologies on portals
  • AJAX and JSR-168
  • jMaki
  • JSR-286
  • dynamic inter-portlet communication
  • microformats, COMET, mashups, and more...
Hope to see you there.