Jeroen Hoffman pushed to branch feature/HIPPLUG-1481 at cms-community / 
hippo-plugin-poll


Commits:
bd062bff by Jeroen Hoffman at 2017-10-20T10:41:16+02:00
HIPPLUG-1481 remove remaining _demo_creation (should've been gone before)

- - - - -


2 changed files:

- demo/README.txt
- − demo/_demo_creation/import/polldata-polldemo.xml


Changes:

=====================================
demo/README.txt
=====================================
--- a/demo/README.txt
+++ b/demo/README.txt
@@ -4,7 +4,7 @@ How to generate a demo project for the Polls feature
 
 1) Generate a project from the archetype.
 
-2) In essentials/pom.xml, add:
+2) To demo a custom poll document with title and poll compound, add to 
essentials/pom.xml:
 
     <dependency>
       <groupId>org.onehippo.cms7</groupId>
@@ -14,8 +14,8 @@ How to generate a demo project for the Polls feature
        
 3) Build && run locally.
 
-- With Essentials, set up with the default settings.
-  JSP for templating language is not supported for the Polls Demo feature.
+- With Essentials, set up the project with the default settings.
+  Note that JSP for templating language is not supported for the Polls Demo 
feature.
 
 - With Essentials, install Polls feature, then rebuild && run twice 
((boarding, installing).
 


=====================================
demo/_demo_creation/import/polldata-polldemo.xml deleted
=====================================
--- a/demo/_demo_creation/import/polldata-polldemo.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-<?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="polldemo">
-  <sv:property sv:name="jcr:primaryType" sv:type="Name">
-    <sv:value>poll:polldata</sv:value>
-  </sv:property>
-  <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
-    <sv:value>mix:lockable</sv:value>
-  </sv:property>
-  <sv:node sv:name="polls">
-    <sv:property sv:name="jcr:primaryType" sv:type="Name">
-      <sv:value>poll:polldata</sv:value>
-    </sv:property>
-    <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
-      <sv:value>mix:lockable</sv:value>
-    </sv:property>
-    <sv:node sv:name="example-poll">
-      <sv:property sv:name="jcr:primaryType" sv:type="Name">
-        <sv:value>poll:polldata</sv:value>
-      </sv:property>
-      <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
-        <sv:value>mix:lockable</sv:value>
-      </sv:property>
-      <sv:node sv:name="essentials">
-        <sv:property sv:name="jcr:primaryType" sv:type="Name">
-          <sv:value>poll:votes</sv:value>
-        </sv:property>
-        <sv:property sv:name="jcr:mixinTypes" sv:type="Name" 
sv:multiple="true">
-          <sv:value>mix:lockable</sv:value>
-        </sv:property>
-        <sv:property sv:name="poll:count" sv:type="Long">
-          <sv:value>526</sv:value>
-        </sv:property>
-      </sv:node>
-      <sv:node sv:name="hippo">
-        <sv:property sv:name="jcr:primaryType" sv:type="Name">
-          <sv:value>poll:votes</sv:value>
-        </sv:property>
-        <sv:property sv:name="jcr:mixinTypes" sv:type="Name" 
sv:multiple="true">
-          <sv:value>mix:lockable</sv:value>
-        </sv:property>
-        <sv:property sv:name="poll:count" sv:type="Long">
-          <sv:value>119</sv:value>
-        </sv:property>
-      </sv:node>
-    </sv:node>
-    <sv:node sv:name="custom-example-poll">
-      <sv:property sv:name="jcr:primaryType" sv:type="Name">
-        <sv:value>poll:polldata</sv:value>
-      </sv:property>
-      <sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
-        <sv:value>mix:lockable</sv:value>
-      </sv:property>
-      <sv:node sv:name="yes">
-        <sv:property sv:name="jcr:primaryType" sv:type="Name">
-          <sv:value>poll:votes</sv:value>
-        </sv:property>
-        <sv:property sv:name="jcr:mixinTypes" sv:type="Name" 
sv:multiple="true">
-          <sv:value>mix:lockable</sv:value>
-        </sv:property>
-        <sv:property sv:name="poll:count" sv:type="Long">
-          <sv:value>64</sv:value>
-        </sv:property>
-      </sv:node>
-      <sv:node sv:name="no">
-        <sv:property sv:name="jcr:primaryType" sv:type="Name">
-          <sv:value>poll:votes</sv:value>
-        </sv:property>
-        <sv:property sv:name="jcr:mixinTypes" sv:type="Name" 
sv:multiple="true">
-          <sv:value>mix:lockable</sv:value>
-        </sv:property>
-        <sv:property sv:name="poll:count" sv:type="Long">
-          <sv:value>47</sv:value>
-        </sv:property>
-      </sv:node>
-    </sv:node>
-  </sv:node>
-</sv:node>



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-plugin-poll/commit/bd062bff24e8a30f1944bae08a011918528e4107

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-plugin-poll/commit/bd062bff24e8a30f1944bae08a011918528e4107
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to