Stub calles added, instance variable renamed
[shipsimu.git] / application / ship-simu / main / commands / web / government / class_WebGovernmentFailedTrainingCommand.php
index 89420676fee120d928e4b3368eeb41429f4869b7..1feecb10e8ca4f2c25d4decd093289fa768f3d47 100644 (file)
@@ -114,6 +114,12 @@ class WebGovernmentFailedTrainingCommand extends BaseCommand implements Commanda
                // *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.