svn commit: r688485 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java

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

svn commit: r688485 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java

jleroux@apache.org
Author: jleroux
Date: Sun Aug 24 03:02:10 2008
New Revision: 688485

URL: http://svn.apache.org/viewvc?rev=688485&view=rev
Log:
While at it some formatting

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java?rev=688485&r1=688484&r2=688485&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/IterateSectionWidget.java Sun Aug 24 03:02:10 2008
@@ -73,12 +73,14 @@
         listNameExdr = new FlexibleMapAccessor<Object>(iterateSectionElement.getAttribute("list-name"));
         entryNameExdr = FlexibleStringExpander.getInstance(iterateSectionElement.getAttribute("entry-name"));
         keyNameExdr = FlexibleStringExpander.getInstance(iterateSectionElement.getAttribute("key-name"));
-        if (this.paginateTarget == null || iterateSectionElement.hasAttribute("paginate-target"))
+        if (this.paginateTarget == null || iterateSectionElement.hasAttribute("paginate-target")) {
             this.paginateTarget = FlexibleStringExpander.getInstance(iterateSectionElement.getAttribute("paginate-target"));
+        }
         
         paginate = "true".equals(iterateSectionElement.getAttribute("paginate"));
-        if (iterateSectionElement.hasAttribute("view-size"))
+        if (iterateSectionElement.hasAttribute("view-size")) {
             setViewSize(iterateSectionElement.getAttribute("view-size"));
+        }
         sectionList = new ArrayList<ModelScreenWidget.Section>();
         List childElementList = UtilXml.childElementList(iterateSectionElement);
         Iterator childElementIter = childElementList.iterator();