Commit 0ea99175 authored by Ate Douma's avatar Ate Douma

HIPPLUG-1471 migrate to hcm

parent 0925efcf
{
"hippo:hst": {
"componentparameters": {
"org": {
"onehippo": {
"forge": {
"poll": {
"component": {
"PollComponentInfo": {
"en": {
"poll-dataPath": "Path to store poll data",
"poll-docsClass": "Poll documents class",
"poll-pollCompoundName": "Name of poll compound",
"poll-docsPath": "Path to poll documents relative to site content root"
}
},
"PollDocumentComponentInfo": {
"en": {
"poll-docsPath": "Poll document"
}
}
}
}
}
}
}
}
}
}
\ No newline at end of file
definitions:
config:
? /hippo:configuration/hippo:translations/hippo:hst/componentparameters/org/onehippo/forge/poll/component/PollDocumentComponentInfo
: jcr:primaryType: hipposys:resourcebundles
/en:
jcr:primaryType: hipposys:resourcebundle
poll-docsPath: Poll document
/hippo:configuration/hippo:translations/hippo:hst/componentparameters/org/onehippo/forge/poll/component/PollComponentInfo:
jcr:primaryType: hipposys:resourcebundles
/en:
jcr:primaryType: hipposys:resourcebundle
poll-dataPath: Path to store poll data
poll-docsClass: Poll documents class
poll-docsPath: Path to poll documents relative to site content root
poll-pollCompoundName: Name of poll compound
<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="polldata" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:domain</sv:value>
</sv:property>
<sv:node sv:name="sitewriters-readwrite">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:authrole</sv:value>
</sv:property>
<sv:property sv:multiple="true" sv:name="hipposys:groups" sv:type="String">
<sv:value>sitewriters</sv:value>
</sv:property>
<sv:property sv:name="hipposys:role" sv:type="String">
<sv:value>readwrite</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="siteusers-read">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:authrole</sv:value>
</sv:property>
<sv:property sv:multiple="true" sv:name="hipposys:groups" sv:type="String">
<sv:value>liveusers</sv:value>
<sv:value>previewusers</sv:value>
</sv:property>
<sv:property sv:name="hipposys:role" sv:type="String">
<sv:value>readonly</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="poll-polldata">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:domainrule</sv:value>
</sv:property>
<sv:node sv:name="poll-polldata-node">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:facetrule</sv:value>
</sv:property>
<sv:property sv:name="hipposys:equals" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="hipposys:facet" sv:type="String">
<sv:value>jcr:primaryType</sv:value>
</sv:property>
<sv:property sv:name="hipposys:filter" sv:type="Boolean">
<sv:value>false</sv:value>
</sv:property>
<sv:property sv:name="hipposys:type" sv:type="String">
<sv:value>Name</sv:value>
</sv:property>
<sv:property sv:name="hipposys:value" sv:type="String">
<sv:value>poll:polldata</sv:value>
</sv:property>
</sv:node>
</sv:node>
<sv:node sv:name="poll-vote">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:domainrule</sv:value>
</sv:property>
<sv:node sv:name="poll-vote-node">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:facetrule</sv:value>
</sv:property>
<sv:property sv:name="hipposys:equals" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="hipposys:facet" sv:type="String">
<sv:value>jcr:primaryType</sv:value>
</sv:property>
<sv:property sv:name="hipposys:filter" sv:type="Boolean">
<sv:value>false</sv:value>
</sv:property>
<sv:property sv:name="hipposys:type" sv:type="String">
<sv:value>Name</sv:value>
</sv:property>
<sv:property sv:name="hipposys:value" sv:type="String">
<sv:value>poll:votes</sv:value>
</sv:property>
</sv:node>
</sv:node>
</sv:node>
definitions:
config:
/hippo:configuration/hippo:domains/polldata:
jcr:primaryType: hipposys:domain
/readwrite:
jcr:primaryType: hipposys:authrole
hipposys:groups: [sitewriters]
hipposys:role: readwrite
/readonly:
jcr:primaryType: hipposys:authrole
hipposys:groups: [liveusers, previewusers]
hipposys:role: readonly
/poll-polldata:
jcr:primaryType: hipposys:domainrule
/poll-polldata-node:
jcr:primaryType: hipposys:facetrule
hipposys:equals: true
hipposys:facet: jcr:primaryType
hipposys:filter: false
hipposys:type: Name
hipposys:value: poll:polldata
/poll-vote:
jcr:primaryType: hipposys:domainrule
/poll-vote-node:
jcr:primaryType: hipposys:facetrule
hipposys:equals: true
hipposys:facet: jcr:primaryType
hipposys:filter: false
hipposys:type: Name
hipposys:value: poll:votes
<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="hidePollNamespace" h:merge="insert" h:location="showOtherNamespaces"
xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:h="http://www.onehippo.org/jcr/xmlimport">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>frontend:pluginconfig</sv:value>
</sv:property>
<sv:property sv:name="display" sv:type="Boolean">
<sv:value>false</sv:value>
</sv:property>
<sv:property sv:name="path" sv:type="String">
<sv:value>/hippo:namespaces/poll</sv:value>
</sv:property>
</sv:node>
definitions:
config:
/hippo:configuration/hippo:frontend/cms/cms-folder-views/hipposysedit:namespacefolder/root/filters:
/hidePollNamespace:
.meta:order-before: showOtherNamespaces
jcr:primaryType: frontend:pluginconfig
display: false
path: /hippo:namespaces/poll
/hippo:configuration/hippo:frontend/cms/cms-tree-views/configuration/configurationBrowser/filters:
/hidePollNamespace:
.meta:order-before: showOtherNamespaces
jcr:primaryType: frontend:pluginconfig
display: false
path: /hippo:namespaces/poll
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="poll-catalog">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:containeritempackage</sv:value>
</sv:property>
<sv:node sv:name="poll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:containeritemcomponent</sv:value>
</sv:property>
<sv:property sv:name="hst:componentclassname" sv:type="String">
<sv:value>org.onehippo.forge.poll.component.PollDocumentComponent</sv:value>
</sv:property>
<sv:property sv:name="hst:iconpath" sv:type="String">
<sv:value>resources/poll/catalog-poll.png</sv:value>
</sv:property>
<sv:property sv:name="hst:label" sv:type="String">
<sv:value>Poll</sv:value>
</sv:property>
<sv:property sv:name="hst:parameternames" sv:type="String" sv:multiple="true">
<sv:value>poll-pollCompoundName</sv:value>
<sv:value>poll-docsPath</sv:value>
<sv:value>poll-dataPath</sv:value>
<sv:value>poll-docsClass</sv:value>
</sv:property>
<sv:property sv:name="hst:parametervalues" sv:type="String" sv:multiple="true">
<sv:value>poll:poll</sv:value>
<sv:value>/</sv:value>
<sv:value>polldata</sv:value>
<sv:value>org.onehippo.forge.poll.contentbean.PollDocument</sv:value>
</sv:property>
<sv:property sv:name="hst:template" sv:type="String">
<sv:value>poll.component.ftl</sv:value>
</sv:property>
<sv:property sv:name="hst:xtype" sv:type="String">
<sv:value>HST.Item</sv:value>
</sv:property>
</sv:node>
</sv:node>
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:catalog/poll-catalog:
jcr:primaryType: hst:containeritempackage
/poll:
jcr:primaryType: hst:containeritemcomponent
hst:componentclassname: org.onehippo.forge.poll.component.PollDocumentComponent
hst:iconpath: resources/poll/catalog-poll.png
hst:label: Poll
hst:parameternames: [poll-pollCompoundName, poll-docsPath, poll-dataPath,
poll-docsClass]
hst:parametervalues: ['poll:poll', /, polldata, org.onehippo.forge.poll.contentbean.PollDocument]
hst:template: poll.component.ftl
hst:xtype: HST.Item
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="poll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposysedit:namespace</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name">
<sv:value>mix:referenceable</sv:value>
</sv:property>
</sv:node>
definitions:
config:
/hippo:namespaces/poll:
jcr:primaryType: hipposysedit:namespace
jcr:mixinTypes: ['mix:referenceable']
<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="polldata" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>poll:polldata</sv:value>
</sv:property>
<sv:property sv:multiple="true" sv:name="jcr:mixinTypes" sv:type="Name">
<sv:value>mix:lockable</sv:value>
</sv:property>
</sv:node>
definitions:
config:
/polldata:
.meta:residual-child-node-category: runtime
jcr:primaryType: poll:polldata
jcr:mixinTypes: ['hippo:lockable', 'mix:lockable']
hippo:lockExpirationTime:
.meta:category: runtime
jcr:lockOwner:
.meta:category: runtime
jcr:lockIsDeep:
.meta:category: runtime
<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="poll.component.ftl" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:template</sv:value>
</sv:property>
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:value>8e1312b5-5756-4aba-aab3-54733e46741a</sv:value>
</sv:property>
<sv:property sv:name="hst:script" sv:type="String">
<sv:value>&lt;#assign hst=JspTaglibs["http://www.hippoecm.org/jsp/hst/core"]&gt;
&lt;div id="poll"&gt;
&lt;#if pollDocument??&gt;
&lt;#if pollDocument.poll.text??&gt;
&lt;h3&gt;${pollDocument.poll.text}&lt;/h3&gt;
&lt;/#if&gt;
&lt;span id="noCookieSupportMessage"&gt;The poll cannot be shown because the browser does not support cookies&lt;/span&gt;
&lt;#-- Render Poll Form if not yet voted (voteSuccess not defined) or voting failed (voteSuccess is false) --&gt;
&lt;#if !(voteSuccess??) || voteSuccess == false&gt;
&lt;div id="pollDiv"&gt;
&lt;#if pollDocument.poll.introduction??&gt;
&lt;p id=""&gt;${pollDocument.poll.introduction}&lt;/p&gt;
&lt;/#if&gt;
&lt;!-- The Poll --&gt;
&lt;form id="form-poll" method="post" action="&lt;@hst.actionURL /&gt;"&gt;
&lt;input type="hidden" name="path" value="${path}"/&gt;
&lt;div&gt;
&lt;#list pollDocument.poll.options as curOption&gt;
&lt;div&gt;
&lt;input id="${curOption.value}" name="option" type="radio" value="${curOption.value}"
&lt;#if option?? &amp;&amp; curOption == option&gt;selected="true"&lt;/#if&gt; /&gt;
&lt;label for="${curOption.value}"&gt;${curOption.label}&lt;/label&gt;
&lt;/div&gt;
&lt;/#list&gt;
&lt;/div&gt;
&lt;button class="submit" type="submit"&gt;Vote&lt;/button&gt;
&lt;#if voteSuccess??&gt; &lt;#-- Implies voteSuccess == "false" --&gt;
&lt;div&gt;Sorry, processing the vote has failed&lt;/div&gt;
&lt;/#if&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;/#if&gt;
&lt;ul id="pollResults" class="poll-results-list"&gt;
&lt;#list pollVotes.options as curOption&gt;
&lt;li&gt;
&lt;div class="poll-graph-bar"&gt;
&lt;span class="poll-meter" style="width: ${curOption.votesPercentage}%"&gt; &lt;/span&gt;
&lt;/div&gt;
&lt;#if curOption.votesCount == 1&gt;
${curOption.label} - ${curOption.votesPercentage}% (${curOption.votesCount} vote)
&lt;#else&gt;
${curOption.label} - ${curOption.votesPercentage}% (${curOption.votesCount} votes)
&lt;/#if&gt;
&lt;/li&gt;
&lt;/#list&gt;
&lt;#if pollVotes.totalVotesPercentage != 100&gt;
&lt;li&gt;
Due to rounding the percentages don't add up to 100%
&lt;/li&gt;
&lt;/#if&gt;
&lt;/ul&gt;
&lt;script type="text/javascript"&gt;
if (&lt;#if voteSuccess?? &amp;&amp; voteSuccess == true&gt;1&lt;#else&gt;0&lt;/#if&gt;) {
hide("noCookieSupportMessage");
} else if (checkBrowserSupportsCookies()) {
hide("noCookieSupportMessage");
hide("pollResults");
} else {
hide("pollDiv");
hide("pollResults");
}
function hide(id) {
var element = document.getElementById(id);
element.parentNode.removeChild(element);
}
function checkBrowserSupportsCookies() {
var cookieDate=new Date();
var cookieString="testCookieSupport"+cookieDate.toUTCString();
document.cookie="testCookieSupport="+cookieString;
return document.cookie.length &gt; 0;
}
&lt;/script&gt;
&lt;#else&gt;
No poll available
&lt;/#if&gt;
&lt;/div&gt;</sv:value>
</sv:property>
</sv:node>
definitions:
config:
/hst:hst/hst:configurations/hst:default/hst:templates/poll.component.ftl:
jcr:primaryType: hst:template
jcr:uuid: 8e1312b5-5756-4aba-aab3-54733e46741a
hst:script: "<#assign hst=JspTaglibs[\"http://www.hippoecm.org/jsp/hst/core\"\
]>\n\n<div id=\"poll\">\n <#if pollDocument??>\n <#if pollDocument.poll.text??>\n\
\ <h3>${pollDocument.poll.text}</h3>\n </#if>\n <span id=\"noCookieSupportMessage\"\
>The poll cannot be shown because the browser does not support cookies</span>\n\
\n <#-- Render Poll Form if not yet voted (voteSuccess not defined) or\
\ voting failed (voteSuccess is false) -->\n <#if !(voteSuccess??) || voteSuccess\
\ == false>\n <div id=\"pollDiv\">\n <#if pollDocument.poll.introduction??>\n\
\ <p id=\"\">${pollDocument.poll.introduction}</p>\n </#if>\n\
\n <!-- The Poll -->\n <form id=\"form-poll\" method=\"post\"\
\ action=\"<@hst.actionURL />\">\n <input type=\"hidden\" name=\"\
path\" value=\"${path}\"/>\n <div>\n <#list pollDocument.poll.options\
\ as curOption>\n <div>\n <input id=\"${curOption.value}\"\
\ name=\"option\" type=\"radio\" value=\"${curOption.value}\"\n \
\ <#if option?? && curOption == option>selected=\"true\"</#if>\
\ />\n <label for=\"${curOption.value}\">${curOption.label}</label>\n\
\ </div>\n </#list>\n </div>\n <button\
\ class=\"submit\" type=\"submit\">Vote</button>\n <#if voteSuccess??>\
\ <#-- Implies voteSuccess == \"false\" -->\n <div>Sorry, processing\
\ the vote has failed</div>\n </#if>\n </form>\n </div>\n\
\ </#if>\n\n <ul id=\"pollResults\" class=\"poll-results-list\">\n \
\ <#list pollVotes.options as curOption>\n <li>\n <div\
\ class=\"poll-graph-bar\">\n <span class=\"poll-meter\" style=\"\
width: ${curOption.votesPercentage}%\"> </span>\n </div>\n \
\ <#if curOption.votesCount == 1>\n ${curOption.label} - ${curOption.votesPercentage}%\
\ (${curOption.votesCount} vote)\n <#else>\n ${curOption.label}\
\ - ${curOption.votesPercentage}% (${curOption.votesCount} votes)\n \
\ </#if>\n </li>\n </#list>\n <#if pollVotes.totalVotesPercentage\
\ != 100>\n\t <li>\n\t \tDue to rounding the percentages don't add\
\ up to 100%\n\t </li>\n\t </#if>\n </ul>\n\n <script type=\"\
text/javascript\">\n if (<#if voteSuccess?? && voteSuccess == true>1<#else>0</#if>)\
\ {\n hide(\"noCookieSupportMessage\");\n } else if (checkBrowserSupportsCookies())\
\ {\n hide(\"noCookieSupportMessage\");\n hide(\"pollResults\"\
);\n } else {\n hide(\"pollDiv\");\n hide(\"pollResults\"\
);\n }\n\n function hide(id) {\n var element = document.getElementById(id);\n\
\ element.parentNode.removeChild(element);\n }\n\n function\
\ checkBrowserSupportsCookies() {\n var cookieDate=new Date();\n \
\ var cookieString=\"testCookieSupport\"+cookieDate.toUTCString();\n\
\ document.cookie=\"testCookieSupport=\"+cookieString;\n return\
\ document.cookie.length > 0;\n }\n </script>\n\n <#else>\n No\
\ poll available\n </#if>\n</div>"
{
"hippo:types": {
"poll:option": {
"en": {
"poll:value": "Value",
"jcr:name": "Option",
"poll:label": "Label"
}
},
"poll:poll": {
"en": {
"poll:introduction": "Introduction (optional)",
"poll:options": "Options",
"jcr:name": "Poll Compound",
"poll:text": "Text"
}
},
"poll:polldocument": {
"en": {
"jcr:name": "Poll",
"poll:poll": "Poll"
}
}
}
}
\ No newline at end of file
definitions:
config:
/hippo:configuration/hippo:translations/hippo:types/poll:option:
jcr:primaryType: hipposys:resourcebundles
/en:
jcr:primaryType: hipposys:resourcebundle
jcr:name: Option
poll:label: Label
poll:value: Value
/hippo:configuration/hippo:translations/hippo:types/poll:poll:
jcr:primaryType: hipposys:resourcebundles
/en:
jcr:primaryType: hipposys:resourcebundle
jcr:name: Poll Compound
poll:introduction: Introduction (optional)
poll:options: Options
poll:text: Text
/hippo:configuration/hippo:translations/hippo:types/poll:polldocument:
jcr:primaryType: hipposys:resourcebundles
/en:
jcr:primaryType: hipposys:resourcebundle
jcr:name: Poll
poll:poll: Poll
group: hippo-cms
project:
name: hippo-plugin-poll
after: [hippo-cms, hippo-site-toolkit]
module: hippo-plugin-poll-addon-repository
<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:h="http://www.onehippo.org/jcr/xmlimport"
sv:name="autoexport" h:merge="combine">
<sv:node sv:name="hippo:moduleconfig" h:merge="combine">
<sv:property sv:name="autoexport:enabled" sv:type="Boolean" h:merge="override">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="autoexport:modules" sv:type="String" h:merge="override">
<sv:value>bootstrap/content:/content</sv:value>
<sv:value>bootstrap/configuration:/</sv:value>
</sv:property>
</sv:node>
</sv:node>
definitions:
config:
/hippo:configuration/hippo:modules/autoexport:
/hippo:moduleconfig:
autoexport:enabled:
operation: override
type: boolean
value: true
autoexport:modules:
operation: override
type: string
value: ['bootstrap/content:/content', 'bootstrap/configuration:/']
<?xml version="1.0" encoding="UTF-8"?><sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="new-poll-document">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippostd:templatequery</sv:value>
</sv:property>
<sv:property sv:name="hippostd:icon" sv:type="String">
<sv:value>adddocument_ico</sv:value>
</sv:property>
<sv:property sv:name="hippostd:modify" sv:type="String" sv:multiple="true">
<sv:value>./_name</sv:value>
<sv:value>$name</sv:value>
<sv:value>./hippotranslation:locale</sv:value>
<sv:value>$inherited</sv:value>
<sv:value>./hippotranslation:id</sv:value>
<sv:value>$uuid</sv:value>
<sv:value>./hippostdpubwf:createdBy</sv:value>
<sv:value>$holder</sv:value>
<sv:value>./hippostdpubwf:creationDate</sv:value>
<sv:value>$now</sv:value>
<sv:value>./hippostdpubwf:lastModifiedBy</sv:value>
<sv:value>$holder</sv:value>
<sv:value>./hippostdpubwf:lastModificationDate</sv:value>
<sv:value>$now</sv:value>
<sv:value>./hippostd:holder</sv:value>
<sv:value>$holder</sv:value>
</sv:property>
<sv:property sv:name="jcr:language" sv:type="String">
<sv:value>xpath</sv:value>
</sv:property>
<sv:property sv:name="jcr:statement" sv:type="String">
<sv:value>//element(*,hipposysedit:namespacefolder)/element(*,mix:referenceable)/element(*,hipposysedit:templatetype)/hipposysedit:prototypes/element(hipposysedit:prototype,poll:polldocument)</sv:value>
</sv:property>
</sv:node>
definitions:
config:
/hippo:configuration/hippo:queries/hippo:templates/new-poll-document:
jcr:primaryType: hippostd:templatequery
hippostd:icon: adddocument_ico
hippostd:modify: [./_name, $name, './hippotranslation:locale', $inherited, './hippotranslation:id',
$uuid, './hippostdpubwf:createdBy', $holder, './hippostdpubwf:creationDate',
$now, './hippostdpubwf:lastModifiedBy', $holder, './hippostdpubwf:lastModificationDate',
$now, './hippostd:holder', $holder]
jcr:language: xpath
jcr:statement: //element(*,hipposysedit:namespacefolder)/element(*,mix:referenceable)/element(*,hipposysedit:templatetype)/hipposysedit:prototypes/element(hipposysedit:prototype,poll:polldocument)
<?xml version="1.0" encoding="UTF-8"?><sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="new-poll-folder">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippostd:templatequery</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
<sv:value>hipposys:implementation</sv:value>
</sv:property>
<sv:property sv:name="hippostd:icon" sv:type="String">
<sv:value>addfolder_ico</sv:value>
</sv:property>
<sv:property sv:name="hippostd:modify" sv:type="String" sv:multiple="true">
<sv:value>./_name</sv:value>
<sv:value>$name</sv:value>
<sv:value>./hippotranslation:id</sv:value>
<sv:value>$uuid</sv:value>
<sv:value>./hippotranslation:locale</sv:value>
<sv:value>$inherited</sv:value>
</sv:property>
<sv:property sv:name="hipposys:classname" sv:type="String">
<sv:value>org.hippoecm.repository.impl.query.DirectPath</sv:value>
</sv:property>
<sv:property sv:name="jcr:language" sv:type="String">
<sv:value>xpath</sv:value>
</sv:property>
<sv:property sv:name="jcr:statement" sv:type="String">
<sv:value>/jcr:root/hippo:configuration/hippo:queries/hippo:templates/new-poll-folder/hippostd:templates/node()</sv:value>
</sv:property>
<sv:node sv:name="hippostd:templates">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippostd:templates</sv:value>
</sv:property>
<sv:node sv:name="hippostd:folder">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippostd:folder</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
<sv:value>hippotranslation:translated</sv:value>
<sv:value>mix:referenceable</sv:value>
</sv:property>
<sv:property sv:name="jcr:uuid" sv:type="String">
<sv:value>9914c93a-1631-4e06-8985-b3ec013837c5</sv:value>
</sv:property>
<sv:property sv:name="hippostd:foldertype" sv:type="String" sv:multiple="true">
<sv:value>new-poll-document</sv:value>
<sv:value>new-poll-folder</sv:value>
</sv:property>
<sv:property sv:name="hippotranslation:id" sv:type="String">
<sv:value>generated id</sv:value>
</sv:property>
<sv:property sv:name="hippotranslation:locale" sv:type="String">
<sv:value>inherited locale</sv:value>
</sv:property>
</sv:node>
</sv:node>
</sv:node>
definitions:
config:
/hippo:configuration/hippo:queries/hippo:templates/new-poll-folder:
jcr:primaryType: hippostd:templatequery
jcr:mixinTypes: ['hipposys:implementation']
hippostd:icon: addfolder_ico
hippostd:modify: [./_name, $name, './hippotranslation:id', $uuid, './hippotranslation:locale',
$inherited]
hipposys:classname: org.hippoecm.repository.impl.query.DirectPath
jcr:language: xpath
jcr:statement: /jcr:root/hippo:configuration/hippo:queries/hippo:templates/new-poll-folder/hippostd:templates/node()
/hippostd:templates:
jcr:primaryType: hippostd:templates
/hippostd:folder:
jcr:primaryType: hippostd:folder
jcr:mixinTypes: ['hippotranslation:translated', 'mix:referenceable']
jcr:uuid: 9914c93a-1631-4e06-8985-b3ec013837c5
hippostd:foldertype: [new-poll-document, new-poll-folder]
hippotranslation:id: generated id
hippotranslation:locale: inherited locale
<?xml version="1.0" encoding="UTF-8"?><sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="new-resource-bundle">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippostd:templatequery</sv:value>
</sv:property>
<sv:property sv:name="hippostd:icon" sv:type="String">
<sv:value>adddocument_ico</sv:value>
</sv:property>
<sv:property sv:name="hippostd:modify" sv:type="String" sv:multiple="true">
<sv:value>./_name</sv:value>
<sv:value>$name</sv:value>
<sv:value>./hippotranslation:locale</sv:value>
<sv:value>$inherited</sv:value>
<sv:value>./hippotranslation:id</sv:value>
<sv:value>$uuid</sv:value>
<sv:value>./hippostdpubwf:createdBy</sv:value>
<sv:value>$holder</sv:value>
<sv:value>./hippostdpubwf:creationDate</sv:value>
<sv:value>$now</sv:value>
<sv:value>./hippostdpubwf:lastModifiedBy</sv:value>
<sv:value>$holder</sv:value>
<sv:value>./hippostdpubwf:lastModificationDate</sv:value>