Jacques,
I suggested removing the default-value, not the entire set element. Did
you test this change with the various themes?
-Adrian
jler...@apache.org wrote:
Author: jleroux
Date: Thu Sep 3 16:43:08 2009
New Revision: 811020
URL: http://svn.apache.org/viewvc?rev=811020&view=rev
Log:
Fix https://issues.apache.org/jira/browse/OFBIZ-2885 as suggested by Adrian -
OFBIZ-2885
Modified:
ofbiz/trunk/framework/common/widget/CommonScreens.xml
Modified: ofbiz/trunk/framework/common/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/CommonScreens.xml?rev=811020&r1=811019&r2=811020&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/CommonScreens.xml Thu Sep 3 16:43:08
2009
@@ -129,11 +129,6 @@
<field-map field-name="themeResources"
from-field="layoutSettings"/>
</service>
<set field="layoutSettings" from-field="themeResources"
default-value="${layoutSettings}" global="true"/>
- <set field="headerTemplateLocation"
from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
default-value="component://common/webcommon/includes/header.ftl"/>
- <set field="footerTemplateLocation"
from-field="layoutSettings.VT_FTR_TMPLT_LOC[0]"
default-value="component://common/webcommon/includes/footer.ftl"/>
- <set field="appbarTemplateLocation"
from-field="layoutSettings.VT_NAV_TMPLT_LOC[0]"
default-value="component://common/webcommon/includes/appbar.ftl"/>
- <set field="messagesTemplateLocation"
from-field="layoutSettings.VT_MSG_TMPLT_LOC[0]"
default-value="component://common/webcommon/includes/messages.ftl"/>
-
<property-map resource="CommonHelpUrls" map-name="helpUrlsMap"
global="true"/>
</actions>
<widgets>
@@ -209,7 +204,7 @@
<field-map field-name="userPrefGroupTypeId"
value="GLOBAL_PREFERENCES"/>
</service>
<set field="userPreferences" from-field="prefResult.userPrefMap"
global="true"/>
-
+
<property-map resource="general" map-name="generalProperties"
global="true"/>
<set field="defaultVisualThemeId"
from-field="generalProperties.defaultVisualThemeId" default-value="SMOOTH_FEATHER"/>
<set field="visualThemeId" from-field="userPreferences.VISUAL_THEME"
default-value="${defaultVisualThemeId}" global="true"/>