You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2010/12/31 06:13:17 UTC

svn commit: r1054054 - /ofbiz/trunk/framework/common/widget/LookupScreens.xml

Author: adrianc
Date: Fri Dec 31 05:13:17 2010
New Revision: 1054054

URL: http://svn.apache.org/viewvc?rev=1054054&view=rev
Log:
Bug fix - visual themes list didn't work for applications that don't have a Website record. Visual themes list now defaults to BACKOFFICE.

Modified:
    ofbiz/trunk/framework/common/widget/LookupScreens.xml

Modified: ofbiz/trunk/framework/common/widget/LookupScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/LookupScreens.xml?rev=1054054&r1=1054053&r2=1054054&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/LookupScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/LookupScreens.xml Fri Dec 31 05:13:17 2010
@@ -144,8 +144,9 @@ under the License.
                 <set field="title" value="${uiLabelMap.CommonVisualThemes}"/>
                 <set field="parameters.presentation" value="window"/>
                 <entity-one entity-name="WebSite" value-field="webSite"/>
+                <set field="visualThemeSetId" from-field="webSite.visualThemeSetId" default-value="BACKOFFICE" />
                 <entity-condition entity-name="VisualTheme" list="visualThemes">
-                    <condition-expr field-name="visualThemeSetId" from-field="webSite.visualThemeSetId"/>
+                    <condition-expr field-name="visualThemeSetId" from-field="visualThemeSetId" />
                 </entity-condition>
             </actions>
             <widgets>