Author: jacopoc
Date: Tue Jun 26 09:46:58 2012
New Revision: 1353898
URL: http://svn.apache.org/viewvc?rev=1353898&view=rev
Log:
Small enhancements to the job search form (drop down maintains last selected
value for all fields) and to the schedule job form (max retry is set to 0 by
default to avoid to run forever on error by default).
Modified:
ofbiz/trunk/framework/webtools/widget/ServiceForms.xml
Modified: ofbiz/trunk/framework/webtools/widget/ServiceForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/ServiceForms.xml?rev=1353898&r1=1353897&r2=1353898&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/ServiceForms.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/ServiceForms.xml Tue Jun 26 09:46:58
2012
@@ -42,7 +42,7 @@ under the License.
</field>
<field name="SERVICE_INTERVAL" title="${uiLabelMap.WebtoolsInterval}"
tooltip="${uiLabelMap.WebtoolsForUseWithFrequency}"><text/></field>
<field name="SERVICE_COUNT" title="${uiLabelMap.WebtoolsCount}"
tooltip="${uiLabelMap.WebtoolsNumberOfTimeTheJobWillRun}"><text
default-value="1"/></field>
- <field name="SERVICE_MAXRETRY" title="${uiLabelMap.WebtoolsMaxRetry}"
tooltip="${uiLabelMap.WebtoolsNumberOfJobRetry}"><text/></field>
+ <field name="SERVICE_MAXRETRY" title="${uiLabelMap.WebtoolsMaxRetry}"
tooltip="${uiLabelMap.WebtoolsNumberOfJobRetry}"><text
default-value="0"/></field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit
button-type="button"/></field>
</form>
@@ -60,7 +60,7 @@ under the License.
<field name="jobId" title="${uiLabelMap.CommonId}"><text-find/></field>
<field name="serviceName"
title="${uiLabelMap.WebtoolsServiceName}"><text-find/></field>
<field name="statusId" title="${uiLabelMap.CommonStatus}">
- <drop-down allow-empty="true" current-description=""
current="selected" no-current-selected-key="SERVICE_PENDING">
+ <drop-down allow-empty="true">
<entity-options description="${description}"
key-field-name="statusId" entity-name="StatusItem">
<entity-constraint name="statusTypeId" operator="equals"
value="SERVICE_STATUS"/>
<entity-order-by field-name="description"/>