Author: jaz
Date: Thu Feb 22 14:05:25 2007 New Revision: 510679 URL: http://svn.apache.org/viewvc?view=rev&rev=510679 Log: added some misc templates for content; BlogMisc data not the best name for this file, but already had templates in there. Modified: ofbiz/trunk/applications/ecommerce/data/DemoBlogMiscData.xml ofbiz/trunk/applications/ecommerce/widget/CommonScreens.xml Modified: ofbiz/trunk/applications/ecommerce/data/DemoBlogMiscData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/data/DemoBlogMiscData.xml?view=diff&rev=510679&r1=510678&r2=510679 ============================================================================== --- ofbiz/trunk/applications/ecommerce/data/DemoBlogMiscData.xml (original) +++ ofbiz/trunk/applications/ecommerce/data/DemoBlogMiscData.xml Thu Feb 22 14:05:25 2007 @@ -26,4 +26,9 @@ <DataResource dataResourceId="BLOG_TPL_TOPLEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Float left" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#FloatLeft" /> <DataResource dataResourceId="BLOG_TPL_TOPCENTER" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Top centered" mimeTypeId="text/html" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/blog/BlogTemplates.xml#TopCenter" /> + <DataResource dataResourceId="ECOM_BLANK" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Plain Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonEmptyDecorator" /> + <DataResource dataResourceId="ECOM_LEFT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftDecorator" /> + <DataResource dataResourceId="ECOM_RIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonRightDecorator" /> + <DataResource dataResourceId="ECOM_LEFTRIGHT" dataResourceTypeId="CONTEXT_FILE" dataTemplateTypeId="SCREEN_COMBINED" dataResourceName="Left/Right Decorator" mimeTypeId="text/html" dataCategoryId="TEMPLATE" createdDate="2004-01-16 01:24:06.522" createdByUserLogin="admin" lastModifiedDate="2004-01-16 19:20:58.891" lastModifiedByUserLogin="admin" objectInfo="component://ecommerce/widget/CommonScreens.xml#CommonLeftRightDecorator" /> + </entity-engine-xml> Modified: ofbiz/trunk/applications/ecommerce/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/widget/CommonScreens.xml?view=diff&rev=510679&r1=510678&r2=510679 ============================================================================== --- ofbiz/trunk/applications/ecommerce/widget/CommonScreens.xml (original) +++ ofbiz/trunk/applications/ecommerce/widget/CommonScreens.xml Thu Feb 22 14:05:25 2007 @@ -95,6 +95,69 @@ </section> </screen> + <!-- Common Decorators --> + <screen name="CommonEmptyDecorator"> + <section> + <actions> + <set field="MainColumnStyle" value="center"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <decorator-section-include name="body"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + <screen name="CommonLeftDecorator"> + <section> + <actions> + <set field="leftbarScreenName" value="leftbar"/> + <set field="MainColumnStyle" value="center"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <decorator-section-include name="body"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + <screen name="CommonRightDecorator"> + <section> + <actions> + <set field="rightbarScreenName" value="rightbar"/> + <set field="MainColumnStyle" value="center"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <decorator-section-include name="body"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + <screen name="CommonLeftRightDecorator"> + <section> + <actions> + <set field="leftbarScreenName" value="leftbar"/> + <set field="rightbarScreenName" value="rightbar"/> + <set field="MainColumnStyle" value="center"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <decorator-section-include name="body"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <!-- forum decorator? --> <screen name="commonForumDecorator"> <section> <actions> |
Free forum by Nabble | Edit this page |