Author: jleroux
Date: Sat Feb 24 12:57:27 2007 New Revision: 511343 URL: http://svn.apache.org/viewvc?view=rev&rev=511343 Log: A WorkEffort patch from Eriks Dobelis "Making 'Standard Hourly Rate' as default entry in dropdowns" (https://issues.apache.org/jira/browse/OFBIZ-755). Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.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?view=diff&rev=511343&r1=511342&r2=511343 ============================================================================== --- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original) +++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Sat Feb 24 12:57:27 2007 @@ -218,7 +218,7 @@ <auto-fields-service service-name="createPartyRate"/> <field name="partyId"><hidden/></field> <field name="rateTypeId" title="${uiLabelMap.TimesheetRateType}"> - <drop-down allow-empty="false"> + <drop-down no-current-selected-key="STANDARD" allow-empty="false"> <entity-options entity-name="RateType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> Modified: ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml?view=diff&rev=511343&r1=511342&r2=511343 ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml Sat Feb 24 12:57:27 2007 @@ -51,7 +51,7 @@ <field name="timesheetId" map-name="currentTimesheet"><hidden/></field> <field name="partyId" map-name="userLogin"><hidden/></field> <field name="rateTypeId" title="${uiLabelMap.TimesheetRateType}" widget-style="selectBox"> - <drop-down> + <drop-down no-current-selected-key="STANDARD" > <entity-options entity-name="RateType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> @@ -223,7 +223,7 @@ <field name="partyId" title="${uiLabelMap.PartyParty}"><lookup target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></field> <field name="rateTypeId" title="${uiLabelMap.TimesheetRateType}" widget-style="selectBox"> - <drop-down> + <drop-down no-current-selected-key="STANDARD"> <entity-options entity-name="RateType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?view=diff&rev=511343&r1=511342&r2=511343 ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Sat Feb 24 12:57:27 2007 @@ -651,7 +651,7 @@ <field name="workEffortId"><hidden/></field> <field name="partyId" title="${uiLabelMap.PartyParty}"><lookup target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></field> <field name="rateTypeId" title="${uiLabelMap.TimesheetRateType}" widget-style="selectBox"> - <drop-down> + <drop-down no-current-selected-key="STANDARD"> <entity-options entity-name="RateType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> @@ -683,7 +683,7 @@ <field name="partyId" title="${uiLabelMap.PartyParty}"><lookup size="12" target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></field> <field name="rateTypeId" title="${uiLabelMap.TimesheetRateType}" widget-style="selectBox"> - <drop-down> + <drop-down no-current-selected-key="STANDARD"> <entity-options entity-name="RateType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> @@ -713,7 +713,7 @@ <field name="partyId" title="${uiLabelMap.PartyParty}"><lookup target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></field> <field name="rateTypeId" title="${uiLabelMap.TimesheetRateType}" widget-style="selectBox"> - <drop-down> + <drop-down no-current-selected-key="STANDARD"> <entity-options entity-name="RateType" description="${description}"> <entity-order-by field-name="description"/> </entity-options> |
Free forum by Nabble | Edit this page |