Stub calles added, instance variable renamed
[shipsimu.git] / application / ship-simu / main / commands / web / government / class_WebGovernmentFailedStartupCommand.php
index 31d56b3d8d16842b8d0ff3a846daaebf3652b15f..753edcda69a592ae3c47e5d63a48eac1a067a5fe 100644 (file)
@@ -114,6 +114,12 @@ class WebGovernmentFailedStartupCommand extends BaseCommand implements Commandab
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('government_failed_area_menu_class', array($appInstance));
 
+               // Render the menu
+               $menuInstance->renderMenu();
+
+               // Transfer it to the template engine instance
+               $menuInstance->transferToTemplateEngine();
+
                // ... and all variables. This should be merged together in a pattern
                // to make things easier. A cache mechanism should be added between
                // these two calls to cache compiled templates.