You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/04/18 07:30:26 UTC

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

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"