O'Reilly logo

Alfresco 3 Web Content Management by Vinita Choudhary, Pallika Majmudar, Amita Bhandari, Munwar Shariff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Workflow Viewer

Suppose you want to see list of pending workflows. We can create a dashlet that will list down all the pending workflows for Groups (the same way you can also create for users). The list is quite useful for administrators.

Follow the steps to create dashlets:

  1. Create a Java file CustomWorkflowStatusBean in the package com.book.web.bean.wcm and paste the downloaded code from the Packt website.
  2. Add the following code in the faces-config-custom.xml file:
    <managed-bean> <managed-bean-name>CustomWorkflowStatusBean</managed-bean-name> <managed-bean-class> com.book.web.bean.wcm.CustomWorkflowStatusBean </managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>navigationBean</property-name> <value>#{NavigationBean}</value> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required