public class FormTemplatesDialog extends BaseDialogBean
| Modifier and Type | Field and Description |
|---|---|
protected CreateWebsiteWizard |
websiteWizard |
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
FormTemplatesDialog() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTemplate(javax.faces.event.ActionEvent event)
Action handler to add a template to the list for this form
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard.
|
CreateWebsiteWizard.FormWrapper |
getActionForm() |
protected org.alfresco.service.cmr.avm.AVMService |
getAvmService() |
java.lang.String |
getContainerDescription()
Returns the description to be used for the dialog
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
javax.faces.model.DataModel |
getTemplatesDataModel() |
java.util.List |
getTemplatesList() |
void |
init(java.util.Map parameters)
Initialises the dialog bean
|
void |
removeTemplate(javax.faces.event.ActionEvent event)
Remove a presentation template from the selected list
|
void |
setAvmService(org.alfresco.service.cmr.avm.AVMService avmService) |
void |
setCreateWebsiteWizard(CreateWebsiteWizard wizard) |
void |
setTemplatesDataModel(javax.faces.model.DataModel templatesDataModel) |
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchServiceprotected CreateWebsiteWizard websiteWizard
public void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
avmService - The avmService to set.protected org.alfresco.service.cmr.avm.AVMService getAvmService()
public void setCreateWebsiteWizard(CreateWebsiteWizard wizard)
wizard - The Create Website Wizard to set.public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogBaseDialogBean.init(java.util.Map)public java.lang.String getContainerDescription()
IDialogBeanIf this returns null the DialogManager will lookup the description via the dialog configuration
getContainerDescription in interface IDialogBeangetContainerDescription in class BaseDialogBeanpublic CreateWebsiteWizard.FormWrapper getActionForm()
public javax.faces.model.DataModel getTemplatesDataModel()
public void setTemplatesDataModel(javax.faces.model.DataModel templatesDataModel)
templatesDataModel - JSF data model wrapping the templatespublic java.util.List getTemplatesList()
public void addTemplate(javax.faces.event.ActionEvent event)
public void removeTemplate(javax.faces.event.ActionEvent event)
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.ExceptionBaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)public boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanBaseDialogBean.getFinishButtonDisabled()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.