mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixes for ALFCOM-2313, ETHREEOH-1006, ALFCOM-2302, ETHREEOH-1023, ETWOTWO-1069
- correct enable/disable of OK button for applying Templates and RSS feeds to spaces and documents - clean up of related bean and JSP pages - conversion to JSF components from horrid verbatim tag based dialogs git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,15 +41,14 @@ import org.alfresco.web.ui.common.Utils;
|
||||
|
||||
public class ApplySpaceTemplateDialog extends BaseDialogBean
|
||||
{
|
||||
|
||||
private static final long serialVersionUID = -3019234033026890265L;
|
||||
|
||||
protected String template;
|
||||
|
||||
|
||||
private static final String DIALOG_CLOSE = "dialog:close";
|
||||
|
||||
private static final String MSG_APPLY_TEMPLATE = "apply_template";
|
||||
|
||||
|
||||
protected String template;
|
||||
|
||||
|
||||
@Override
|
||||
protected String finishImpl(FacesContext context, String outcome) throws Exception
|
||||
{
|
||||
@@ -57,11 +56,6 @@ public class ApplySpaceTemplateDialog extends BaseDialogBean
|
||||
return DIALOG_CLOSE;
|
||||
}
|
||||
|
||||
public boolean getFinishButtonDisabled()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getContainerTitle()
|
||||
{
|
||||
return Application.getMessage(FacesContext.getCurrentInstance(), MSG_APPLY_TEMPLATE) + " '" + getNode().getName() + "'";
|
||||
@@ -112,4 +106,4 @@ public class ApplySpaceTemplateDialog extends BaseDialogBean
|
||||
{
|
||||
this.template = template;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user