Commit 7b4dd7f8 authored by Arent-Jan Banck's avatar Arent-Jan Banck

HSTTWO-4158 Merge branch 'master' into feature/projectdocs

parents 83386065 3497f0b5
......@@ -66,7 +66,9 @@ public class AbstractFullRequestCycleTest {
@Before
public void setUp() throws Exception {
componentManager = new SpringComponentManager(new PropertiesConfiguration());
final PropertiesConfiguration configuration = new PropertiesConfiguration();
configuration.setProperty("hst.configuration.rootPath", "/hst:hst");
componentManager = new SpringComponentManager(configuration);
componentManager.setConfigurationResources(getConfigurations());
servletContext.setContextPath("/site");
......
......@@ -113,7 +113,7 @@ public class HstManageContentTag extends TagSupport {
log.debug("The node path for the manage content tag is '{}'", handleNode.getPath());
documentId = handleNode.getIdentifier();
} catch (RepositoryException e) {
log.warn("Error while retrieving the hippoBean handle of '{}', skipping manage content tag",
log.warn("Error while retrieving the handle of '{}', skipping manage content tag",
JcrUtils.getNodePathQuietly(hippoBean.getNode()), e);
return EVAL_PAGE;
}
......@@ -245,18 +245,18 @@ public class HstManageContentTag extends TagSupport {
writeToMap(result, "parameterName", parameterName);
if (parameterName != null) {
writeToMap(result, "componentParameterIsRelativePath", Boolean.toString(isRelativePathParameter));
writeToMap(result, "componentValue", componentValue);
writeToMap(result, "parameterValueIsRelativePath", Boolean.toString(isRelativePathParameter));
writeToMap(result, "parameterValue", componentValue);
}
if (jcrPath != null) {
writeToMap(result, "componentPickerConfiguration", jcrPath.pickerConfiguration());
writeToMap(result, "componentPickerInitialPath", jcrPath.pickerInitialPath());
writeToMap(result, "componentPickerRemembersLastVisited", Boolean.toString(jcrPath.pickerRemembersLastVisited()));
writeToMap(result, "componentPickerRootPath", jcrPath.pickerRootPath());
writeToMap(result, "pickerConfiguration", jcrPath.pickerConfiguration());
writeToMap(result, "pickerInitialPath", jcrPath.pickerInitialPath());
writeToMap(result, "pickerRemembersLastVisited", Boolean.toString(jcrPath.pickerRemembersLastVisited()));
writeToMap(result, "pickerRootPath", jcrPath.pickerRootPath());
final String nodeTypes = Arrays.stream(jcrPath.pickerSelectableNodeTypes()).collect(Collectors.joining(","));
writeToMap(result, "componentPickerSelectableNodeTypes", nodeTypes);
writeToMap(result, "pickerSelectableNodeTypes", nodeTypes);
}
return result;
......
......@@ -226,7 +226,7 @@ public class HstManageContentTagTest {
}
@Test
public void componentParameterWithAbsoluteJcrPath() throws Exception {
public void parameterWithAbsoluteJcrPath() throws Exception {
tag.setTemplateQuery("new-document");
tag.setParameterName("absPath");
......@@ -236,14 +236,14 @@ public class HstManageContentTagTest {
+ "\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"templateQuery\":\"new-document\","
+ "\"parameterName\":\"absPath\","
+ "\"componentParameterIsRelativePath\":\"false\","
+ "\"componentPickerConfiguration\":\"cms-pickers/documents\","
+ "\"componentPickerRemembersLastVisited\":\"true\""
+ "\"parameterValueIsRelativePath\":\"false\","
+ "\"pickerConfiguration\":\"cms-pickers/documents\","
+ "\"pickerRemembersLastVisited\":\"true\""
+ "} -->"));
}
@Test
public void componentParameterWithRelativeJcrPath() throws Exception {
public void parameterWithRelativeJcrPath() throws Exception {
tag.setTemplateQuery("new-document");
tag.setParameterName("relPath");
......@@ -253,14 +253,14 @@ public class HstManageContentTagTest {
+ "\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"templateQuery\":\"new-document\","
+ "\"parameterName\":\"relPath\","
+ "\"componentParameterIsRelativePath\":\"true\","
+ "\"componentPickerConfiguration\":\"cms-pickers/documents\","
+ "\"componentPickerRemembersLastVisited\":\"true\""
+ "\"parameterValueIsRelativePath\":\"true\","
+ "\"pickerConfiguration\":\"cms-pickers/documents\","
+ "\"pickerRemembersLastVisited\":\"true\""
+ "} -->"));
}
@Test
public void componentParameterWithoutJcrPathIsAbsolute() throws Exception {
public void parameterWithoutJcrPathIsAbsolute() throws Exception {
tag.setTemplateQuery("new-document");
tag.setParameterName("string");
......@@ -270,7 +270,7 @@ public class HstManageContentTagTest {
+ "\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"templateQuery\":\"new-document\","
+ "\"parameterName\":\"string\","
+ "\"componentParameterIsRelativePath\":\"false\""
+ "\"parameterValueIsRelativePath\":\"false\""
+ "} -->"));
}
......@@ -293,7 +293,7 @@ public class HstManageContentTagTest {
}
@Test
public void componentParameterWithoutDocumentOrTemplateQuery() throws Exception {
public void parameterWithoutDocumentOrTemplateQuery() throws Exception {
tag.setParameterName("test");
tag.doEndTag();
......@@ -301,12 +301,12 @@ public class HstManageContentTagTest {
assertThat(response.getContentAsString(), is("<!-- "
+ "{\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"parameterName\":\"test\","
+ "\"componentParameterIsRelativePath\":\"false\""
+ "\"parameterValueIsRelativePath\":\"false\""
+ "} -->"));
}
@Test
public void componentValueAbsolutePath() throws Exception {
public void parameterValueAbsolutePath() throws Exception {
window.setParameter("absPath", "/absolute/path");
tag.setParameterName("absPath");
......@@ -324,15 +324,15 @@ public class HstManageContentTagTest {
+ "{\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"uuid\":\"" + handle.getIdentifier() + "\","
+ "\"parameterName\":\"absPath\","
+ "\"componentParameterIsRelativePath\":\"false\","
+ "\"componentValue\":\"/absolute/path\","
+ "\"componentPickerConfiguration\":\"cms-pickers/documents\","
+ "\"componentPickerRemembersLastVisited\":\"true\""
+ "\"parameterValueIsRelativePath\":\"false\","
+ "\"parameterValue\":\"/absolute/path\","
+ "\"pickerConfiguration\":\"cms-pickers/documents\","
+ "\"pickerRemembersLastVisited\":\"true\""
+ "} -->"));
}
@Test
public void componentValueRelativePath() throws Exception {
public void parameterValueRelativePath() throws Exception {
final ResolvedMount resolvedMount = createMock(ResolvedMount.class);
final Mount mount = createMock(Mount.class);
expect(resolvedMount.getMount()).andReturn(mount).anyTimes();
......@@ -357,15 +357,15 @@ public class HstManageContentTagTest {
+ "{\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"uuid\":\"" + handle.getIdentifier() + "\","
+ "\"parameterName\":\"relPath\","
+ "\"componentParameterIsRelativePath\":\"true\","
+ "\"componentValue\":\"/mount/path/relative/path\","
+ "\"componentPickerConfiguration\":\"cms-pickers/documents\","
+ "\"componentPickerRemembersLastVisited\":\"true\""
+ "\"parameterValueIsRelativePath\":\"true\","
+ "\"parameterValue\":\"/mount/path/relative/path\","
+ "\"pickerConfiguration\":\"cms-pickers/documents\","
+ "\"pickerRemembersLastVisited\":\"true\""
+ "} -->"));
}
@Test
public void prefixedComponentValue() throws Exception {
public void prefixedParameterValue() throws Exception {
final String prefixedParameterName = ConfigurationUtils.createPrefixedParameterName("prefix", "absPath");
window.setParameter(prefixedParameterName, "/absolute/path");
window.setAttribute(RENDER_VARIANT, "prefix");
......@@ -385,15 +385,15 @@ public class HstManageContentTagTest {
+ "{\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"uuid\":\"" + handle.getIdentifier() + "\","
+ "\"parameterName\":\"absPath\","
+ "\"componentParameterIsRelativePath\":\"false\","
+ "\"componentValue\":\"/absolute/path\","
+ "\"componentPickerConfiguration\":\"cms-pickers/documents\","
+ "\"componentPickerRemembersLastVisited\":\"true\""
+ "\"parameterValueIsRelativePath\":\"false\","
+ "\"parameterValue\":\"/absolute/path\","
+ "\"pickerConfiguration\":\"cms-pickers/documents\","
+ "\"pickerRemembersLastVisited\":\"true\""
+ "} -->"));
}
@Test
public void emptyPrefixComponentValue() throws Exception {
public void emptyPrefixParameterValue() throws Exception {
window.setParameter("absPath", "/absolute/path");
window.setAttribute(RENDER_VARIANT, "");
......@@ -412,15 +412,15 @@ public class HstManageContentTagTest {
+ "{\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"uuid\":\"" + handle.getIdentifier() + "\","
+ "\"parameterName\":\"absPath\","
+ "\"componentParameterIsRelativePath\":\"false\","
+ "\"componentValue\":\"/absolute/path\","
+ "\"componentPickerConfiguration\":\"cms-pickers/documents\","
+ "\"componentPickerRemembersLastVisited\":\"true\""
+ "\"parameterValueIsRelativePath\":\"false\","
+ "\"parameterValue\":\"/absolute/path\","
+ "\"pickerConfiguration\":\"cms-pickers/documents\","
+ "\"pickerRemembersLastVisited\":\"true\""
+ "} -->"));
}
@Test
public void componentPickerConfiguration() throws Exception {
public void pickerConfiguration() throws Exception {
tag.setParameterName("pickerPath");
assertThat(tag.doEndTag(), is(EVAL_PAGE));
......@@ -428,12 +428,12 @@ public class HstManageContentTagTest {
assertThat(response.getContentAsString(), is("<!-- {"
+ "\"HST-Type\":\"MANAGE_CONTENT_LINK\","
+ "\"parameterName\":\"pickerPath\","
+ "\"componentParameterIsRelativePath\":\"true\","
+ "\"componentPickerConfiguration\":\"picker-config\","
+ "\"componentPickerInitialPath\":\"initial-path\","
+ "\"componentPickerRemembersLastVisited\":\"false\","
+ "\"componentPickerRootPath\":\"root-path\","
+ "\"componentPickerSelectableNodeTypes\":\"node-type-1,node-type-2\""
+ "\"parameterValueIsRelativePath\":\"true\","
+ "\"pickerConfiguration\":\"picker-config\","
+ "\"pickerInitialPath\":\"initial-path\","
+ "\"pickerRemembersLastVisited\":\"false\","
+ "\"pickerRootPath\":\"root-path\","
+ "\"pickerSelectableNodeTypes\":\"node-type-1,node-type-2\""
+ "} -->"));
}
......@@ -470,7 +470,7 @@ public class HstManageContentTagTest {
+ "\"rootPath\":\"news/amsterdam\","
+ "\"defaultPath\":\"2018/09/23\","
+ "\"parameterName\":\"newsDocument\","
+ "\"componentParameterIsRelativePath\":\"false\""
+ "\"parameterValueIsRelativePath\":\"false\""
+ "} -->"));
}
......
......@@ -16,6 +16,6 @@
Cannot create a manage content button outside the hst request.
Could not find handle node of /
Error while retrieving the document handle of '/broken', skipping manage content tag
Error while retrieving the handle of '/broken', skipping manage content tag
Rootpath '/exists/not' does not exist. Parameters rootPath and defaultPath are ignored.
Rootpath '/not/a/folder' is not a folder node. Parameters rootPath and defaultPath are ignored.
\ No newline at end of file
Rootpath '/not/a/folder' is not a folder node. Parameters rootPath and defaultPath are ignored.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 Hippo B.V. (http://www.onehippo.com)
Copyright 2016-2018 Hippo B.V. (http://www.onehippo.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
......@@ -136,29 +136,6 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-cms-test</artifactId>
<version>${hippo.cms.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-cms-editor-repository</artifactId>
<version>${hippo.cms.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-cms-editor-repository</artifactId>
<version>${hippo.cms.version}</version>
<type>jar</type>
<classifier>tests</classifier>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-services-contenttype</artifactId>
......
......@@ -85,7 +85,7 @@ definitions:
/2013-harvest:
jcr:primaryType: hippo:handle
jcr:mixinTypes: ['mix:referenceable', 'hippo:named']
jcr:uuid: 30092f4e-2ef7-4c72-86a5-8ce895908937
jcr:uuid: f439bd7e-13f9-434c-b554-540440dfac22
hippo:name: 2013 harvest
/2013-harvest:
jcr:primaryType: myhippoproject:newsdocument
......@@ -195,7 +195,7 @@ definitions:
hippo:values: []
/2013-harvest:
jcr:primaryType: hippo:facetselect
hippo:docbase: 30092f4e-2ef7-4c72-86a5-8ce895908937
hippo:docbase: f439bd7e-13f9-434c-b554-540440dfac22
hippo:facets: []
hippo:modes: []
hippo:values: []
......
......@@ -10,7 +10,7 @@ definitions:
/test_document_unpublished:
jcr:primaryType: hippo:handle
jcr:mixinTypes: ['mix:referenceable']
jcr:uuid: a62a34ae-5f42-4482-a27a-7f39459ec8ee
jcr:uuid: fa679b1c-b9d9-4a6e-b921-a76fe7d715fe
/test_document_unpublished[1]:
jcr:primaryType: myhippoproject:TestDocumentType
jcr:mixinTypes: ['mix:referenceable']
......
definitions:
config:
/hippo:namespaces/myhippoproject/TestCompound:
jcr:primaryType: hipposysedit:templatetype
jcr:mixinTypes: ['editor:editable', 'mix:referenceable']
jcr:uuid: 70da4df1-9d49-431a-86a7-4f42f52c8a74
/hipposysedit:nodetype:
jcr:primaryType: hippo:handle
jcr:mixinTypes: ['mix:referenceable']
jcr:uuid: 047eada2-2dfe-4ec3-b990-c3eac1bcf1e0
/hipposysedit:nodetype:
jcr:primaryType: hipposysedit:nodetype
jcr:mixinTypes: ['mix:referenceable', 'hipposysedit:remodel']
jcr:uuid: 67e7a1da-bc7c-419d-bd55-1cbfbefa072a
hipposysedit:node: true
hipposysedit:supertype: ['hippo:compound', 'hippostd:relaxed']
hipposysedit:uri: http://www.onehippo.org/myhippoproject/nt/1.0
/optional_boolean_property:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:optional_boolean_property
hipposysedit:primary: false
hipposysedit:type: Boolean
hipposysedit:validators: [optional]
/optional_html_node:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:optional_html_node
hipposysedit:primary: false
hipposysedit:type: hippostd:html
hipposysedit:validators: [optional]
/hipposysedit:prototypes:
jcr:primaryType: hipposysedit:prototypeset
/hipposysedit:prototype:
jcr:primaryType: myhippoproject:TestCompound
myhippoproject:optional_boolean_property: false
/myhippoproject:optional_html_node:
jcr:primaryType: hippostd:html
hippostd:content: ''
/editor:templates:
jcr:primaryType: editor:templateset
/_default_:
jcr:primaryType: frontend:plugincluster
frontend:properties: [mode]
frontend:references: [wicket.model, model.compareTo, engine, validator.id]
frontend:services: [wicket.id, validator.id]
/root:
jcr:primaryType: frontend:plugin
item: ${cluster.id}.field
plugin.class: org.hippoecm.frontend.service.render.ListViewPlugin
/optional_boolean_property:
jcr:primaryType: frontend:plugin
caption: Boolean
field: optional_boolean_property
hint: ''
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: ${cluster.id}.field
/cluster.options:
jcr:primaryType: frontend:pluginconfig
/optional_html_node:
jcr:primaryType: frontend:plugin
caption: hippostd:html
field: optional_html_node
plugin.class: org.hippoecm.frontend.editor.plugins.field.NodeFieldPlugin
wicket.id: ${cluster.id}.field
/cluster.options:
jcr:primaryType: frontend:pluginconfig
definitions:
config:
/hippo:namespaces/myhippoproject/basedocument:
jcr:primaryType: hipposysedit:templatetype
jcr:mixinTypes: ['mix:referenceable']
/hipposysedit:nodetype:
jcr:primaryType: hippo:handle
jcr:mixinTypes: ['mix:referenceable']
/hipposysedit:nodetype:
jcr:primaryType: hipposysedit:nodetype
jcr:mixinTypes: ['hipposysedit:remodel']
hipposysedit:supertype: ['hippo:document', 'hippostdpubwf:document', 'hippostd:publishableSummary']
hipposysedit:uri: http://www.onehippo.org/myhippoproject/nt/1.0
definitions:
config:
/hippo:namespaces/myhippoproject/newsdocument:
jcr:primaryType: hipposysedit:templatetype
jcr:mixinTypes: ['editor:editable', 'mix:referenceable', 'hippo:named']
jcr:uuid: 1e2b9fcb-2715-435b-8a0b-63067f8341df
hippo:name: News Item
/hipposysedit:nodetype:
jcr:primaryType: hippo:handle
jcr:mixinTypes: ['mix:referenceable']
jcr:uuid: 9fb3c0be-9fce-4749-a3b3-98968ad68853
/hipposysedit:nodetype:
jcr:primaryType: hipposysedit:nodetype
jcr:mixinTypes: ['mix:referenceable', 'hipposysedit:remodel']
jcr:uuid: ac2e8017-2b06-4a36-985e-f69d39c9f918
hipposysedit:node: true
hipposysedit:supertype: ['myhippoproject:basedocument', 'hippostd:relaxed',
'hippotranslation:translated']
hipposysedit:uri: http://www.onehippo.org/myhippoproject/nt/1.0
/title:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:title
hipposysedit:primary: false
hipposysedit:type: String
/introduction:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:introduction
hipposysedit:primary: false
hipposysedit:type: Text
/content:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:content
hipposysedit:primary: false
hipposysedit:type: hippostd:html
/date:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:date
hipposysedit:primary: false
hipposysedit:type: Date
hipposysedit:validators: [required]
/author:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:author
hipposysedit:primary: false
hipposysedit:type: String
/source:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:source
hipposysedit:primary: false
hipposysedit:type: String
/location:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: myhippoproject:location
hipposysedit:primary: false
hipposysedit:type: String
/hipposysedit:prototypes:
jcr:primaryType: hipposysedit:prototypeset
/hipposysedit:prototype:
jcr:primaryType: myhippoproject:newsdocument
jcr:mixinTypes: ['mix:referenceable']
jcr:uuid: d526db5b-1f96-458f-b572-ad2072fce704
hippostd:holder: holder
hippostd:state: draft
hippostdpubwf:createdBy: ''
hippostdpubwf:creationDate: 2013-09-16T18:03:51.692+02:00
hippostdpubwf:lastModificationDate: 2013-09-16T18:03:51.691+02:00
hippostdpubwf:lastModifiedBy: ''
hippotranslation:id: document-type-locale-id
hippotranslation:locale: document-type-locale
myhippoproject:documenttype: news
myhippoproject:introduction: ''
myhippoproject:title: ''
/myhippoproject:content:
jcr:primaryType: hippostd:html
hippostd:content: <html><body></body></html>
/editor:templates:
jcr:primaryType: editor:templateset
/_default_:
jcr:primaryType: frontend:plugincluster
frontend:properties: [mode]
frontend:references: [wicket.model, model.compareTo, engine, validator.id]
frontend:services: [wicket.id, validator.id]
translator.id: ${cluster.id}.translator
type: myhippoproject:newsdocument
/translator:
jcr:primaryType: frontend:plugin
jcr:mixinTypes: ['hippostd:translated']
plugin.class: org.hippoecm.frontend.i18n.ConfigTraversingPlugin
/root:
jcr:primaryType: frontend:plugin
extension.left: ${cluster.id}.left
extension.right: ${cluster.id}.right
plugin.class: org.hippoecm.frontend.editor.layout.TwoColumn
wicket.extensions: [extension.left, extension.right]
/left:
jcr:primaryType: frontend:plugin
item: ${cluster.id}.left.item
plugin.class: org.hippoecm.frontend.service.render.ListViewPlugin
wicket.id: ${cluster.id}.left
/right:
jcr:primaryType: frontend:plugin
item: ${cluster.id}.right.item
plugin.class: org.hippoecm.frontend.service.render.ListViewPlugin
wicket.id: ${cluster.id}.right
/title:
jcr:primaryType: frontend:plugin
field: title
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: ${cluster.id}.left.item
/cluster.options:
jcr:primaryType: frontend:pluginconfig
/introduction:
jcr:primaryType: frontend:plugin
field: introduction
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: ${cluster.id}.left.item
/cluster.options:
jcr:primaryType: frontend:pluginconfig
/content:
jcr:primaryType: frontend:plugin
field: content
plugin.class: org.hippoecm.frontend.editor.plugins.field.NodeFieldPlugin
wicket.id: ${cluster.id}.left.item
/cluster.options:
jcr:primaryType: frontend:pluginconfig
/date:
jcr:primaryType: frontend:plugin
field: date
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: ${cluster.id}.right.item
/cluster.options:
jcr:primaryType: frontend:pluginconfig
/author:
jcr:primaryType: frontend:plugin
field: author
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: ${cluster.id}.right.item
/cluster.options:
jcr:primaryType: frontend:pluginconfig
/source:
jcr:primaryType: frontend:plugin
field: source
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: ${cluster.id}.right.item
/cluster.options:
jcr:primaryType: frontend:pluginconfig
/location:
jcr:primaryType: frontend:plugin
field: location
plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin
wicket.id: ${cluster.id}.right.item
/cluster.options:
jcr:primaryType: frontend:pluginconfig
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010-2017 Hippo B.V. (http://www.onehippo.com)
Copyright 2010-2018 Hippo B.V. (http://www.onehippo.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
......@@ -84,7 +84,6 @@
<hippo.commons.version>4.2.0-SNAPSHOT</hippo.commons.version>
<hippo.repository.version>5.2.0-SNAPSHOT</hippo.repository.version>
<hippo.configuration-management.version>1.2.0-SNAPSHOT</hippo.configuration-management.version>
<hippo.cms.version>5.2.0-SNAPSHOT</hippo.cms.version>
<hippo.utilities.version>4.2.0-SNAPSHOT</hippo.utilities.version>
<hippo.services.version>4.2.0-SNAPSHOT</hippo.services.version>
<hippo.services.eventbus.version>4.2.0-SNAPSHOT</hippo.services.eventbus.version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment