Author: jleroux
Date: Sun Aug 24 03:02:10 2008
New Revision: 688485
URL:
http://svn.apache.org/viewvc?rev=688485&view=revLog:
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();