Book Image

Alfresco Developer Guide

Book Image

Alfresco Developer Guide

Overview of this book

Table of Contents (17 chapters)
Alfresco Developer Guide
Credits
About the Author
About the Reviewers
Preface
Index

Creating Custom Wizards


Sometimes a single dialog isn't enough. There might be several logical steps that need to be used to gather information from a web client user, rather than presenting a huge form to gather everything at once. Or, steps might be conditional. There might be two different sets of data that need to be gathered based on choices made in prior steps. A wizard is very similar to a dialog, except that it spans multiple pages or steps. (In fact, both dialogs and wizards ultimately extend the same bean, org.alfresco.web.bean.dialog.BaseDialogBean.)

You're probably already used to the wizard concept from using the web client. Out of the box examples include the Add Content, Create Content, and Invite Space/Content Users wizards.

SomeCo has a requirement that can be addressed with a custom wizard. SomeCo's Human Resources department wants to use Alfresco to help streamline their recruiting process. Beyond just storing resumes in the repository, SomeCo wants to make it easier to...