Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1686674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicolas Malin
2015-06-20 21:58:05 +00:00
parent 61fa8dec69
commit 8995c4fd02
30 changed files with 216 additions and 221 deletions
@@ -187,9 +187,7 @@ under the License.
title="${uiLabelMap.ExampleDropDownField3Title}"
tooltip="${uiLabelMap.ExampleToDo}" tooltip-style="button-text">
<drop-down>
<entity-options entity-name="ExampleType"
key-field-name="exampleTypeId"
description="${description}">
<entity-options entity-name="ExampleType" key-field-name="exampleTypeId">
<entity-order-by field-name="-description"/>
</entity-options>
</drop-down>
@@ -215,8 +213,7 @@ under the License.
title="${uiLabelMap.ExampleDropDownField6Title}"
tooltip="${uiLabelMap.ExampleToDo}" tooltip-style="button-text">
<drop-down>
<entity-options entity-name="ExampleType"
description="${description}"/>
<entity-options entity-name="ExampleType"/>
</drop-down>
</field>
<!-- ***************** -->
@@ -226,9 +223,7 @@ under the License.
title="${uiLabelMap.ExampleDropDownField7Title}"
tooltip="${uiLabelMap.ExampleToDo}" tooltip-style="button-text">
<drop-down>
<entity-options entity-name="ExampleType"
key-field-name="exampleTypeId"
description="${description}">
<entity-options entity-name="ExampleType" key-field-name="exampleTypeId">
<entity-constraint name="exampleTypeId"
value="INSPIRED"
operator="greater"/>
@@ -394,7 +389,7 @@ under the License.
<form name="SelectionBoxesExampleForm" type="single">
<field name="ExampleTypeId">
<check>
<entity-options key-field-name="exampleTypeId" description="${description}" entity-name="ExampleType"/>
<entity-options key-field-name="exampleTypeId" entity-name="ExampleType"/>
</check>
</field>
</form>