svn commit: r1791752 - /ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1791752 - /ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml

jleroux@apache.org
Author: jleroux
Date: Tue Apr 18 07:30:26 2017
New Revision: 1791752

URL: http://svn.apache.org/viewvc?rev=1791752&view=rev
Log:
Improved: Proper validation must be there while creating product attributes
(OFBIZ-7452)

Go to Catalog -> product
Select any product and then switch to attributes tab
Find Add Product Attribute form, proper validations must be there.

Thanks: Suraj Khurana

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml?rev=1791752&r1=1791751&r2=1791752&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProductForms.xml Tue Apr 18 07:30:26 2017
@@ -2146,7 +2146,7 @@ under the License.
         header-row-style="header-row" default-table-style="basic-table">
         <auto-fields-service service-name="createProductAttribute"/>
         <field name="productId"><hidden/></field>
-        <field name="attrName"></field>
+        <field name="attrName" required-field="true"></field>
         <field name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
     </form>
     <form name="UpdateProductAttribute" type="list" target="updateProductAttribute" title="" list-name="productAttributes"