Book Image

Alfresco 3 Web Content Management

Book Image

Alfresco 3 Web Content Management

Overview of this book

Alfresco provides a robust, easy to use, and scalable web content framework for managing multiple websites leveraging a common web infrastructure. If you are interested in configuring and building a new website quickly, determined to create a scalable infrastructure to stage multiple websites, and want to secure and control the content being pushed to external applications, then you have reached the right place.This book will guide you through creating, managing and publishing web content in staging, test and production environments. It will help you set up an infrastructure for supporting multiple websites using Alfresco, enabling a shortened web development cycle, and providing high return on investment and low cost of ownership.This book will take you from the basics of publishing style CMS – such as web forms, page templates, and staging – to the skills that will make you an Alfresco developer, covering advanced topics such as workflow, web services integration, and more. You will learn the various options used to install Alfresco including File System Deployment receivers on target production servers. You will also learn to configure a single instance of Alfresco to serve multiple web projects. Focus is given to reuse assets such as images, forms, and workflows across multiple web projects.It will introduce you to advanced concepts of separating the web content from presentation. The entire process of creating web content, getting it approved and published to a staging environment needs a robust workflow process. You will learn and have extensive hands-on experience with the examples given in the book to create a flexible workflow. You will learn about Alfresco Web Editor, a new feature released with the latest version of Alfresco 3.3. You will learn to configure Web Editor for in-context editing of web pages. You will be able to try out various integration options using Alfresco’s RESTful web services framework. By the end of the book, you will be able to set up an extensible enterprise web content management system for your company and customers.
Table of Contents (18 chapters)
Alfresco 3 Web Content Management
Credits
About the Authors
Acknowledgement
About the Reviewers
Preface

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. 1. Create a Java file CustomWorkflowStatusBean in the package com.book.web.bean.wcm and paste the downloaded code from the Packt website.

  2. 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>
    </managed-property>
    <managed-property>
    <property-name>serviceRegistry</property-name>
    <value>#{ServiceRegistry...