click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r755001 - /incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java
Date Mon, 16 Mar 2009 20:45:21 GMT
Author: sabob
Date: Mon Mar 16 20:45:21 2009
New Revision: 755001

URL: http://svn.apache.org/viewvc?rev=755001&view=rev
Log:
Removed #onProcesscheck. With new fine grained #processPage there is no need for #onProcessCheck

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java?rev=755001&r1=755000&r2=755001&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/ClickServlet.java Mon Mar 16
20:45:21 2009
@@ -502,11 +502,6 @@
 
             ControlRegistry controlRegistry = ControlRegistry.getThreadLocalRegistry();
 
-            // Check if pre process hook vetoes processing to continue
-            if (!onProcessCheck(page, context, controlRegistry)) {
-                return;
-            }
-
             continueProcessing = performOnProcess(page, context, controlRegistry);
 
             if (continueProcessing) {
@@ -1708,21 +1703,6 @@
         }
     }
 
-    /**
-     * Returns true if the Click onProcess event should start, false otherwise.
-     * <p/>
-     * This method act as a hook for subclasses to determine if onProcess should
-     * fire or not.
-     *
-     * @param page the page to process
-     * @param context the request context
-     * @param controlRegistry the request control registry
-     * @return true if processing should continue, false otherwise
-     */
-    boolean onProcessCheck(Page page, Context context, ControlRegistry controlRegistry) {
-        return true;
-    }
-
     // ---------------------------------------------------------- Inner Classes
 
     /**



Mime
View raw message