Call attachedobject from context menu

Dear developers

When I press an action in the contextmenu in my list, I want to open a sheet that is attached to my page. But when I try that, he repeated to me that it can not find this sheet. Is it correct to say that the contextmenu knows only the element where it is defined in? I thought that my call might be spread until he found, but this isn't what he does.

I need that attachedobject also in my page, is not possible to define it in the same element that where my context menu is defined in.

Thanks in advance

ListItemComponents have their own field of visibility. This thread has a similar problem and workaround:

http://supportforums.BlackBerry.com/T5/Cascades-development/ActionItem-issue-in-a-context-menu/m-p/2...

It is also possible to use this hack to keep a global pointer to the page:

http://supportforums.BlackBerry.com/T5/Cascades-development/variable-object-visibility-in-ListViewIt...

Tags: BlackBerry Developers

Similar Questions

  • How can I remove Windows Live Call to the context Menu of Windows Xp Desktop?

     

    I'm unable to remove Windows Live Call in my context Menu of Windows Xp Desktop. Send me instructions on how to remove Windows Live Call in my context Menu of WIndows Xp Desktop. See screenshot.

    Screenshot:

    http://i47.Tinypic.com/2cwqzqg.jpg

    Hello again,

    Another reason for not getting answers in due time, it's that you post in the wrong forum in "answers". This should really be posted in this forum...

    http://answers.Microsoft.com/en-us/windowslive/Forum/Messenger

    .. because Windows live call is part of messenger. By posting your question in the wrong forum you not reach the largest selection of possible contributors, perhaps even eliminate everyone with the appropriate knowledge.

    You have already been informed of the connection of Windows live call with messenger by Srinivas KR in your original question.

    In short, most of the lack of response, you have found is down to your own lack of knowledge about the best way to get results. If you want to use a new tool, it is always a good idea to do some research before you use it so that you can get the best out of it. "Answers" are your information tool and will make you much better work for you if you are reading this...

    http://answers.Microsoft.com/en-us/page/FAQ

    .. .in conjunction with the link I gave in another of your questions.

    That said...

    It doesn't seem like Messenger have the ability to disable this option. Editing the registry appears as a possible solution. Editing the registry when done incorrectly can have serious detrimental effects on your system. Do so at your own risk. I can say that I followed the instructions here...

    http://www.mydigitallife.info/how-to-remove-Windows-Live-call-entry-from-new-ShellNew-menu/

    .. .and they worked on my PC.

    Of course, if you do not use Messenger, you could just uninstall as advised previously by Srinivas KR.

    Tricky

  • (bb10) How to cancel an opening from context menu

    I have a strange behavior with context menus.

    I have two lists in my application with two context menus, a menu for each list.

    I have a logic to determine if the popup should be launched or not, and if I don't stop ContextMenuEvent.OPENING event, this menu is not started. Fine. But after that, the menu popup stops working for the other list.

    I think that something in the ContexMenu classes must be left in a bad state after preventDefault on the opening ceremony.

    What will be the best way to stop to open a context menu and still works for the other components?

    See the example...

    package
    {
        import flash.display.Bitmap;
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
    
        import qnx.fuse.ui.actionbar.ActionBar;
        import qnx.fuse.ui.core.Action;
        import qnx.fuse.ui.core.ActionBase;
        import qnx.fuse.ui.core.ActionSet;
        import qnx.fuse.ui.core.TabAction;
        import qnx.fuse.ui.events.ContextMenuEvent;
        import qnx.fuse.ui.events.DragEvent;
        import qnx.fuse.ui.listClasses.List;
        import qnx.ui.data.DataProvider;
    
        public class TestPush extends Sprite
        {
            private var actionBarOverflow:Sprite;
            private var content:Sprite = new Sprite();
    
            private var slideX:Number = 0;
    
            public function TestPush()
            {
    
                super();
    
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.addEventListener( Event.RESIZE, function( e:Event ):void
                {
                    actBar.y = stage.stageHeight - actBar.height;
                } );
    
                content.addChild( new Bitmap( new BitmapData( stage.stageWidth, stage.stageHeight, false, 0xffffff ) ) );
                // support autoOrients
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                var dp:DataProvider=new DataProvider();
                dp.addItem({"label":"item1"});
                dp.addItem({"label":"item2"});
                dp.addItem({"label":"item3"});
                dp.addItem({"label":"item4"});
                dp.addItem({"label":"item5"});
                dp.addItem({"label":"item6"});
                dp.addItem({"label":"item7"});
                dp.addItem({"label":"item8"});
                dp.addItem({"label":"item9"});
                dp.addItem({"label":"item10"});
                var list:List=new List();
                list.dataProvider=dp;
    
                actionBarOverflow = new Sprite();
    
                var actBar:ActionBar=new ActionBar();
                actBar.showTabsFirstOnBar(false);
                actBar.reserveActionSpace(true);
                actBar.backButton = null; 
    
                actBar.tabOverflowParent = actionBarOverflow;
                actBar.width=stage.stageWidth;
                actBar.showTabsFirstOnBar(false);
                actBar.addAction(new TabAction("TEST"));
                actBar.addAction(new TabAction("TEST2"));
                actBar.addAction(new Action("Test1"));
                actBar.addAction(new Action("Test2"));
                actBar.addAction(new Action("Test3"));
    
                var list2:List=new List();
                list2.dataProvider=dp;
    
                addChild(actionBarOverflow);
                addChild( content );
                content.addChild(list);
                content.addChild(list2);
                content.addChild(actBar);
    
                actBar.x=0;
                actBar.y=stage.stageHeight-actBar.height;
    
                list.width=list2.width=stage.stageWidth;
                list.x=list2.x=0;
                list.height=(stage.stageHeight-actBar.height)/2;
                list2.height=(stage.stageHeight-actBar.height)/2;
                list.y=0;
                list2.y=list.height;
    
                list.addEventListener(ContextMenuEvent.OPENING, contextOpening);
    
                var actionsForBar:Vector. = new Vector.;
                actionsForBar.push(new ActionBase("Action 1"));
                actionsForBar.push(new ActionBase("Action 2"));
                var actionset:ActionSet=new ActionSet(actionsForBar);
                var contextactions:Vector.=new Vector.();
                contextactions.push(actionset);
    
                var actionsForBar2:Vector. = new Vector.;
                actionsForBar2.push(new ActionBase("Action 3"));
                actionsForBar2.push(new ActionBase("Action 4"));
                var actionset2:ActionSet=new ActionSet(actionsForBar2);
                var contextactions2:Vector.=new Vector.();
                contextactions2.push(actionset2);
    
                list.contextActions=contextactions;
                list2.contextActions=contextactions2;
    
                actBar.addEventListener( DragEvent.DRAG_MOVE, onDragMove );
            }
    
            private function contextOpening(e:ContextMenuEvent):void{
                trace("CANCEL OPENING");
                e.preventDefault();
            }
    
            private function onDragMove( event:DragEvent ):void
            {
                slideX += event.deltaX;
                content.x = Math.round( slideX + stage.stageWidth );
            }
        }
    }
    

    Although strobejb could be a solution, it involves a lot of changes to my code at the moment, but I think I found a good solution.

    Instead of dealing with ContextMenu I forget and override onLongPress extension from the list.

    override protected function onLongPress (): void {}

    }

    And if I have to display the context menu I can make inside the method with:

    showContextMenu()

  • delete e-mail messages from context menu

    I am running Windows 7 Home Premeum 64-bit with service pack 1.

    I'm trying to delete e-mail messages from the context menu when right clicking on an image.

    I have AT & T Yahoo! as my e-mail provider that is NOT an option available to Windows, so I can't use the option of e-mail anyway.

    Given the unusable option is distracting and often gets clicked by mistake while trying to save an image to disk.

    Please let me know how to solve this problem.

    Thank you... Alan

    Add the e-mail account to livemail,

    http://Windows.Microsoft.com/en-us/Windows-Live/Mail-add-email-account-FAQ

  • From context menu navigation arrows

    I've recently updated to Firefox 32 and really the new nav buttons on the shortcut menu. However, forward and backward arrows stopped some time today, appears in the context menu for all pages. Now the top of the context menu has just reload them and bookmark icons. How do I bring back arrows navigation?

    Have you tried to close and restart Firefox?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • How can I turn off the options to context menu for Adobe Acrobat on Windows 7?

    Hello

    I wonder if anyone can tell here:

    1. The Explorer of Windows 7, I have context menu options to "Convert to Adobe PDF" and "convert to Adobe PDF and send". Both these options ask me to choose a target file name, but when you select a file, Office 2010, I get a message about the missing PDFMaker files. Can I remove these options from popup menu?
    2. In the Explorer of Windows 7, I also have context menu option 'combine taken supported files in Acrobat. But once again, with Office 2010, this fails because "Windows can not find Acrobat.exe. Can I remove this option from context menu?

    I think anyway, there are some compatibility issues between Office and Acrobat X and I have no use for the options menu It's just clutter. I have Office 2010 32-bit.

    Thank you

    Martin O'Shea.

    I have no idea. I don't use WIn7. ShellExView is the best way to remove it. You can search in the registry. And then delete. But please make sure that you delete the entries on the right

  • Imported bookmarks in safari are in a bookmark called IMPORTED FROM SAFARI. Can they be merged into the main Menu of bookmarks?

    I had a few existing Firefox bookmarks but wanted to add a bit of Safari. Now, the imported bookmarks from safari appear as a bookmark called IMPORTED FROM SAFARI. How can they be merged so that all bookmarks fall under the main Menu of bookmarks?

    You can move or copy/paste to another folder in the library (bookmarks/history Manager) through the context menu or the menu organize button on the toolbar.

    • Bookmarks > show all bookmarks
  • Context menu prevent from appearing when you click on?

    I get the context? menu (the one with the full Menu and options Show/Hide keyboard) when I press (touch screen) or click on a field in a listechamps.  I don't know why.

    I extended ListField as follows:

    public class TableField extends ListField {
        TableFieldCallback callback;
        public void setTableCallback(TableFieldCallback callback) {
            this.callback = callback;
        }
        protected boolean trackwheelClick(int status,int time) {
            App.DEBUG("CLICK START " + time);
            if (null != callback) callback.onclick(this.getSelectedIndex());
            App.DEBUG("CLICK CONSUMED");
            return true;
        }
    }
    

    The domain manager that contains this field implements TableFieldCallback and sets the callback object.

    The scope of the list does not contain child field, rather than the 'data' are set for each field.

    I press list (click on) a field (line) in the field and trackwheeClick() is called calls my onclick() method in my object and is processed (it loads another opinion), but the context menu is displayed, even if I returned true from trackwheelClick() of signs that I have consumed the event.

    This behavior is unacceptable, I need a way to be able to disable the context menu when you click on the field ofc.

    Note: the full menu appears sometimes, but I guess that's because I also accidentally click / tap the full menu option in the context menu that... maybe its because the context menu Gets the event of publication in the press / click don't know.

    Hey to return true on nothandled touch clear also

    and for the contact not returning true not managed navigationClick should do the job.

  • Right-click DeptEmp.jsf and select run from the context menu

    Hello

    Please consider article Oracle Magazine "Catch Me If You Can ' Frank Nimphius
    at http://www.oracle.com/technetwork/issue-archive/2013/13-mar/o23adf-1897193.html

    In the article, it is offered several times to
    «... Right-click DeptEmp.jsf and select run from the context menu...'.»
    When you use JDeveloper 11.1.2.3.0 it will result in JDeveloper starting a browser requesting a URL "/ faces/DeptEmp" (without ".jsf").
    (Note that in the sample adfc - config.xml has a view with the id "DeptEmp" activity, but for pages without an activity view corresponding to the stream of unrelated task (adfc-config.) (Xml) JDeveloper starts a browser requesting a "/ faces/otherPage.jsf" URL (with ".jsf").)

    Still, I wonder if we should really run (JSF) pages, or rather an activity view in the flow of a task?

    After running into issues with calling (JSF) page URL rather than controller unbounded ADF task flows view activity URL in another forum thread [1], I try to avoid pages (JSF) (execution of the task-flow unlimited instead) running.
    to Re: login after logout is not possible using af: commandButton
    John Stegeman wrote:
    ... especially since it is very common for people new FAD (and indeed no-so-news-to-ADF people like me) to run their app via a page rather than the workflow and then wonder why it does not work :)...
    But also the Oracle documentation seems to suggest that page running a (JSF) is the way to go (or "a" way to go), see the section "41.2.1 how to run an Application in Integrated WebLogic Server "
    saying: ""in the navigation Application, select the project, a task flows, JSF page or file as the target execution. ".
    at http://docs.oracle.com/cd/E37975_01/web.111240/e16182/deployment_topics.htm#ADFFD22047

    So, who is? Is there a preferred way to run? Running a (JSF) page "also recommended"?

    -[1] ' login after logout is not possible using af: commandButton.
    during the connection after disconnection is not possible using af: commandButton

    Thank you very much
    Jan Vervecken

    Hello

    Still, I wonder if we should really run (JSF) pages, or rather an activity view in the flow of a task?

    The recommendation is to run the activity. I think it's just my laziness to boot from the JSF file in the case of the article (and given my article only has a single page in the workflow unlimited I wonder if my attempt failed, if there was a need for a navigation to another view in the flow of unlimited work). The risk from a page directly, it is a physical implementation of a view that could be used by multiple streams of different tasks (although the common use of the stubborn workflow is to go with fragments of the page, always bounded task flows could be defined using complete documents). His recommendation that you start an activity to view pages in order to ensure the ADFc is used (I wasn't even not aware of 11.2.3 to automatically change request activity instead of the file if there is an activity of referencing).

    Frank

  • Option ' send to ' missing from the context menu

    guys,
    I use windows vista and have recently lost the option ' send to ' context menu. Help, please. Thank you.

    Mukul Modani,
    Looks like there is a problem with the registry entry for the menu "send to".

    Important: This document is to modify the Windows registry. Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about the back upward, and restore the registry, review of the Microsoft article 332756 Knowledge Base (how to back up and restore the registry in Windows).

    Try these steps and see if it solves your problem:

    1. Click Start, and then type regedit.exe in the search field. When appears in regedit.exe, press enter or click on its icon.
    2. Provide consent or credentials appropriate to user account control if prompted.
    3. In the tree pane, navigate to HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers
    4. Open the subkey send to. If it does not exist, create it.
    5. In the subkey send worms, you will see a (default) string value. Ensure that it is set to {7BA4C740-9E81-11CF-99D3-00AA004AE837}.
    6. Log in and turn it on.

    If you are able to change the registry, I exported the correct values from the registry a new installation of Windows Vista that you can import. Simply download the following ZIP file, extract the content inside the file, double-click it and click 'Yes' to the guests.

    http://Localhostr.com/files/5b4fdf/send%20To%20Menu.zip

    Hope that helps, have a nice day!

    Kristan M. Kenney ("Nighthawk64"). My Blog: http://blog.kristankenney.com

  • the notebook disappeared from the context menu

    Hello!

    I need help. the notebook went on the shortcut menu. From the desktop, when I right click and select new, the notebook disappeared and was replaced by newspaper.

    Hello

    You have new text Document? It is Notepad.

    Troubleshooting problems of contextual Menu (right click) are a process of eliminating exercise.

    http://WindowsXP.MVPs.org/slowrightclick.htm
    and here:

    http://WindowsXP.MVPs.org/context_folders.htm

    The ShellExView utility displays the details of shell extensions installed on your computer, and
    allows you to enable and disable easily each shell extension.
    http://www.NirSoft.NET/utils/shexview.html

    ShellMenuView is a small utility that displays the list of menu items which appeared in the
    context menu when you right click on a file/folder in Explorer Windows and allows you to easily
    disable unwanted menu items.
    http://www.NirSoft.NET/utils/shell_menu_view.html

    How to change or remove items from the right click Menu.
    http://www.WinVistaClub.com/E11.html

    Add any Application to the desktop in Vista right click Menu
    http://www.howtogeek.com/HOWTO/Windows-Vista/add-any-application-to-the-desktop-right-click-menu-in-Vista/

    How to add a program to open it with Vista
    http://www.Vistax64.com/tutorials/126340-open-add-program.html

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Item ListView gets deselected as it appears from the context menu

    Since about 10.3.1 I notice that my lists behave in the same way, when I long press on a point I think the context menu to appear, what it does, but when it does so the item is deselected, so in the slot press and hold on I can't access the row for the selected item.

    At all the world feels something similar?

    Thank you.

    OK, problem solved. Here is the solution:

    -When the popup appears entirely because the finger was published the listener to activate slot is called indicating released finger. Problem is ListItemListener example in the docs went something like this:

    void MyItemClass::activate(bool activate)
    {
        // There is no special activate state, select and activated looks the same.
        select(activate);
    }
    

    Who calls the select slot and it says to turn off. That's why it's happening. Don't know how much this has changed, but this is the situation.

    To fix it I removes the code of slot() activation which allows the selected list item, but a new problem pervades: the element can not get deslected. To manage this I created an instance of ContextMenuHandler(), connected the visualStateChanged to a slit and searched a State ContextMenuVisualState::AnimatingToHidden clear the selections of the listview. So far so good.

  • Cannot turn off bluetooth from the option of the family disappeared in the context menu of Tablet

    Hello

    Well, I installed Win 7 on my X61t, as well as new software from Lenovo, and I can't understand how to disable bluetooth now. I used to do that via the context Menu in tablet, I had radios settings there and I could turn off/turn on the WiFi and Bluetooth separately there. Now, I have only one option of radio wireless disable, which basically does the same thing as the wireless switch, so it's a bit useless.

    I guess that option could have dissaperaed because I have not installed logins now (and I can't install it because I'm fine with what I get with 7).

    So, how can I disable BT now? I tried through the taskbar icon, I tried via the Control Panel, through network connections, even through the Device Manager. Even when I disable all BT devices and connections Bluetooth LED remains on, so it is not totally disabled at the hardware level. Of course, so I want to be able to turn off quickly, as I did through the context menu of the Tablet, via the control panel is not really a solution anyway.

    Oh, and I don't know if it's important, but the Bluetooth light is on all the time during the boot now, and I don't think that it was before. Although maybe I just never used on startup with bluetooth turned on, so I didn't notice... here, not sure.

    Any ideas?

    Thanks, has soon!

    Dear Stansfield

    Hope a low-tech suggestion works for you.
    Have had a similar experience with the portability of devices two radio WLAN and Bluetooth individually vs black & white radio power.

    Found I needed to load the last shortcut key driver in your case for a X 61 Tablet 7764 CTO,
    http://www-307.IBM.com/PC/support/site.WSS/document.do?sitestyle=Lenovo&lndocid=MIGR-68009

    Then use the combination Fn and F5 (in blue) instead of other options in some menus of the Windows user interface.
    And voila, I found that the behavior has been defined in the "Fn + F5 parameters" button at the bottom of the pop-up window, the second box option
    "Alternate between turn off all wireless radios and by turning on all radios.
    instead of the first choice that I wanted
    'Display a menu that allows me to control the parameters of power to radio wireless in my system individually.

    Had the behavior corrected, and now he's doing what I want to happen.
    It will be useful for you, too.

    concerning
    Mika

  • Options from the context menu and others endangered.

    When I right click on a file and want to create a shortcut on the desktop after moving the cursor on "send to", the "desktop (create shortcut)" is not there.

    When I run the Task Manager, 'Show processes from all users' is unchecked (there is a button for this). Is this normal or is - this effect malware or so? These are disappearances only two notables. I'm sure there are many others.
    If it's due to malware, how should I do?
    Thank you!

    If you look in 'C:\Users\\AppData\Roaming\Microsoft\Windows\SendTo' is "desktop (create shortcut)" listed?

    If is not is it the default value to "C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo"? If it is there, just make a copy of one to the other.

    If it fails again, so if you create a new user account that has the option? If so copy it since. Or what can help more - http://www.sevenforums.com/tutorials/45421-send-context-menu-remove-restore-default-items.html?filter [2] = context % 20Menu

    Not show what you mean exactly about "show processes from all users". On my task manager, it's there as a button, but you have to click on it (and then enter the administrators password) to have show all processes from all users.

    If you suspect you may have malware, update your Anti Virus package and run a full scan. Then download, install, update and run a scan complete with Malwarebytes(free), like a scanner at the request.

  • Remove "Run as Administrator" from the context menu

    I'm locking of the student accounts on our lab computers, and I was wondering if there was a way to remove the "run as Administrator" from the context menu for the Office products?  I already deleted it for all other .exe files and shortcuts on the desktop through the registry after I made a backup.  The registry key that I deleted is:

    HKEY_CLASSES_ROOT\exefile\shell\runas
    Any help would be appreciated.  Thank you.

    I'm probably missing something (maybe to do with the students how creative people can be), but miss me how it helps lock anything down since the use of "Run as administrator" immediately triggers a dialog box asking for the administrator password.  Just curious.

Maybe you are looking for

  • Mediathek photo: A way to keep the Photos on Photos.app when you want to remove them on the iPhone?

    I understand the concept of the Mediathek Photo. The goal is to keep the Photos on different places for example iPhone, iCloud and synchronized Macbook. Automatically. Because the volume of data on my iPhone is not very large, sometimes I have to del

  • Can not restore backup of itunes on the iphone 6

    When I am trying to restore backup to my iphone from itunes 6 it shows loading but after all it is said that it is impossible because the iphone is disconnected and it's really disconnect itself. What is going on? I really need to restore my backup o

  • Turn off my mouse/Touchpad!

    In detail how to disable my mousepad (turn it off completely off) on my Dell Inspiron mini 10?  I have mouse have been a thousand times and do not see any button for that.  I need step by step directions please.  I have an another USB mouse I use and

  • Pavilion n209tx: driver for 3D video controller

    Use flag N209TX, 8.1, Nvidia Geforce 740 M victory 3D video controller PCI\VEN_10DE & DEV_1292 & SUBSYS_21DA103C & REV_A1PCI\VEN_10DE & DEV_1292 & SUBSYS_21DA103CPCI\VEN_10DE & DEV_1292 & CC_030200PCI\VEN_10DE & DEV_1292 & CC_0302 someone please send

  • Rectabgle gray + rectangle green appears on my desktop. How can I get rid off them?

    I have windows 7 and have used this computer since 2009. I have never had any problems with it until a couple of weeks. The computer got slow and I know that it is time for reformatted it, something that I don't "do it myself.  The computer tec, who