Skip to content

Commit

Permalink
Update core-components dependency to 2.4.0 #181 (#186)
Browse files Browse the repository at this point in the history
* Update core components version
* Added proxy for contentfragment and contentfragmentlist component
  • Loading branch information
vladbailescu authored and bpauli committed May 9, 2019
1 parent 969ace1 commit 2bfa73b
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<sling.password>admin</sling.password>
<vault.user>admin</vault.user>
<vault.password>admin</vault.password>
<core.wcm.components.version>2.3.2</core.wcm.components.version>
<core.wcm.components.version>2.4.0</core.wcm.components.version>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:Component"
jcr:title="Content Fragment"
sling:resourceSuperType="core/wcm/components/contentfragment/v1/contentfragment"
componentGroup="${componentGroupName}"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:EditConfig">
<cq:inplaceEditing
jcr:primaryType="cq:InplaceEditingConfig"
active="{Boolean}true"
editorType="contentfragment"/>
<cq:dropTargets jcr:primaryType="nt:unstructured">
<contentfragment
jcr:primaryType="cq:DropTargetConfig"
accept="[application/vnd.adobe.contentfragment]"
groups="[media]"
propertyName="./fragmentPath">
<parameters
jcr:primaryType="nt:unstructured"
variationName=""
elementNames=""
paragraphScope=""
paragraphRange=""
paragraphHeadings=""
displayMode="multi"/>
</contentfragment>
</cq:dropTargets>
<cq:listeners
jcr:primaryType="cq:EditListenersConfig"
afterinsert="function (properties) { $(document).trigger('cq-contentfragment-insert'); }"
afteredit="function (properties) { $(document).trigger('cq-contentfragment-edit'); }"
afterdelete="function (properties) { $(document).trigger('cq-contentfragment-delete'); }"/>
</jcr:root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:Component"
jcr:title="Content Fragment List"
sling:resourceSuperType="core/wcm/components/contentfragmentlist/v1/contentfragmentlist"
componentGroup="${componentGroupName}"/>

0 comments on commit 2bfa73b

Please sign in to comment.