mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Added RSS Feed panel to Space Details page
- Selectable template for RSS feed for a folder - RSS feed link for drag/drop into RSS reader . Added new folder "RSS Templates" in Data Dictionary in bootstrap . Example RSS Template for new folder (docs in last 7 days) . Created patch to add above folder+example to current schema . Added 'app:feedsource' aspect to application data model . Cleaned up some obsolete code in Apply/Remove Template actions . Simplified Apply/Remove Template dialog navigation to use dialog framework git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -256,7 +256,7 @@ public abstract class BaseDetailsBean
|
||||
/**
|
||||
* Action handler to apply the selected Template and Templatable aspect to the current Space
|
||||
*/
|
||||
public String applyTemplate()
|
||||
public void applyTemplate(ActionEvent event)
|
||||
{
|
||||
if (this.template != null && this.template.equals(TemplateSupportBean.NO_SELECTION) == false)
|
||||
{
|
||||
@@ -283,13 +283,12 @@ public abstract class BaseDetailsBean
|
||||
FacesContext.getCurrentInstance(), Repository.ERROR_GENERIC), e.getMessage()), e);
|
||||
}
|
||||
}
|
||||
return getReturnOutcome();
|
||||
}
|
||||
|
||||
/**
|
||||
* Action handler to remove a dashboard template from the current Space
|
||||
*/
|
||||
public String removeTemplate()
|
||||
public void removeTemplate(ActionEvent event)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -305,14 +304,8 @@ public abstract class BaseDetailsBean
|
||||
Utils.addErrorMessage(MessageFormat.format(Application.getMessage(
|
||||
FacesContext.getCurrentInstance(), Repository.ERROR_GENERIC), e.getMessage()), e);
|
||||
}
|
||||
return getReturnOutcome();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return return to details page JSF navigation outcome
|
||||
*/
|
||||
protected abstract String getReturnOutcome();
|
||||
|
||||
/**
|
||||
* Action Handler to take Ownership of the current Space
|
||||
*/
|
||||
|
Reference in New Issue
Block a user