Results 1 to 2 of 2
  1. ldj
    ldj is offline
    ldj's Avatar
    Posts
    256 Posts
    Global Posts
    264 Global Posts
       #1  
    I've set up my appMenu in my application in the same way I have many times before. I've never had a problem before, but now I keep getting

    [QUOTE] Relaunch requested for application: <appID> /QUOTE]

    When the stage is displayed, the menu is in the upper-left corner, but when I click it, I receve the above message and no menu is displayed.

    The code I am using to instantiate the menu is as follows:

    Code:
    this.controller.setupWidget(Mojo.Menu.appMenu, appAssistant.CONST_MENUATTR, appAssistant.CONST_MENU_MODEL);
    and in my appAssistant I have:

    Code:
    AppAssistant.prototype.CONST_MENUATTR = {omitDefaultItems: true};
    AppAssistant.prototype.CONST_MENU_MODEL = {visible: true,
    	items: [
    	        {label: "About", command: "do-about"},
    	        {label: "Help/Feedback", command: "do-help"}	        ]
    	};
    As I say, this code and approach has always worked before. I've tried declaring handleCommand in both the settingsAssistant (where the menu is shown) and in appAssistant:

    Code:
     AppAssistant.prototype.handleCommand = function(event){
        Mojo.Log.info("@@@@@@ handleCommand");
    }
    but my @@@@@@ handleCommand message is never displayed.
    I've also tried substituting the constants for the actual strings, but that doesn't make any difference either!

    There are no errors displayed anywhere in my app btw...

    Any thoughts?

    Thanks
  2. #2  
    I'm having the same issue, bumping to see if either you figured it out or someone else can help.

    I posted about it on the "official" dev forums topic id 8655 (when visiting developer dot palm dot com /distribution/viewtopic.php?t=8655, stupid post count preventing links...)

Posting Permissions