|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.wcm.FormTemplatesDialog
public class FormTemplatesDialog
Backing bean for the Website Project Form Templates dialog. Launched from the Select Templates button on the Define Web Content Forms page.
Field Summary | |
---|---|
protected CreateWebsiteWizard |
websiteWizard
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
FormTemplatesDialog()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CreateWebsiteWizard websiteWizard
Constructor Detail |
---|
public FormTemplatesDialog()
Method Detail |
---|
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)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogBaseDialogBean.init(java.util.Map)
public java.lang.String getContainerDescription()
IDialogBean
If this returns null the DialogManager will lookup the description via the dialog configuration
getContainerDescription
in interface IDialogBean
getContainerDescription
in class BaseDialogBean
public 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
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
BaseDialogBean.getFinishButtonDisabled()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |