(no commit message)
[utils] / wicket / components / src / main / java / org / wamblee / wicket / page / WebApplicationBasePage.java
index 7a90c76484bcd5a1d67a9f007dffb79baf9d6859..b0ac386d13351b747faa4f604279dbb316fc9c01 100644 (file)
@@ -41,7 +41,7 @@ public class WebApplicationBasePage extends WebPage {
 
     protected WebApplicationBasePage() {
         super();
-        
+
         setEnabled(false);
         init();
     }
@@ -92,17 +92,6 @@ public class WebApplicationBasePage extends WebPage {
         addBehavior(new ExpirePageImmediatelyBehavior());
     }
 
-    /**
-     * Flushes the entitymanager immedately after rendering to make sure that
-     * errors are caught early.
-     * 
-     * @param aEntityManager
-     *            Contextual reference to an entity manager.
-     */
-    protected void flushEntityManagerAfterRender(EntityManager aEntityManager) {
-        addBehavior(new FlushEntityManagerBehavior(aEntityManager));
-    }
-
     /**
      * Adds a specific behavior to the page.
      * 
@@ -130,7 +119,7 @@ public class WebApplicationBasePage extends WebPage {
         super.onAfterRender();
         behaviors.onAfterRender(this);
     }
-    
+
     @Override
     protected void onDetach() {
         super.onDetach();