There is a wizard framework in place to handle creating an Appeal case with a list of Appealable Objects. Using this framework allows the developer to avoid any compile dependency on the Appeals component. To use this framework the following tasks need to be performed:
- Implement the AppealableCaseType interface for the parent case type. e.g. For a Determination the parent case type would be Product Delivery.
- Create the first wizard page which presents a list of objects on the case to be appealed (e.g. a list of active Determinations). This page needs to pass a delimited list of objects to the predefined second wizard screen (Appeal_createWizard). The format of the delimited list is:
e.g: "1001,AOT1|2001,AOT2|2002,AOT2|"
Usually a MULTISELECT list will be used on the client page, so a façade helper class will be required to convert from the multiselect to this delimited format.
A façade method will be also be required to return the wizard properties file.
- Create the wizard properties file, defining the following details
Number.Wizard.Pages=2
{FirstWizardPage}.Wizard.Item.Text= Select {ObjectType}
{FirstWizardPage}.Wizard.Page.Title=Step 1:
{FirstWizardPage}.Wizard.Page.Desc=Select {ObjectType}
Wizard.PageID.1={FirstWizardPage}
Appeal_createWizard.Wizard.Item.Text=Record Appeal Details
Appeal_createWizard.Wizard.Page.Title=Step 2:
Appeal_createWizard.Wizard.Page.Desc=Record Appeal Details
Wizard.PageID.2=Appeal_createWizard
Where {FirstWizardPage} is the name of a client page created in the previous step and {ObjectType} is the name of the object.