svn commit: r1809378 - /ofbiz/ofbiz-framework/trunk/applications/content/widget/content/ContentForms.xml

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

svn commit: r1809378 - /ofbiz/ofbiz-framework/trunk/applications/content/widget/content/ContentForms.xml

jleroux@apache.org
Author: jleroux
Date: Sat Sep 23 08:43:11 2017
New Revision: 1809378

URL: http://svn.apache.org/viewvc?rev=1809378&view=rev
Log:
Improved: Required field indicator (*) is missing on the Add an
association section
(OFBIZ-9748)

1. Go to, Content.
2. Find contents using the find form and select any content from the list./
3. Click on the submenu "Association"
4. ContentIdTo and ContentAssocTypeId are required field in add association
form, the indicator is missing from the UI.

Link to the form,
https://demo-trunk.ofbiz.apache.org/content/control/createContentAssoc

Thanks: Rohit Rai

Modified:
    ofbiz/ofbiz-framework/trunk/applications/content/widget/content/ContentForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/content/widget/content/ContentForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/widget/content/ContentForms.xml?rev=1809378&r1=1809377&r2=1809378&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/widget/content/ContentForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/widget/content/ContentForms.xml Sat Sep 23 08:43:11 2017
@@ -267,10 +267,10 @@ under the License.
         header-row-style="header-row" default-table-style="basic-table">
         <auto-fields-entity entity-name="ContentAssoc"/>
         <field name="contentId"><display description="${contentId}"/></field>
-        <field name="contentIdTo" map-name="currentValue">
+        <field name="contentIdTo" map-name="currentValue" required-field="true">
             <lookup target-form-name="LookupContent"/>
         </field>
-        <field name="contentAssocTypeId">
+        <field name="contentAssocTypeId" required-field="true">
             <drop-down allow-empty="true">
                 <entity-options entity-name="ContentAssocType">
                     <entity-order-by field-name="description"/>