Index: /website/lib/views/Servlet.class.php
===================================================================
--- /website/lib/views/Servlet.class.php (revision 1904)
+++ /website/lib/views/Servlet.class.php (revision 1908)
@@ -27,4 +27,5 @@
     function _preProcess()
     {
+        ob_start();
         $this->setContentType("text/html", "charset=utf-8");
         if($_SERVER['REQUEST_METHOD'] == "GET"){
@@ -44,6 +45,5 @@
     
     function processRequest(){
-        ob_start();
-        $this->_preProcess();
+        //$this->_preProcess();
         $this->_postProcess();
        ob_end_flush();
Index: /website/lib/views/StandardForm.class.php
===================================================================
--- /website/lib/views/StandardForm.class.php (revision 1907)
+++ /website/lib/views/StandardForm.class.php (revision 1908)
@@ -47,5 +47,6 @@
 
 
-        
+        $this->loadTemplate("index");
+        $this->_preProcess(); 
         foreach($this->fields as $key=>$value){
             $this->tbs->MergeField($key, $value);
@@ -56,5 +57,5 @@
         //$this->tbs->MergeField("onload");
     
-        $this->loadTemplate("index");
+
     }
     
