Author: jacopoc Date: Sat Sep 17 10:47:30 2016 New Revision: 1761187 URL: http://svn.apache.org/viewvc?rev=1761187&view=rev Log: Improved: added check for required input fields in the "Add Facility Party Role" screen. (OFBIZ-7464)
Thanks: Avnindra Sharma for the report and the patch. Modified: ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml Modified: ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml?rev=1761187&r1=1761186&r2=1761187&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml (original) +++ ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml Sat Sep 17 10:47:30 2016 @@ -658,10 +658,10 @@ under the License. header-row-style="header-row" default-table-style="basic-table"> <auto-fields-entity entity-name="FacilityParty"/> <field name="facilityId"><hidden/></field> - <field name="partyId"> + <field name="partyId" required-field="true"> <lookup target-form-name="LookupPartyName"/> </field> - <field name="roleTypeId"> + <field name="roleTypeId" required-field="true"> <drop-down allow-empty="true"> <entity-options entity-name="RoleType"/> </drop-down>