svn commit: r1785861 - in /ofbiz/ofbiz-framework/trunk/framework: resources/templates/web.xml widget/src/main/java/org/apache/ofbiz/widget/model/ModelWidget.java

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

svn commit: r1785861 - in /ofbiz/ofbiz-framework/trunk/framework: resources/templates/web.xml widget/src/main/java/org/apache/ofbiz/widget/model/ModelWidget.java

jleroux@apache.org
Author: jleroux
Date: Tue Mar  7 17:11:35 2017
New Revision: 1785861

URL: http://svn.apache.org/viewvc?rev=1785861&view=rev
Log:
No functional changes

While working on OFBIZ-9230 I noticed those needed changes


Modified:
    ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml
    ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ModelWidget.java

Modified: ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml?rev=1785861&r1=1785860&r2=1785861&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml (original)
+++ ofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml Tue Mar  7 17:11:35 2017
@@ -21,13 +21,6 @@
         <param-name>mainDecoratorLocation</param-name>
         <param-value>component://@component-name@/widget/CommonScreens.xml</param-value>
     </context-param>
-    <!--
-    <context-param>
-        <param-name>widgetVerbose</param-name>
-        <param-value>false</param-value>
-        <description>Enable widget boundary comments. See org.apache.ofbiz.widget.model.ModelWidget.widgetBoundaryCommentsEnabled().</description>
-    </context-param>
-    -->
     <context-param>
         <description>Remove unnecessary whitespace from HTML output.</description>
         <param-name>compressHTML</param-name>

Modified: ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ModelWidget.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ModelWidget.java?rev=1785861&r1=1785860&r2=1785861&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ModelWidget.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/widget/src/main/java/org/apache/ofbiz/widget/model/ModelWidget.java Tue Mar  7 17:11:35 2017
@@ -139,7 +139,7 @@ public abstract class ModelWidget implem
             String str = (String) context.get(enableBoundaryCommentsParam);
             if (str != null) {
                 result = "true".equals(str);
-            } else{
+            } else {
                 Map<String, ? extends Object> parameters = UtilGenerics.checkMap(context.get("parameters"));
                 if (parameters != null) {
                     str = (String) parameters.get(enableBoundaryCommentsParam);