]> git.mxchange.org Git - shipsimu.git/commitdiff
Updated to latest core changes
authorRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 18:01:55 +0000 (18:01 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2009 18:01:55 +0000 (18:01 +0000)
application/selector/class_ApplicationHelper.php
application/ship-simu/class_ApplicationHelper.php

index 87f0590f175a4a7ddd6479f02c4163307e9e6a4a..e5e30e5102f25808c80823ea3a73409ea57c860e 100644 (file)
@@ -213,6 +213,12 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                // Get a controller instance as well
                $this->controllerInstance = $resolverInstance->resolveController();
 
+               // Get a web output class
+               $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class', array($this));
+
+               // Set it in this application
+               $this->setWebOutputInstance($outputInstance);
+
                // Handle the request
                $this->controllerInstance->handleRequest($requestInstance, $responseInstance);
        }
index e0a772878549254dca5cc8eb40eb239ed165184c..d85438a054db7e6a7781398cdefee154cfa0254b 100644 (file)
@@ -215,6 +215,12 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
                // Get a controller instance as well
                $this->controllerInstance = $resolverInstance->resolveController();
 
+               // Get a web output class
+               $outputInstance = ObjectFactory::createObjectByConfiguredName('output_class', array($this));
+
+               // Set it in this application
+               $this->setWebOutputInstance($outputInstance);
+
                // Handle the request
                $this->controllerInstance->handleRequest($requestInstance, $responseInstance);
        }