Change suite UI event topic base
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 6 Aug 2022 07:38:41 +0000 (09:38 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 6 Aug 2022 07:38:41 +0000 (09:38 +0200)
org.argeo.app.ui/src/org/argeo/app/ui/SuiteEvent.java

index d61d84e3a9db4de986bb7a3aeb6ff0adee9a7d3e..b4082322339c05db06a064e7849ee7173a196843 100644 (file)
@@ -27,7 +27,7 @@ public enum SuiteEvent implements CmsEvent {
        public final static String WORKSPACE = "workspace";
 
        public String getTopicBase() {
-               return "argeo/suite/ui";
+               return "argeo.suite.ui";
        }
 
        public static Map<String, Object> eventProperties(Content content) {
@@ -39,7 +39,7 @@ public enum SuiteEvent implements CmsEvent {
        @Deprecated
        public static Map<String, Object> eventProperties(Node node) {
                Map<String, Object> properties = new HashMap<>();
-               String contentPath = '/'+ Jcr.getWorkspaceName(node)+ Jcr.getPath(node);
+               String contentPath = '/' + Jcr.getWorkspaceName(node) + Jcr.getPath(node);
                properties.put(CONTENT_PATH, contentPath);
 //             properties.put(NODE_PATH, Jcr.getPath(node));
 //             properties.put(WORKSPACE, Jcr.getWorkspaceName(node));