Redirect the user to the different menu item

Hi guys,.

JHeadstart 11.1.1.3.35

I use the JhsTree menu structure. One of my menu items is a wizard that goes directly to the insert mode, so at the end of the wizard, I redirect the user to a different group (menu item). The problem is that while the new menu page is displayed to the user, the previous menu item (Assistant menu) is still selected, so that if you try and you reenter the Wizard menu item, nothing happens as the structure of the menu and the page are out of sync (and the menu believes that you are already on the page of the wizard even if you're not)

My question is, also the creation of a navigation to a different menu item rule, how can I programmatically change the selected menu item?

See you soon,.
Brent

Brent,

No, you can remove these goods safely.

Steven Davelaar,
JHeadstart team.

Tags: Java

Similar Questions

  • How to avoid the default menu items?

    All of hell

    I'm developing an app for BlackBerry handheld.  I add menu items that are specific to the different screens of my application by substituting the makeMenu (.) method. I DON'T want to include default menu items...

    Select Mode
    Page view
    To find
    Copy
    Call 12093...
    12093 SMS...
    12093 MMS...
    Add to Contacts

    Now I do menu.deleteAll () in the first line of the makeMenu (.) method. Suggest me if this isn't the right way?

    It deletes all the elements default menu above.

    Now, in the application, the specific menu item get highlighted based on the next action of logic, that I do a menu.setDefault (menuItem).

    But for the instance when some contact number is selected on the screen (usually 'call' option get highlighted on the menu, but here we have removed) the highlight of the menu according to my works item IS NOT pathological and it always shows the menu first point highlighted.

    I suspect it might be because the default menu items have been added (by program then deleted). That's why I decided to override the onMenu (.) method where I'll call makeMenu (...) to the new instance of the Menu (that are not default menu items), so I'll see the menu using menu.show () and then return true.

    Now by the fix above, the highlight of the menu on my terms item works fine regardless of some contact number is highlighted on the screen or not, BUT the menu is displayed on the upper right and not on the bottom left where it should be.

    This approach is correct, or there is a better way to approach this?

    Thank you

    Mukesh

    OK guys... I had the problem!

    The problem is that if any time a highlighted menu item is removed (as in our case, menu item 'Call' is deleted by menu.deleteAll (()) the priority agenda menu get highlighted. This is just the reason why the first menu item get highlighted if the phone number is selected.

    To fix this, I highlight the appropriate menu option by setting up priority for her.

  • dynamically create and destroy the custom menu item

    I have a standard TestStand platform that I use on multiple systems.  On some systems, I have a few sequences of calibration and I would like to have the Update menu to have the RunSequence of these sequences of calibration.  I know how to manually create these menu items, but they are no longer valid for some sequence files.  I would use the sequence SequenceFileLoad to dynamically create menu items and the SequenceFileUnload to destroy these menu items.

    I've played around with the API, but cannot determine the correct path to get to the create and destroy the custom menu items.  Does anyone know how this can be done?

    Thank you

    Matthew

    Yes, see the online help for the members of the following APIs:

    Engine.GetEditTimeToolMenuItems

    EditTimeMenuItems

    EditTimeMenuItem

    Basically, you get a collection of tool using Engine.GetEditTimeToolMenuItems () menu items and then call EditTimeMenuItems.Insert () or EditTimeMenuItems.Remove (). If you insert a you get returns an EditTimeMenuItem object on which you can change the settings.

    In addition, since it has an expression to hide items in menu tool, you need not necessarily to destroy, you can hide them instead.

    Hope this helps,

    -Doug

  • Getting context object null when using the custom menu item.

    Hi all

    I implemented a sample application to add menu item custom to the list of messages and we test this build on 9000 os 5.0.0.41 Blackberryy 1

    On BB 9000, we have 2 message inbox, A like Blackberry by default message inbox and B as long as the Inbox for the e-mail account, I have set up on BB 900.
    I implemented the menu custom application to add menu on the message list option.
    I see this option on both my inbox, the question that I am facing is when I click on the menu item by selecting the email in the message of default A Blackberry inbox I can get the context object were like when I click on the same message next to the Inbox B I'm always get the context as a NULL object.

    Below is the code I used to add the custom menu item.

    Public Shared Sub main (String [] args)
    {
    If (args! = null & args.length > 0) {}
    call from another entry point. Add menu items mark as Spam and mark as suspects.
    {if(args[0].) (Equals ("GUI"))}
    try {}
                            
    create menu items.

    MyMenu ApplicationMenuItem = new EmailFile();
    Add the menu item in the list view and send by e-mail.
    Amir ApplicationMenuItemRepository = ApplicationMenuItemRepository.getInstance ();
    amir.addMenuItem (ApplicationMenuItemRepository.MENUITEM_MESSAGE_LIST, mymenu);
    } catch (Exception e) {}
    Utility.debugLog (try (), CLASSNAME, 'hand', Utility.EXCEPTION_INFO);
    System.out.println("Error:"+e.ToString());)
    }
    } else {}
    show on the application of spam...
    AppMain _theApp = new AppMain();
    _theApp.enterEventDispatcher ();
    }
    } else {}
    show on the application of spam...
    AppMain _theApp = new AppMain();
    _theApp.enterEventDispatcher ();
    }
    }

    Can we know what is the problem in my code or something I'm missing.

    Thanks in advance.

    Navneet Gupta.

    application menu items have been bugged for ages. There is nothing you can do except change your workflow. in some cases, you can recover the app screen and trying to extract something of these fields, but becomes more difficult in the new OS versions because of custom fields used by rim.

  • How to list the PHONE menu items

    Hello.

    I am building an app that injects the menu and the wheel to the up and down events to access elements of the PHONE menu.

    To be precise, in appeal, at any given time my application needs to choose an item from this menu.

    So I inject the MENU, then the Dial-UP (for a step or two), then ENTER.

    Now, I need to be sure that I pressed the right menu item.

    This is why I would like the ApplicationMenuItemRepository.MENUITEM_PHONE to the list

    Is it possible to do?

    There is no method that returns the menu of a BlackBerry application or the item currently selected in the menu.

  • Get the current menu item selected

    Hello

    I use Jdeveloper 11.1.2.3.0

    I want to set the property collapse of the separator group based on the selected menu item by using the expression language.

    How to get the current selected menu item.

    Best regards

    Haytham Talha

    Hello

    Here is an example using setPropertyListener to set the selected item and use it to collapse of panelSplitter:

    
         
              
                   
             
            
              
           
         
                   
    
    
         
              
         
         
              
         
    
    

    Jean Lou

  • compare the documents menu item missing

    I downloaded the trial version of adobe XI here: compare two PDFs, the file comparison tool | Adobe Acrobat XI

    I tried to repair the installation, but still not see the view-> menu item to compare Documents

    Thank you

    Make sure that you use Adobe Acrobat, Adobe Reader.

  • Drop menus appear on your mouse on the main Menu items?

    Sorry if this seems obvious, but I am new to Muse. After viewing all the tutorials I can't display the drop down menus on overview of the main menu items (to display submenu choice on the main categories page).

    There must be an easy way to do it. Can anyone offer advice?

    Thanks in advance.

    Hello

    If you have subpages created for top level pages and put you in a menu, while also changing the "Menu Type" to "All the Pages" in the menus, it should appear the submenus when you hover over the top level menu items. Here's a little video that I created to show you how it works: http://screencast.com/t/jEAhCpL8x

    I hope this helps.

    See you soon

    Parikshit

  • How can I increase the font size of the Explorer - not the pages - but the browser menu items

    I wants to expand menu items and other items in the toolbar, but can't seem to do it.
    How this is done?

    This extension allows to adjust the font size for the user interface:

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • I want to change the button menu items menu blackberry

    In my blackberry app I want to erase the current option to menu point (Swith application, close, Select) and add new menu button menu options.

    I tried the below code but nothing is happening for me.

    if (blackberry.ui.menu.getMenuItems().length 0) {
          blackberry.ui.menu.clearMenuItems();
        }
        var item = new blackberry.ui.menu.MenuItem(false, 1, "Click Me", customMenuItemClick);
        blackberry.ui.menu.addMenuItem(item);
    
        function customMenuItemClick() {
          alert("user just clicked me");
        }
    

    I inserted ? in the config.xml file
    but no use.

    How to change the menu items

    I would consider removing those as bad practice of the user interface. They appear (as I know) in all the menus in all applications.

    If you use the command combined with separators feature, I think you will find that it is ok?

    I don't know how to remove these default items (did not seek either ;-)))

  • problem adding the shortcut menu item

    I want the form of users must be open when you press Ctrl + U.

    I made after the entry into fmrweb.res which did not work.

    85: 2: "Ctrl + U": 11022: "FORM of USERS.

    The property of acceleration for the menu item has been ACCELERATOR1.

    How to add a shortcut for this menu item shape in oracle 10g.

    Shortcuts for menus are used in forms according to the Windows Standard (such as Alt "Key" to open the main menu and then a second 'key' to select the option). You do this by placing a & (and commercial) in the text to menuitem (before the letter you want to use as a shortcut)

    You can use any other key mapping comes from the frmweb.res file to make a CALL_FORM in the trigger appropriate (for example, to KEY - F1)

  • What happened to the context menu item 'Add album artwork' in iTunes 12.4?

    I love the new version 12.4 (return of the sidebar). What happened to the item of the context menu add album work?

    Someone tell me where to find it.

    If the command get Album artwork , it has not seem to be an equivalent command in the menu bar that applies to only one song (or a selection of songs).  Not in the main menu bar or anywhere else.  The command in the menu bar to file-> library-> Get Album artwork is available, but this action applies to your entire library.

    However, if you put your music library in the Albums view (to display the view with the album 'tiles' of the work in a grid), I noticed you pouvez with right-click an album and get the cover.  I think that this applies to all the songs on the selected album (or albums).  I guess that's "a" logical, given that missing album art are generally for all the songs on the album.

  • Change the camera menu items

    Hi all I invoke the camera of my application. I want to remove a few menu items that is provided by the camera application. How to do this. Thank you very much

    is not possible

  • Cannot create the custom menu item

    I feel that I'm missing something simple here.  Use the examples in the documentation for the BB developer, I am unable to get a custom menu item is displayed on a BB application menu in a simulator.

    More precisely:

    I copied the code for ContactsDemo (on page 31 of the PDF Advanced Developer) subjects, and works very well in the Simulator.

    I then copied the code for DemoAppMenuItem (from page 86 of the same doc).  It seems to work very well - no errors, and it appears in the Downloads folder on the Simulator.  But no custom menu item appears on the simulator when I create a new Contact, and then return to view it.

    I have all three options checked in Workspace Blackberry > Blackberry JDE > Code signing.

    My environment is:

    Eclipse 3.4.2

    BlackBerry JDE plugin 1.0.0.67 Eclipse

    I tried it with two simulators 4.5 and 4.6.

    Any suggestions are greatly appreciated!

    Thanks for the references page - this is a great compilation of resources!

    I don't know why the sample code of the documentation of EDGE does not work, but I was able to get the custom display menu item using the code I found this message on the forum.

  • How to disable the browser menu items?

    IM using the browser session to display images, but its menu has many elements that I don't need. Is there a way to remove these menu items in the menu of the browser?

    BrowserSession b = Browser.getDefaultSession();
    b.displayPage("file:///" + filePath);
    

    There is unfortunately no way to remove items from menu standard browser.

    There is a way to add additional menu items, but there is no way to delete those that already exist.

Maybe you are looking for

  • HP ENVY 14-2050se Beats Edition Notebook PC

    Currently, I have acquired the laptop next used: HP ENVY 14-2050se Beats Edition Notebook PCSerial number: {information}Product number: LW398UA Someone deleted the recovery files and I need to find a set of recovery disc for this. Y at - it somewhere

  • Several timer objects

    Hi all I'm working on a VI for the monitoring and control of several sensors/actuators, which of course is included inside a large loop that continues to run continuously. I tried to create several independent counters, which must lock on a 'REAL' sp

  • win xp restarts in Mup.sys after I installed side to side backtrack 5

    win xp restarts in Mup.sys after I installed side to side backtrack 5 on the same disk (one partition). BT5 instalation partition split. I can't go without failure or last known good configuration...Thank you

  • Problems to breakers 5510 Precision

    I had VERY bad luck with Dell laptops.  Last fall, I ordered the new Dell XPS 15 and he arrived with the bad motherboard and hard drive, which have been replaced and it still does not.  So we go back the order and instead purchased the 5510 precision

  • During windows 7 format, there is unallocated space can be of format

    Yesterday, my computer started downloading or by downloading once it connect to internet. Before that, I open a binary editor that is downloaded as freeware software. I realized that when I discovered that my internet and lan light on the modem keep