Author: buscob
Date: Sun Mar 15 09:21:40 2009
New Revision: 754639
URL:
http://svn.apache.org/viewvc?rev=754639&view=revLog:
Filtered BACKOFFICE only VisualThemes in the Party ListPreferences setting form.
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml?rev=754639&r1=754638&r2=754639&view=diff==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Sun Mar 15 09:21:40 2009
@@ -919,17 +919,20 @@
</row-actions>
<field name="enumId" parameter-name="userPrefTypeId"><hidden value="${enumId}"/></field>
<field name="enumTypeId" parameter-name="userPrefGroupTypeId"><hidden value="${enumTypeId}"/></field>
- <field name="description" title="${uiLabelMap.CommonName}"><display/></field>
- <field name="partyId" title="${uiLabelMap.CommonValue}" use-when="enumId.equals("ORGANIZATION_PARTY")" parameter-name="userPrefValue" >
+ <field name="description" title="${uiLabelMap.CommonEmptyHeader}"><display/></field>
+ <field name="partyId" title="${uiLabelMap.CommonEmptyHeader}" use-when="enumId.equals("ORGANIZATION_PARTY")" parameter-name="userPrefValue" >
<drop-down current="selected" no-current-selected-key="defaultOrganizationPartyId">
<entity-options entity-name="PartyAcctgPrefAndGroup" description="${groupName}"/>
</drop-down>
</field>
<field name="visualThemeId" title="${uiLabelMap.CommonEmptyHeader}" use-when="enumId.equals("VISUAL_THEME")" parameter-name="userPrefValue">
<drop-down current="selected">
- <entity-options entity-name="VisualTheme" description="${description}"/>
+ <entity-options key-field-name="visualThemeId" description="${visualThemeId} - ${description}" entity-name="VisualTheme">
+ <entity-constraint name="visualThemeSetId" operator="equals" value="BACKOFFICE"/>
+ </entity-options>
</drop-down>
</field>
- <field name="submit" title="${uiLabelMap.CommonUpdate}"><submit/></field>
+
+ <field name="submit" title=" "><submit/></field>
</form>
</forms>