mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
First cut of dialog/wizard framework needed to convert remaining pages in web client
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -224,6 +224,35 @@ public final class WizardManager
|
||||
return title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the resolved subtitle to use for the wizard
|
||||
*
|
||||
* @return The subtitle
|
||||
*/
|
||||
public String getSubTitle()
|
||||
{
|
||||
// try and get the title directly from the wizard
|
||||
String subTitle = this.currentWizardState.getWizard().getContainerSubTitle();
|
||||
|
||||
if (subTitle == null)
|
||||
{
|
||||
// try and get the title via a message bundle key
|
||||
subTitle = this.currentWizardState.getConfig().getSubTitleId();
|
||||
|
||||
if (subTitle != null)
|
||||
{
|
||||
subTitle = Application.getMessage(FacesContext.getCurrentInstance(), subTitle);
|
||||
}
|
||||
else
|
||||
{
|
||||
// try and get the title from the configuration
|
||||
subTitle = this.currentWizardState.getConfig().getSubTitle();
|
||||
}
|
||||
}
|
||||
|
||||
return subTitle;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the resolved description to use for the wizard
|
||||
*
|
||||
|
Reference in New Issue
Block a user