You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2009/09/02 08:25:24 UTC

svn commit: r810374 - in /ofbiz/trunk/specialpurpose/cmssite: data/CmsSiteDemoData.xml widget/CmssiteScreens.xml

Author: hansbak
Date: Wed Sep  2 06:25:24 2009
New Revision: 810374

URL: http://svn.apache.org/viewvc?rev=810374&view=rev
Log:
show a list of public documents within cmssite

Modified:
    ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml
    ofbiz/trunk/specialpurpose/cmssite/widget/CmssiteScreens.xml

Modified: ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml?rev=810374&r1=810373&r2=810374&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml (original)
+++ ofbiz/trunk/specialpurpose/cmssite/data/CmsSiteDemoData.xml Wed Sep  2 06:25:24 2009
@@ -177,5 +177,6 @@
     <Content contentId="PUBLIC_DOCS" contentTypeId="DOCUMENT" contentName="OFBIz public documents" dataResourceId="PUBLIC_DOCS"/>
     <ContentAssoc contentId="CMSS_PPOINT" contentIdTo="PUBLIC_DOCS" contentAssocTypeId="SUB_CONTENT" fromDate="2001-01-01 00:00:00"/>
     <ContentAssoc contentId="CMSS_PPOINT" contentIdTo="APACHE_OFBIZ_HTML" contentAssocTypeId="SUB_CONTENT" fromDate="2001-01-01 00:00:00" mapKey="documents"/>
-
+    <ContentAssoc contentId="CMSS_PPOINT" contentIdTo="APACHE_OFBIZ_PDF" contentAssocTypeId="SUB_CONTENT" fromDate="2001-01-01 00:00:00" mapKey="documents"/>
+    
 </entity-engine-xml>

Modified: ofbiz/trunk/specialpurpose/cmssite/widget/CmssiteScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/cmssite/widget/CmssiteScreens.xml?rev=810374&r1=810373&r2=810374&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/cmssite/widget/CmssiteScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/cmssite/widget/CmssiteScreens.xml Wed Sep  2 06:25:24 2009
@@ -83,4 +83,22 @@
         </section>
     </screen>
 
+    <screen name="publicDocs">
+        <section>
+            <widgets>
+                <decorator-screen name="main-decorator">
+                    <decorator-section name="body">
+                        <container>
+                            <link style="h2" text="The Apache OFBiz document HTML version" target="/cmssite/cms/APACHE_OFBIZ_HTML" target-window="_BLANK" url-mode="plain"></link>
+                        </container>
+                        <container>
+                            <link style="h2" text="The Apache OFBiz document PDF version" target="/cmssite/cms/APACHE_OFBIZ_PDF" target-window="_BLANK" url-mode="plain"></link>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    
+    
 </screens>