Improved: Proper Form Validation should be there while adding new Example Feature.

(OFBIZ-7476)

Thanks: Ankit Joshi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1774776 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Brohl
2016-12-17 15:25:12 +00:00
parent bfdf1dab7e
commit 777a47634c
@@ -58,7 +58,7 @@ under the License.
<field use-when="exampleFeature!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><display/></field>
<field use-when="exampleFeature==null @and exampleFeatureId==null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><ignored/></field>
<field use-when="exampleFeature==null @and exampleFeatureId!=null" name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}"><display description="${uiLabelMap.CommonCannotBeFound}: [${exampleFeatureId}]" also-hidden="false"/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"/>
<field name="description" title="${uiLabelMap.CommonDescription}" required-field="true"/>
<field name="featureSourceEnumId" title="${uiLabelMap.ExampleFeatureSource}">
<drop-down allow-empty="false">
<entity-options entity-name="Enumeration" key-field-name="enumId" description="${description} [${enumCode}]">