svn commit: r915516 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

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

svn commit: r915516 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

bibryam
Author: bibryam
Date: Tue Feb 23 20:59:31 2010
New Revision: 915516

URL: http://svn.apache.org/viewvc?rev=915516&view=rev
Log:
Allow hiding header for multi forms.

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java?rev=915516&r1=915515&r2=915516&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Tue Feb 23 20:59:31 2010
@@ -1105,7 +1105,9 @@
 
         int numOfColumns = 0;
         // ===== render header row =====
-        numOfColumns = this.renderHeaderRow(writer, context, formStringRenderer);
+        if (!getHideHeader()) {
+            numOfColumns = this.renderHeaderRow(writer, context, formStringRenderer);
+        }
 
         // ===== render the item rows =====
         this.renderItemRows(writer, context, formStringRenderer, false, numOfColumns);