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,



