Author: jaz
Date: Thu Apr 19 12:01:15 2007 New Revision: 530520 URL: http://svn.apache.org/viewvc?view=rev&rev=530520 Log: added demo purpose data Modified: ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml Modified: ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml?view=diff&rev=530520&r1=530519&r2=530520 ============================================================================== --- ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml (original) +++ ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml Thu Apr 19 12:01:15 2007 @@ -26,18 +26,23 @@ <DataResource dataResourceId="CMSS_MAIN_DEC" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL" objectInfo="component://cmssite/template/cms/MainDecorator.ftl"/> <Content contentId="CMSS_DEC" contentTypeId="DECORATOR" contentName="CMS Site Main Decorator" dataResourceId="CMSS_MAIN_DEC"/> - - <DataResource dataResourceId="CMSS_HTML_HEAD" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL" + <ContentPurpose contentId="CMSS_DEC" contentPurposeTypeId="SECTION"/> + + <DataResource dataResourceId="CMSS_HTML_HEAD" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL" objectInfo="component://cmssite/template/cms/HtmlHead.ftl"/> <Content contentId="CMSS_HHEAD" contentTypeId="DOCUMENT" contentName="CMS Site HTML Head" dataResourceId="CMSS_HTML_HEAD"/> - - <DataResource dataResourceId="CMSS_DEMO_HEADER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL" + <ContentPurpose contentId="CMSS_HHEAD" contentPurposeTypeId="SECTION"/> + + <DataResource dataResourceId="CMSS_DEMO_HEADER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL" objectInfo="component://cmssite/webapp/cmssite/DemoHeader.ftl"/> <Content contentId="CMSS_DEMO_HEADER" contentTypeId="DOCUMENT" contentName="CMS Site Demo Header" dataResourceId="CMSS_DEMO_HEADER"/> - <DataResource dataResourceId="CMSS_DEMO_FOOTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL" + <ContentPurpose contentId="CMSS_DEMO_HEADER" contentPurposeTypeId="SECTION"/> + + <DataResource dataResourceId="CMSS_DEMO_FOOTER" dataResourceTypeId="URL_RESOURCE" dataTemplateTypeId="FTL" objectInfo="component://cmssite/webapp/cmssite/DemoFooter.ftl"/> <Content contentId="CMSS_DEMO_FOOTER" contentTypeId="DOCUMENT" contentName="CMS Site Demo Footer" dataResourceId="CMSS_DEMO_FOOTER"/> - + <ContentPurpose contentId="CMSS_DEMO_FOOTER" contentPurposeTypeId="SECTION"/> + <ContentAssoc contentId="CMSS_DEC" contentIdTo="CMSS_HHEAD" contentAssocTypeId="SUB_CONTENT" mapKey="htmlHead" fromDate="2001-01-01 00:00:00"/> <ContentAssoc contentId="CMSS_DEC" contentIdTo="CMSS_DEMO_HEADER" contentAssocTypeId="SUB_CONTENT" mapKey="header" fromDate="2001-01-01 00:00:00"/> <ContentAssoc contentId="CMSS_DEC" contentIdTo="CMSS_DEMO_FOOTER" contentAssocTypeId="SUB_CONTENT" mapKey="footer" fromDate="2001-01-01 00:00:00"/> @@ -47,6 +52,7 @@ objectInfo="component://cmssite/webapp/cmssite/DemoHome.ftl"/> <Content contentId="CMSS_DEMO_HOME" contentTypeId="DOCUMENT" decoratorContentId="CMSS_DEC" contentName="CMS Site Demo Home Page" dataResourceId="CMSS_DEMO_HOME"/> + <ContentPurpose contentId="CMSS_DEMO_HOME" contentPurposeTypeId="SECTION"/> <ContentAssoc contentId="CMSS_PPOINT" contentIdTo="CMSS_DEMO_HOME" contentAssocTypeId="SUB_CONTENT" fromDate="2001-01-01 00:00:00"/> <WebSiteContent webSiteId="CmsSite" contentId="CMSS_DEMO_HOME" webSiteContentTypeId="DEFAULT_PAGE" fromDate="2001-01-01 00:00:00"/> @@ -59,11 +65,14 @@ ]]></textData> </ElectronicText> <Content contentId="CMSS_DEMO_PAGE1" contentTypeId="DOCUMENT" decoratorContentId="CMSS_DEC" contentName="CMS Site Demo Page 1" dataResourceId="CMSS_DEMO_PAGE1"/> + <ContentPurpose contentId="CMSS_DEMO_PAGE1" contentPurposeTypeId="SECTION"/> <ContentAssoc contentId="CMSS_PPOINT" contentIdTo="CMSS_DEMO_PAGE1" contentAssocTypeId="SUB_CONTENT" fromDate="2001-01-01 00:00:00"/> <DataResource dataResourceId="CMSS_DEMO_PAGE1_1" dataResourceTypeId="SHORT_TEXT" objectInfo="Sub-content 1"/> <Content contentId="CMSS_DEMO_PAGE1_1" contentTypeId="DOCUMENT" contentName="CMS Site Demo Page 1_1" dataResourceId="CMSS_DEMO_PAGE1_1"/> + <ContentPurpose contentId="CMSS_DEMO_PAGE1_1" contentPurposeTypeId="SECTION"/> <ContentAssoc contentId="CMSS_DEMO_PAGE1" contentIdTo="CMSS_DEMO_PAGE1_1" contentAssocTypeId="SUB_CONTENT" mapKey="sub1" fromDate="2001-01-01 00:00:00"/> <DataResource dataResourceId="CMSS_DEMO_PAGE1_2" dataResourceTypeId="SHORT_TEXT" objectInfo="Sub-content 2"/> <Content contentId="CMSS_DEMO_PAGE1_2" contentTypeId="DOCUMENT" contentName="CMS Site Demo Page 1_2" dataResourceId="CMSS_DEMO_PAGE1_2"/> + <ContentPurpose contentId="CMSS_DEMO_PAGE1_2" contentPurposeTypeId="SECTION"/> <ContentAssoc contentId="CMSS_DEMO_PAGE1" contentIdTo="CMSS_DEMO_PAGE1_2" contentAssocTypeId="SUB_CONTENT" mapKey="sub2" fromDate="2001-01-01 00:00:00"/> </entity-engine-xml> |
Free forum by Nabble | Edit this page |