Author: akashjain
Date: Sat Sep 23 09:06:13 2017
New Revision: 1809379
URL:
http://svn.apache.org/viewvc?rev=1809379&view=revLog:
Improved: Required field indicator (*) is missing from the required field on create website content form, applied patch from jira issue (OFBIZ-9741)
1. Go to Content -> WebSites
2. Select a website from the list of sites.
3. click on content from the submenu
4. Content Id is a required parameter for the service, a required field indicator must be placed on the form.
Thanks, Rohit Rai for your contribution.
Modified:
ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml?rev=1809379&r1=1809378&r2=1809379&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml Sat Sep 23 09:06:13 2017
@@ -184,7 +184,7 @@ under the License.
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createWebSiteContent"/>
<field name="webSiteId" map-name="webSite"><display also-hidden="true"/></field>
- <field name="contentId"><lookup target-form-name="LookupContent"/></field>
+ <field name="contentId" required-field="true"><lookup target-form-name="LookupContent"/></field>
<field name="webSiteContentTypeId">
<drop-down allow-empty="false">
<entity-options entity-name="WebSiteContentType">