mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3925 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3965 . git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -535,6 +535,9 @@ public class BrowseBean implements IContextListener
|
||||
// push the view mode into the lists
|
||||
setBrowseViewMode(viewMode);
|
||||
|
||||
// setup dispatch context for custom views
|
||||
this.navigator.setupDispatchContext(this.navigator.getCurrentNode());
|
||||
|
||||
navigateBrowseScreen();
|
||||
}
|
||||
else
|
||||
@@ -666,7 +669,7 @@ public class BrowseBean implements IContextListener
|
||||
catch (InvalidNodeRefException refErr)
|
||||
{
|
||||
Utils.addErrorMessage(MessageFormat.format(Application.getMessage(
|
||||
FacesContext.getCurrentInstance(), Repository.ERROR_NODEREF), new Object[] {refErr.getNodeRef()}) );
|
||||
FacesContext.getCurrentInstance(), Repository.ERROR_NODEREF), new Object[] {refErr.getNodeRef()}), refErr );
|
||||
this.containerNodes = Collections.<Node>emptyList();
|
||||
this.contentNodes = Collections.<Node>emptyList();
|
||||
try { if (tx != null) {tx.rollback();} } catch (Exception tex) {}
|
||||
@@ -840,7 +843,7 @@ public class BrowseBean implements IContextListener
|
||||
catch (InvalidNodeRefException refErr)
|
||||
{
|
||||
Utils.addErrorMessage(MessageFormat.format(Application.getMessage(
|
||||
FacesContext.getCurrentInstance(), Repository.ERROR_NODEREF), new Object[] {refErr.getNodeRef()}) );
|
||||
FacesContext.getCurrentInstance(), Repository.ERROR_NODEREF), new Object[] {refErr.getNodeRef()}), refErr );
|
||||
this.containerNodes = Collections.<Node>emptyList();
|
||||
this.contentNodes = Collections.<Node>emptyList();
|
||||
try { if (tx != null) {tx.rollback();} } catch (Exception tex) {}
|
||||
|
Reference in New Issue
Block a user