Author: hansbak
Date: Fri Jul 9 02:34:22 2010
New Revision: 962392
URL:
http://svn.apache.org/viewvc?rev=962392&view=revLog:
add a explanation how the 'widgetVerbose' parameter can be used in web.xml and comment out the setting in the example component because widget comments should be shown out of the box there.
Modified:
ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml
ofbiz/trunk/framework/widget/config/widget.properties
Modified: ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml?rev=962392&r1=962391&r2=962392&view=diff==============================================================================
--- ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml (original)
+++ ofbiz/trunk/framework/example/webapp/example/WEB-INF/web.xml Fri Jul 9 02:34:22 2010
@@ -41,11 +41,11 @@ under the License.
<param-value>component://example/widget/example/CommonScreens.xml</param-value>
<description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
</context-param>
- <context-param>
+ <!-- context-param>
<param-name>widgetVerbose</param-name>
<param-value>false</param-value>
- <description>Enable widget boundary comments. See org.ofbiz.widget.ModelWidget.widgetBoundaryCommentsEnabled().</description>
- </context-param>
+ <description>Enable/disable widget boundary comments. will override widget.properties See org.ofbiz.widget.ModelWidget.widgetBoundaryCommentsEnabled().</description>
+ </context-param-->
<context-param>
<param-name>compressHTML</param-name>
<param-value>false</param-value>
Modified: ofbiz/trunk/framework/widget/config/widget.properties
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/config/widget.properties?rev=962392&r1=962391&r2=962392&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/config/widget.properties (original)
+++ ofbiz/trunk/framework/widget/config/widget.properties Fri Jul 9 02:34:22 2010
@@ -21,6 +21,7 @@
#compress.HTML=true
# Enable screen widget boundary comments
+# 'false' can be overwritten by a 'widgetVerbose' parameter in the web.xml file see web.xml in the example component how to do this
widget.verbose=true
# Default number of items to be displayed per page in a list form