svn commit: r1799735 - /ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml

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

svn commit: r1799735 - /ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml

Deepak Dixit-5
Author: deepak
Date: Sat Jun 24 07:34:19 2017
New Revision: 1799735

URL: http://svn.apache.org/viewvc?rev=1799735&view=rev
Log:
Improved: Added lookup for contentId field and also added required-field true for pathAlias on EditWebSitePathAlias screen.

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=1799735&r1=1799734&r2=1799735&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/widget/website/WebSiteForms.xml Sat Jun 24 07:34:19 2017
@@ -123,9 +123,10 @@ under the License.
 
         <auto-fields-service service-name="updateWebSitePathAlias" map-name=""/>
         
-        <field name="webSiteId"><display/></field>      
+        <field name="webSiteId"><display/></field>
+        <field name="contentId"><lookup target-form-name="LookupContent"/></field>
         <field name="pathAlias" use-when="webSitePathAlias!=null"><display/></field>
-        <field name="pathAlias" use-when="webSitePathAlias==null"><text/></field>
+        <field name="pathAlias" use-when="webSitePathAlias==null" required-field="true"><text/></field>
         <field name="fromDate" required-field="true"><date-time default-value="${nowTimestamp}"/></field>
         <field name="submitButton" use-when="webSitePathAlias!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
         <field name="submitButton" use-when="webSitePathAlias==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>