Author: jleroux
Date: Fri Mar 6 07:53:21 2009
New Revision: 750799
URL: http://svn.apache.org/viewvc?rev=750799&view=rev
Log:
A patch from Bruno Busco "Now the VisualTheme is changeable from
the
Webtools also." (https://issues.apache.org/jira/browse/
OFBIZ-2229) -
OFBIZ-2229
Modified:
ofbiz/trunk/framework/common/data/CommonTypeData.xml
ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml
Modified: ofbiz/trunk/framework/common/data/CommonTypeData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/data/CommonTypeData.xml?rev=750799&r1=750798&r2=750799&view=diff
=
=
=
=
=
=
=
=
=
=
=
=
==================================================================
--- ofbiz/trunk/framework/common/data/CommonTypeData.xml
(original)
+++ ofbiz/trunk/framework/common/data/CommonTypeData.xml Fri Mar 6
07:53:21 2009
@@ -130,6 +130,8 @@
<VisualThemeResource visualThemeId="DEFAULT"
resourceTypeEnumId="VT_MSG_TMPLT_LOC"
resourceValue="component://common/webcommon/includes/messages.ftl"
sequenceId="01"/>
<VisualThemeResource visualThemeId="DEFAULT"
resourceTypeEnumId="VT_SCREENSHOT"
resourceValue="/images/default-screenshot.gif" sequenceId="01"/>
+ <WebSite webSiteId="WEBTOOLS" siteName="Web Tools"
visualThemeSetId="BACKOFFICE" />
+
<!-- Uom Conversion Purposes -->
<EnumerationType enumTypeId="CONVERSION_PURPOSE"
description="Conversion
Purpose"/>
<Enumeration enumId="INTERNAL_CONVERSION"
enumTypeId="CONVERSION_PURPOSE" enumCode="INTERNAL"
sequenceId="10"
description="Internal Conversion"/>
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/
web.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml?rev=750799&r1=750798&r2=750799&view=diff
=
=
=
=
=
=
=
=
=
=
=
=
==================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml
(original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/
web.xml Fri
Mar 6 07:53:21 2009
@@ -23,6 +23,12 @@
<web-app>
<display-name>Open For Business - Web Tools</display-name>
<description>Common Application Components of the Open For
Business
Project</description>
+
+ <context-param>
+ <param-name>webSiteId</param-name>
+ <param-value>WEBTOOLS</param-value>
+ <description>A unique ID used to look up the WebSite entity to
get
information about catalogs, etc.</description>
+ </context-param>
<context-param>
<param-name>entityDelegatorName</param-name>
<param-value>default</param-value>