svn commit: r649399 - /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: r649399 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

jacopoc
Author: jacopoc
Date: Fri Apr 18 01:01:57 2008
New Revision: 649399

URL: http://svn.apache.org/viewvc?rev=649399&view=rev
Log:
Implemented support for skip-start attribute in form of type "multi".

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=649399&r1=649398&r2=649399&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 Fri Apr 18 01:01:57 2008
@@ -1022,7 +1022,9 @@
 
     public void renderMultiFormString(Writer writer, Map context, FormStringRenderer formStringRenderer, int positions) throws IOException {
         StringBuffer buffer = new StringBuffer();
-        formStringRenderer.renderFormOpen(buffer, context, this);
+        if (!skipStart) {
+            formStringRenderer.renderFormOpen(buffer, context, this);
+        }
 
         // render formatting wrapper open
         formStringRenderer.renderFormatListWrapperOpen(buffer, context, this);