Commit d915e268 authored by Jeroen Hoffman's avatar Jeroen Hoffman

HIPPLUG-1481 remove the demo files, except the new README

parent 17bf49f1
How to create the demo project
==============================
1) Generate project by the Maven archetype with parameters:
groupId: org.onehippo.plugins
artifactId: polldemo
version: reflect Hippo version, e.g. 11.1.0-SNAPSHOT for the archetype 4.1.0-SNAPSHOT
package: org.onehippo.plugins.polldemo
projectName: Hippo Plugin Poll Demo
Move the generated project to the /demo directory.
2) Build and run the project and install the Poll feature with Essentials, in the default set up.
Rebuild and run.
Creating a custom poll document that contains the poll compound
---------------------------------------------------------------
For the next steps, we rely on the auto-export function to export changes into the project.
3) In the CMS document type editor, create a new document type 'customPollDocument' with
- a String field with caption=Title and path=title
- a Poll compound field with caption=Poll and path=poll
Don't forget to commit changes!
4) From Essentials, use the Beanwriter tool to generate a CustomPollDocument Java class.
Implement in the bean the getter for the poll compound:
import org.onehippo.forge.poll.contentbean.compound.Poll;
public Poll getPoll() {
return getBean("polldemo:poll");
}
5) Custom poll component.
- Copy demo-creation/webfiles/custompoll.component.ftl into bootstrap/webfiles/src/main/resources/site/freemarker/polldemo
(this file was created from contents of the standard template at
/hst:hst/hst:configurations/hst:default/hst:templates/poll.component.ftl plus some extra code to show the custom title)
- Copy demo-creation/components to site/src/main/java/org/onehippo/plugins/polldemo
6) From the console, import:
_demo_creation/import/polldata-polldemo.xml into /polldata
_demo_creation/import/content-custom-example-poll.xml into /content/documents/polldemo/polls
_demo_creation/import/custompoll-catalogitem.xml into /hst:hst/hst:configurations/polldemo/hst:catalog/polldemo-catalog
_demo_creation/import/custompoll-page.xml into /hst:hst/hst:configurations/polldemo/hst:pages
_demo_creation/import/custompoll-sitemapitem.xml into /hst:hst/hst:configurations/polldemo/hst:sitemap
_demo_creation/import/custompoll-template.xml into /hst:hst/hst:configurations/polldemo/hst:templates
_demo_creation/import/custompoll-workspace-container.xml into /hst:hst/hst:configurations/polldemo/hst:workspace/hst:containers
7) Rebuild and run.
In the CMS Channel Manager, edit the channel and:
- drop the standard poll component on the home page and pick the example poll document in the component properties.
- drop the custom poll component on the custompoll page and pick the example custom poll document.
Publish the changes!
The auto export should have updated the bootstrap content & configuration.
/*
* Copyright 2016 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onehippo.cms.polldemo.components;
import org.hippoecm.hst.core.parameters.ParametersInfo;
import org.onehippo.forge.poll.component.PollDocumentComponent;
/**
* Custom HST poll component that has a poll document picker as parameter.
*/
@ParametersInfo(type = CustomPollDocumentComponentInfo.class)
public class CustomPollDocumentComponent extends PollDocumentComponent {
}
/*
* Copyright 2016 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onehippo.cms.polldemo.components;
import org.hippoecm.hst.core.parameters.JcrPath;
import org.hippoecm.hst.core.parameters.Parameter;
import org.onehippo.forge.poll.component.PollDocumentComponentInfo;
interface CustomPollDocumentComponentInfo extends PollDocumentComponentInfo {
@Override
@Parameter(name = "poll-docsPath", required = true, displayName = "Poll document")
@JcrPath(pickerSelectableNodeTypes = "polldemo:customPollDocument")
String getPollDocsPath();
}
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="custom-example-poll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:handle</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
<sv:value>hippo:named</sv:value>
<sv:value>mix:referenceable</sv:value>
</sv:property>
<sv:property sv:name="hippo:name" sv:type="String">
<sv:value>custom-example-poll</sv:value>
</sv:property>
<sv:node sv:name="custom-example-poll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>polldemo:customPollDocument</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="hippo:availability" sv:type="String" sv:multiple="true">
<sv:value>live</sv:value>
<sv:value>preview</sv:value>
</sv:property>
<sv:property sv:name="hippostd:holder" sv:type="String">
<sv:value>admin</sv:value>
</sv:property>
<sv:property sv:name="hippostd:state" sv:type="String">
<sv:value>published</sv:value>
</sv:property>
<sv:property sv:name="hippostd:stateSummary" sv:type="String">
<sv:value>live</sv:value>
</sv:property>
<sv:property sv:name="hippostdpubwf:createdBy" sv:type="String">
<sv:value>admin</sv:value>
</sv:property>
<sv:property sv:name="hippostdpubwf:creationDate" sv:type="Date">
<sv:value>2012-11-15T16:11:11.569+01:00</sv:value>
</sv:property>
<sv:property sv:name="hippostdpubwf:lastModificationDate" sv:type="Date">
<sv:value>2012-11-15T16:13:17.757+01:00</sv:value>
</sv:property>
<sv:property sv:name="hippostdpubwf:lastModifiedBy" sv:type="String">
<sv:value>admin</sv:value>
</sv:property>
<sv:property sv:name="hippostdpubwf:publicationDate" sv:type="Date">
<sv:value>2012-11-19T13:15:37.802+01:00</sv:value>
</sv:property>
<sv:property sv:name="hippotranslation:id" sv:type="String">
<sv:value>088038f6-cd72-4628-a259-374dcc642b76</sv:value>
</sv:property>
<sv:property sv:name="hippotranslation:locale" sv:type="String">
<sv:value>en</sv:value>
</sv:property>
<sv:property sv:name="polldemo:title" sv:type="String">
<sv:value>Title of Custom Poll Document</sv:value>
</sv:property>
<sv:node sv:name="polldemo:poll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>poll:poll</sv:value>
</sv:property>
<sv:property sv:name="poll:active" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="poll:introduction" sv:type="String">
<sv:value>Introduction of the poll compound. Feel free to vote.</sv:value>
</sv:property>
<sv:property sv:name="poll:text" sv:type="String">
<sv:value>Text of the poll compound. Do you like ice cream?</sv:value>
</sv:property>
<sv:node sv:name="poll:option">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>poll:option</sv:value>
</sv:property>
<sv:property sv:name="poll:label" sv:type="String">
<sv:value>Yes</sv:value>
</sv:property>
<sv:property sv:name="poll:value" sv:type="String">
<sv:value>yes</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="poll:option">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>poll:option</sv:value>
</sv:property>
<sv:property sv:name="poll:label" sv:type="String">
<sv:value>No</sv:value>
</sv:property>
<sv:property sv:name="poll:value" sv:type="String">
<sv:value>no</sv:value>
</sv:property>
</sv:node>
</sv:node>
</sv:node>
</sv:node>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="custompoll">
<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.plugins.polldemo.components.CustomPollDocumentComponent</sv:value>
</sv:property>
<sv:property sv:name="hst:label" sv:type="String">
<sv:value>Custom 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>polldemo:poll</sv:value>
<sv:value>/</sv:value>
<sv:value>polldata</sv:value>
<sv:value>org.onehippo.plugins.polldemo.beans.CustomPollDocument</sv:value>
</sv:property>
<sv:property sv:name="hst:template" sv:type="String">
<sv:value>custompoll-component</sv:value>
</sv:property>
<sv:property sv:name="hst:xtype" sv:type="String">
<sv:value>HST.Item</sv:value>
</sv:property>
</sv:node>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="custompoll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:component</sv:value>
</sv:property>
<sv:property sv:name="hst:referencecomponent" sv:type="String">
<sv:value>hst:abstractpages/base</sv:value>
</sv:property>
<sv:node sv:name="main">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:component</sv:value>
</sv:property>
<sv:property sv:name="hst:template" sv:type="String">
<sv:value>homepage-main</sv:value>
</sv:property>
<sv:node sv:name="container">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:containercomponentreference</sv:value>
</sv:property>
<sv:property sv:name="hst:referencecomponent" sv:type="String">
<sv:value>custompoll/main</sv:value>
</sv:property>
</sv:node>
</sv:node>
</sv:node>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="custompoll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:sitemapitem</sv:value>
</sv:property>
<sv:property sv:name="hst:componentconfigurationid" sv:type="String">
<sv:value>hst:pages/custompoll</sv:value>
</sv:property>
<sv:property sv:name="hst:refId" sv:type="String">
<sv:value>custompoll</sv:value>
</sv:property>
</sv:node>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="custompoll-component">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:template</sv:value>
</sv:property>
<sv:property sv:name="hst:renderpath" sv:type="String">
<sv:value>webfile:/freemarker/polldemo/custompoll.component.ftl</sv:value>
</sv:property>
</sv:node>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="custompoll">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:containercomponentfolder</sv:value>
</sv:property>
<sv:node sv:name="main">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hst:containercomponent</sv:value>
</sv:property>
<sv:property sv:name="hst:xtype" sv:type="String">
<sv:value>HST.vBox</sv:value>
</sv:property>
</sv:node>
</sv:node>
<#--
Copyright 2016 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<#assign hst=JspTaglibs["http://www.hippoecm.org/jsp/hst/core"]>
<div id="poll">
<#if pollDocument??>
<#if pollDocument.title??>
<h2>${pollDocument.title}</h2>
</#if>
<#if pollDocument.poll.text??>
<h3>${pollDocument.poll.text}</h3>
</#if>
<span id="noCookieSupportMessage">The poll cannot be shown because the browser does not support cookies</span>
<#-- Render Poll Form if not yet voted (voteSuccess not defined) or voting failed (voteSuccess is false) -->
<#if !(voteSuccess??) || voteSuccess == false>
<div id="pollDiv">
<#if pollDocument.poll.introduction??>
<p id="">${pollDocument.poll.introduction}</p>
</#if>
<!-- The Poll -->
<form id="form-poll" method="post" action="<@hst.actionURL />">
<input type="hidden" name="path" value="${path}"/>
<div>
<#list pollDocument.poll.options as curOption>
<div>
<input id="${curOption.value}" name="option" type="radio" value="${curOption.value}"
<#if option?? && curOption == option>selected="true"</#if> />
<label for="${curOption.value}">${curOption.label}</label>
</div>
</#list>
</div>
<button class="submit" type="submit">Vote</button>
<#if voteSuccess??> <#-- Implies voteSuccess == "false" -->
<div>Sorry, processing the vote has failed</div>
</#if>
</form>
</div>
</#if>
<ul id="pollResults" class="poll-results-list">
<#list pollVotes.options as curOption>
<li>
<div class="poll-graph-bar">
<span class="poll-meter" style="width: ${curOption.votesPercentage}%"> </span>
</div>
<#if curOption.votesCount == 1>
${curOption.label} - ${curOption.votesPercentage}% (${curOption.votesCount} vote)
<#else>
${curOption.label} - ${curOption.votesPercentage}% (${curOption.votesCount} votes)
</#if>
</li>
</#list>
<#if pollVotes.totalVotesPercentage != 100>
<li>
Due to rounding the percentages don't add up to 100%
</li>
</#if>
</ul>
<script type="text/javascript">
if (<#if voteSuccess?? && voteSuccess == true>1<#else>0</#if>) {
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 > 0;
}
</script>
<#else>
No poll available
</#if>
</div>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.onehippo.plugins</groupId>
<artifactId>polldemo-bootstrap</artifactId>
<version>4.0.0-SNAPSHOT</version>
</parent>
<name>Hippo Plugin Poll Demo Bootstrap Configuration</name>
<description>Hippo Plugin Poll Demo Bootstrap Configuration</description>
<artifactId>polldemo-bootstrap-configuration</artifactId>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
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:/']
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)
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
definitions:
config:
/hippo:configuration/hippo:queries/hippo:templates/new-resource-bundle:
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,resourcebundle:resourcebundle)
definitions:
config:
/hippo:configuration/hippo:queries/hippo:templates/new-untranslated-folder:
jcr:primaryType: hippostd:templatequery
jcr:mixinTypes: ['hipposys:implementation']
hippostd:icon: addfolder_ico
hippostd:modify: [./_name, $name]
hipposys:classname: org.hippoecm.repository.impl.query.DirectPath
jcr:language: xpath
jcr:statement: "/jcr:root/hippo:configuration/hippo:queries/hippo:templates/new-untranslated-folder/hippostd:templates/node()\n\
\ "
/hippostd:templates:
jcr:primaryType: hippostd:templates
/hippostd:folder:
jcr:primaryType: hippostd:folder
jcr:mixinTypes: ['mix:versionable']
jcr:uuid: 92eb469f-636c-4e88-a5f4-2839491523fb
hippostd:foldertype: [new-resource-bundle, new-untranslated-folder]
definitions:
config:
/hst:hst/hst:configurations:
/common:
jcr:primaryType: hst:configuration
/hst:sitemap:
jcr:primaryType: hst:sitemap
/hst:abstractpages:
jcr:primaryType: hst:pages
/hst:pages:
jcr:primaryType: hst:pages
/hst:components:
jcr:primaryType: hst:components
/hst:templates:
jcr:primaryType: hst:templates
/hst:sitemenus:
jcr:primaryType: hst:sitemenus
/hst:sitemapitemhandlers:
jcr:primaryType: hst:sitemapitemhandlers
/hst:catalog: