public static function __run(AppExecutionContext $context, MMapResponse $response) { //DEBUG $context->setIncludeBody(true); $response->appendToBody(file_get_contents('./extern/js/eyeos/ui/widgets/TextArea.js')); }
private static function startLogin(MMapResponse $response) { // start Process $loginProcess = new Process('login'); ProcManager::getInstance()->execute($loginProcess); // prepare context and execute application $loginAppDesc = new EyeosApplicationDescriptor('login'); $appContext = new AppExecutionContext(); $appContext->setApplicationDescriptor($loginAppDesc); $appContext->setIncludeBody(true); $appContext->setProcess($loginProcess); MMapGetApp::getInstance()->processRequest(MMapManager::getCurrentRequest(), $response, $appContext); }