svn commit: r946286 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java

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

svn commit: r946286 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java

adrianc
Author: adrianc
Date: Wed May 19 17:08:39 2010
New Revision: 946286

URL: http://svn.apache.org/viewvc?rev=946286&view=rev
Log:
Reverting 946262 and 946264. The changes compiled okay, but they wouldn't run.

I'm going to take a different approach in a future commit.



Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java?rev=946286&r1=946285&r2=946286&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java Wed May 19 17:08:39 2010
@@ -120,7 +120,7 @@ public class ModelWidget implements Seri
         return result;
     }
 
-    public static int getPaginatorNumber(Map<String, Object> context) {
+    public int getPaginatorNumber(Map<String, Object> context) {
         int paginator_number = 0;
         Map<String, Object> globalCtx = UtilGenerics.checkMap(context.get("globalContext"));
         if (globalCtx != null) {
@@ -134,7 +134,7 @@ public class ModelWidget implements Seri
         return paginator_number;
     }
 
-    public static void incrementPaginatorNumber(Map<String, Object> context) {
+    public void incrementPaginatorNumber(Map<String, Object> context) {
         Map<String, Object> globalCtx = UtilGenerics.checkMap(context.get("globalContext"));
         if (globalCtx != null) {
             Boolean NO_PAGINATOR = (Boolean) globalCtx.get("NO_PAGINATOR");
@@ -147,12 +147,12 @@ public class ModelWidget implements Seri
         }
     }
 
-    public static LocalDispatcher getDispatcher(Map<String, Object> context) {
+    public LocalDispatcher getDispatcher(Map<String, Object> context) {
         LocalDispatcher dispatcher = (LocalDispatcher) context.get("dispatcher");
         return dispatcher;
     }
 
-    public static Delegator getDelegator(Map<String, Object> context) {
+    public Delegator getDelegator(Map<String, Object> context) {
         Delegator delegator = (Delegator) context.get("delegator");
         return delegator;
     }