X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fselector%2Fclass_ApplicationHelper.php;h=e5e30e5102f25808c80823ea3a73409ea57c860e;hb=abb86079f043f40ea66f866e6a55e04992c9f448;hp=87f0590f175a4a7ddd6479f02c4163307e9e6a4a;hpb=50d2890511eb23971eb4ee1e392748a42b066def;p=shipsimu.git diff --git a/application/selector/class_ApplicationHelper.php b/application/selector/class_ApplicationHelper.php index 87f0590..e5e30e5 100644 --- a/application/selector/class_ApplicationHelper.php +++ b/application/selector/class_ApplicationHelper.php @@ -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); }