Author: hansbak
Date: Thu Jul 16 10:40:07 2009 New Revision: 794619 URL: http://svn.apache.org/viewvc?rev=794619&view=rev Log: sort currency by country and not by abbreviation in form dropdowns Modified: ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml ofbiz/trunk/applications/accounting/widget/CostForms.xml ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml ofbiz/trunk/applications/accounting/widget/GlForms.xml ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml Modified: ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/fixedasset/FixedAssetForms.xml Thu Jul 16 10:40:07 2009 @@ -216,10 +216,10 @@ <display-entity entity-name="FixedAssetStdCostType"/> </field> <field name="amountUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -244,9 +244,9 @@ <field name="fromDate" title="${uiLabelMap.CommonFromDate}"/> <field name="amountUomId"> <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml Thu Jul 16 10:40:07 2009 @@ -319,9 +319,9 @@ <field position="2" name="billingAccountId"><lookup target-form-name="LookupBillingAccount"/></field> <field position="1" name="currencyUomId"> <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml Thu Jul 16 10:40:07 2009 @@ -122,9 +122,9 @@ <field name="amount" position="1"><text/></field> <field position="2" name="currencyUomId" > <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -161,9 +161,9 @@ <field name="amount" position="1"><text/></field> <field position="2" name="currencyUomId" > <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -234,10 +234,10 @@ </field> <field name="actualAmount" position="1" title="${uiLabelMap.AccountingActualCurrencyAmount}"><text/></field> <field name="actualCurrencyUomId" position="2" title="${uiLabelMap.AccountingActualCurrencyUomId}"> - <drop-down allow-empty="true" no-current-selected-key="${uomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml Thu Jul 16 10:40:07 2009 @@ -126,9 +126,9 @@ <field name="accountCurrencyUomId"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/widget/CostForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/CostForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/CostForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/CostForms.xml Thu Jul 16 10:40:07 2009 @@ -57,9 +57,9 @@ </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml Thu Jul 16 10:40:07 2009 @@ -86,9 +86,9 @@ </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> <drop-down no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/widget/GlForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlForms.xml Thu Jul 16 10:40:07 2009 @@ -572,10 +572,10 @@ </field> <field name="origAmount"><text size="30"/></field> <field name="origCurrencyUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlSetupForms.xml Thu Jul 16 10:40:07 2009 @@ -129,10 +129,10 @@ </field> <field name="baseCurrencyUomId" use-when="partyAcctgPreference==null" tooltip="${uiLabelMap.${bsh:agregatedPartyAcctgPreference!= null&&agregatedPartyAcctgPreference.get("baseCurrencyUomId")!=null?"AccountingInheritedValue":""}}"> - <drop-down> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -309,18 +309,18 @@ header-row-style="header-row" default-table-style="basic-table"> <field name="organizationPartyId"><hidden value="${organizationPartyId}"/></field> <field name="uomId" title="${uiLabelMap.CommonFrom} ${uiLabelMap.CommonCurrency}"> - <drop-down no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="uomIdTo" title="${uiLabelMap.CommonTo} ${uiLabelMap.CommonCurrency}"> - <drop-down no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml Thu Jul 16 10:40:07 2009 @@ -259,9 +259,9 @@ <field name="rateAmount" position="1"><text/></field> <field name="rateCurrencyUomId" position="2"> <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryForms.xml Thu Jul 16 10:40:07 2009 @@ -48,10 +48,10 @@ </drop-down> </field> <field name="currencyUomId" required-field="false"> - <drop-down allow-empty="true" no-current-selected-key="USD"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml (original) +++ ofbiz/trunk/applications/content/webapp/content/survey/SurveyForms.xml Thu Jul 16 10:40:07 2009 @@ -228,10 +228,10 @@ <field use-when="surveyQuestionOption!=null" name="surveyOptionSeqId"><hidden/></field> <field name="amountBaseUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/GlobalHRSettingForms.xml Thu Jul 16 10:40:07 2009 @@ -179,9 +179,9 @@ <field name="rateAmount"><text/></field> <field name="rateCurrencyUomId" position="2"> <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml (original) +++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomForms.xml Thu Jul 16 10:40:07 2009 @@ -59,9 +59,9 @@ </field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}"> <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml (original) +++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/CostForms.xml Thu Jul 16 10:40:07 2009 @@ -51,9 +51,9 @@ <field name="offsettingGlAccountTypeId"><hidden/></field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml Thu Jul 16 10:40:07 2009 @@ -51,10 +51,10 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="false" current="selected" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/lookup/LookupForms.xml Thu Jul 16 10:40:07 2009 @@ -70,10 +70,10 @@ header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="SalesForecast" default-field-type="find"/> <field name="currencyUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/ForecastForms.xml Thu Jul 16 10:40:07 2009 @@ -65,10 +65,10 @@ <lookup target-form-name="LookupPartyName"/> </field> <field name="currencyUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Thu Jul 16 10:40:07 2009 @@ -93,9 +93,9 @@ <field name="estimatedAmount" position="1" title="${uiLabelMap.SfaEstimatedAmount}"><text size="25"/></field> <field name="currencyUomId" position="2" title="${uiLabelMap.CommonCurrency}"> <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/lookup/FieldLookupForms.xml Thu Jul 16 10:40:07 2009 @@ -49,10 +49,10 @@ </field> <field name="productStoreId"><lookup target-form-name="/marketing/control/LookupProductStore"/></field> <field name="currencyUom"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -309,10 +309,10 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/order/OrderForms.xml Thu Jul 16 10:40:07 2009 @@ -65,10 +65,10 @@ </field> <field name="currencyUom"> - <drop-down> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/quote/QuoteForms.xml Thu Jul 16 10:40:07 2009 @@ -50,10 +50,10 @@ </drop-down> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -142,9 +142,9 @@ </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml Thu Jul 16 10:40:07 2009 @@ -275,10 +275,10 @@ </field> <field name="description" parameter-name="story" use-when="custRequest==null" encode-output="false"><textarea cols="60" rows="12" default-value="${communicationEvent.content}"/></field> <field name="maximumAmountUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -296,10 +296,10 @@ <lookup target-form-name="LookupPreferredContactMech" target-parameter="fromPartyId"/> </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -393,6 +393,7 @@ <drop-down allow-empty="true"> <entity-options description="${uomId} - ${description}" entity-name="Uom" key-field-name="uomId"> <!--<entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>--> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml Thu Jul 16 10:40:07 2009 @@ -56,9 +56,9 @@ </field> <field name="currencyUomId" use-when="returnHeader==null"> <drop-down no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> 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=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original) +++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Thu Jul 16 10:40:07 2009 @@ -65,10 +65,10 @@ <drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down> </field> <field name="preferredCurrencyUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -100,10 +100,10 @@ <field name="partyTypeId"><ignored/></field> <field name="description" title="${uiLabelMap.CommonDescription}"><text/></field> <field name="preferredCurrencyUomId"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/feature/FeatureForms.xml Thu Jul 16 10:40:07 2009 @@ -364,9 +364,9 @@ <field name="price" title="${uiLabelMap.ProductPrice}" widget-style="required" position="1"><text size="25"/></field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrency}" position="2"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml Thu Jul 16 10:40:07 2009 @@ -139,9 +139,9 @@ </field> <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/product/ProductForms.xml Thu Jul 16 10:40:07 2009 @@ -157,9 +157,9 @@ </field> <field position="1" name="quantityIncluded" title="${uiLabelMap.ProductQuantityIncluded}"><text size="10" maxlength="20"/></field> <field position="2" name="quantityUomId" title="${uiLabelMap.ProductQuantityUomId}"> - <drop-down allow-empty="true"> - <entity-options entity-name="Uom" key-field-name="uomId" description="${description} [${abbreviation}]"> - <entity-constraint name="uomTypeId" operator="not-equals" value="CURRENCY_MEASURE"/> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> + <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> <entity-order-by field-name="description"/> </entity-options> </drop-down> @@ -355,9 +355,9 @@ </field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -803,9 +803,9 @@ </field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}" use-when="supplierProduct==null"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -1165,9 +1165,9 @@ </field> <field name="costUomId" title="${uiLabelMap.CommonCurrency}"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/store/ProductStoreForms.xml Thu Jul 16 10:40:07 2009 @@ -139,9 +139,9 @@ --> <field name="defaultCurrencyUomId"> <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> @@ -813,10 +813,10 @@ </drop-down> </field> <field name="puom" title="${uiLabelMap.ProductUnitOfMeasure}"> - <drop-down allow-empty="true"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> Modified: ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml?rev=794619&r1=794618&r2=794619&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml Thu Jul 16 10:40:07 2009 @@ -95,10 +95,10 @@ <field name="latestCancelDate" title="${uiLabelMap.ProductLatestCancelDate}"><date-time/></field> <field name="estimatedShipCost" title="${uiLabelMap.ProductEstimatedShipCost}"><text/></field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}"> - <drop-down allow-empty="true" current="first-in-list"> - <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> - <entity-order-by field-name="abbreviation"/> + <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> |
Free forum by Nabble | Edit this page |