Open the contextual menu commandToolbarButton programmatically

Hello

I have an af:commandToolbarButton with an af:menu in his facet of popup.
In order to get the menu items, I have to click the drop down arrow on the toolbar button, which is exactly what the user expected in most cases.
However, in this place unique my button has no assigned action, everything is done via the context menu.
Is it possible to open the program menu when the button is pressed?

Because the button is inside a toolbar with other toolbar buttons, I would use the af: commandToolbarButton to this effect, not something I could style to look like a button...

Thank you
Rasto

Set actionDelivery to 'none' and it will do exactly what you describe.

Tags: Java

Similar Questions

  • How to open the context menu programmatically?

    I'm sure I'm missing something very elementary, but my eyes are listening on after a lot of research.

    I have a set ListField implemented that replaces getContextMenu() and creates a custom context menu.

    I also override trackwheelClick() to intercept clicks when it's to the point. I would like a click wheel to simply open the context menu, but I can't understand how to simulate pressing the menu button.

    Thank you!

    crush makeMenu instead, you can only manage a better

  • HP Photosmart C6300: Photomsart C6300 HP cannot open the Bluetooth Menu and cannot install CD as ive got no CD player

    So I wanted to install my wireless printer and connected to the internet just fine. However, aparantly, you must install it via the CD that is given but my laptop is not a CD ROM drive so I can't do that. Is anyway to install it without using the CD?

    Second, I tried to set up via Bluetooth and I go to settings and scroll down to the "Bluetooth Menu" and when I click OK, it opens all open all the other menus, for example, tools, Netowork, etc..

    What continues? :/

    I do not have any connected USB or Ethernet cables because I read somewhere that it may not allow you to open the Bluetooth Menu.

    Hello

    For the second question: it requires HP USB Bluetooth adapter, you bought this part mentioned on his page:

    http://support.HP.com/us-en/document/c01490922

    And for the first question, if please download the suite of folloqing and install on your computer:

    http://ftp.HP.com/pub/softlib/software13/COL30126/MP-109713-3/PS_AIO_04_C6300_Net_Full_Win_WW_140_408-5.exe

    Kind regards.

  • How to hide or disable copy/paste option in the contextual menu on spark TextArea in Adobe AIR?

    I need to hide or disable copy/paste option in the contextual menu on spark TextArea in Adobe AIR.please help me. Thank you

    Try with this

    protected function editor_rightMouseDownHandler(event:MouseEvent):void

    {

    If ((editor.textDisplay as RichEditableText)! = null & .contextMenu (editor.textDisplay as RichEditableText)! = null)

    {

    ((Editor.textDisplay As RichEditableText).) ContextMenu as ContextMenu) .hideBuiltInItems ();

    ((Editor.textDisplay As RichEditableText).) ContextMenu as ContextMenu) .clipboardMenu = false;

    }

    }

    protected function editor_copyHandler(event:Event):void

    {

    Event.preventDefault ();

    System.setClipboard("");

    Clipboard.generalClipboard.clear ();

    }

  • FRM-40010 cannot read form while opening the file menu in call_form

    I'm getting "" FRM-40010 cannot read form "everything by opening the file menu in call_form"

    I created a button and writes the following code in what release button.


    call_form ('F:\SS\SOURCE\ERRORS_MENU', Hide, do_replace)

    But I am able to open the file by call_form fmx. I use Form 6i and oracle 8i.


    Concerning


    Sandeep

    You can not call a menu by using the built-in call_form.
    You will have to use one of the methods I described in the previous answer.

  • Open the Action Menu programmatically

    Hello, is it possible to open the action by program menu?

    I would like to open the actionMenu to another button, since I put the

    actionBarVisibility: ChromeVisibility.Hidden

    I need a way to open it somehow.

    Any thoughts?

    I see the native camera app does the same thing, but I have no idea how to do to get there.

    Thank you.

    There is no way to programmatically, the camera application has access to a private API (which we don't), or they have implemented their own action menu to look like the real thing and drag from the right side. Because they have additional buttons and widgets in their action menu, I suspect that they it has implemented from scratch.

  • Make a right click on the e-mail list no longer opens the context menu.

    Hello world
    Thunderbird collapsed to display the context menu on the mailing list recently. Make a right-click displays just the cross line. What is the problem could be?
    Thanks anyone for any help.

    Win 8.1 64
    Thun 31.3.0

    Very strange.
    Make a right click on the email list should open a menu drop-down.
    Usually a line crossed through something means that it is marked as deleted in an imap e-mail account.

    See if there is a conflict with an add-on.
    Restart Thunderbird in safe mode.
    Help > restart with disabled addons.

    then run the same test; Right click on the email list.
    Do you get the drop down, if so, then one of your addons is the origin of the conflict.
    You'd have to disbale each in turn to find what the problem is.
    Maybe the addon should update.
    Report on the results.

  • Deley to open the start menu

    Hello
    my name is alijani benyamin
    Iran - Tehran-
    Administrator on the computer in ikcosport (ikcosport.com = Web site)
    Please help me
    Then click the icon in the start menu of Windows XP opens with a delay
    I think that the computer bug
    Thank you for your help
    Forgive my English is bad

    Hi Lily,

    Thanks for choosing Microsoft Community!

    We have a program called Process Explorer that suits your needs.

    Learn more about the program and to download it, see the following article:

    Process Explorer v15.23:

    http://TechNet.Microsoft.com/en-in/Sysinternals/bb896653.aspx

    Hope the helps of information. Don't answer if you need additional assistance, we will be happy to help you.

  • Why is text missing in the contextual menu new while in the root of C?

    So, here's the thing, when I right click on the desktop I get the context menu, and when I hover over the option new I get all sorts of options.

    • Folder
    • Shortcut
    • Flash ActionScript file
    • Contact
    • Microsoft Word document
    • The journal paper
    • Microsoft PowerPoint presentation
    • TI Connect Data File
    • Text document
    • Microsoft Excel worksheet
    • Briefcase

    But if I have C:\ in Windows Explorer and right click then all that I get are the ability to create a new folder.

    • Folder

    What is happening with this? This is normal behavior in Windows? Some control those kind of parents is imposed by Microsoft to prevent me from "change disastrous" system? I know the meaning of the word 'context' - as in 'popup' - so I think it's maybe the way it is supposed to be? Different options according to the context?

    Here's the funny part. If I get a subdirectory as C:\AMD I once more of the available options. So why is the root of C from the creation of new files, so that I can still make new files in its subdirectories?...

    I merged a Reg file, I downloaded Vistax64 Web site in my Windows registry that is supposed to add this option to the system. It does not solve the problem. Apparently, a lot of Vista users have had problems with several of the missing options in the new context menu, or persist them. I've been using Vista before SP1 came out and have never seen this problem before. Although in my case, it is not totally absent! It's more like a partial problem. Both, I have and I do not have! Why?... What's wrong?

    Restore_Text_Document.reg:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\. TXT]
    @= "txtfile".
    "Content Type"="text/plain".
    "PerceivedType"="text".

    [HKEY_CLASSES_ROOT\. TXT\PersistentHandler]
    @= "{5e941d80-bf96-11cd-b579-08002b30bfeb}".

    [HKEY_CLASSES_ROOT\. TXT\ShellNew]
    "ItemName" = hex (2): 40, 00, 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00,------.
    6F, 00, 74, 00, 25, 00, 5 C 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 D, 00, 33, 00, 32, 00, 5 C,
    00, 6F, 00, 6f, 00, 74, 00, 65, 00, 70, 00, 61, 00, 64, 00, 2nd, 00, 65, 00, 78, 00, 65, 00, 2 c, 00,------.
    2D, 00, 34, 00, 37, 00, 30, 00, 00, 00
    "NullFile"=""

    [HKEY_CLASSES_ROOT\txtfile]
    "EditFlags" = dword:00010000
    @= "Text document."
    "FriendlyTypeName" = hex (2): 40, 00, 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52,------.
    00, 6f, 00, 6f, 00, 74, 00, 25, 00, 5 c 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 33, 00,------.
    32,00, 5 c, 00, 6F, 00, 6f, 00, 74, 00, 65, 00, 70, 00, 61, 00, 64, 00, 2nd, 00, 65, 00, 78, 00, 65,.
    00, 2 c, 00, 2d, 00, 34, 00, 36, 00, 39, 00, 00, 00

    [HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
    @= hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00, 74, 00, 25,.
    00, 5 C, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 D, 00, 33, 00, 32, 00, 5 C, 00, 69, 00, 6 D, 00,------.
    61,00,67,00,65,00,72,00,65,00,73,00, 2nd, 00, 64, 00, 6 c, 00, 6 c, 00, 2 c, 00, 2d, 00: 31,
    00,30,00,32,00,00,00

    [HKEY_CLASSES_ROOT\txtfile\shell\open\command]
    @= hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00, 74, 00, 25,.
    00, 5 c, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 33, 00, 32, 00, 5 c, 00, 4F, 00, 4f, 00,------.
    54,00,45,00,50,00,41,00,44,00, 2nd, 00, 45, 00, 58, 00, 45, 00, 20, 00, 25, 00, 31, 00, 00,------.
    00

    [HKEY_CLASSES_ROOT\txtfile\shell\print\command]
    @= hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00, 74, 00, 25,.
    00, 5 c, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 33, 00, 32, 00, 5 c, 00, 4F, 00, 4f, 00,------.
    54,00,45,00,50,00,41,00,44,00, 2nd, 00, 45, 00, 58, 00, 45, 00, 20, 00, 2f, 70, 00, 00, 20,.
    00,25,00,31,00,00,00

    [HKEY_CLASSES_ROOT\txtfile\shell\printto\command]
    @= hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00, 74, 00, 25,.
    00, 5 c, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 33, 00, 32, 00, 5 c, 00, 6F, 00, 6f, 00,------.
    74,00,65,00,70,00,61,00,64,00, 2nd, 00, 65, 00, 78, 00, 65, 00, 20, 00, 2f, 00, 00, 70, 74,------.
    00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,00,------.
    25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00

    [HKEY_CLASSES_ROOT\txtfile\ShellEx\ {8895b1c6-b41f-4c1c-a562-0d564250836f}]
    @= "{1531d583-8375-4d3f-b5fb-d23bbd169f22}".

    [- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\. TXT\UserChoice]

    [HKEY_CLASSES_ROOT\CLSID\ {5e941d80-bf96-11cd-b579-08002b30bfeb}]
    @= "Plain Text handler persistent."

    [\PersistentAddinsRegistered HKEY_CLASSES_ROOT\CLSID\ {5e941d80-bf96-11cd-b579-08002b30bfeb}]

    [HKEY_CLASSES_ROOT\CLSID\{5e941d80-bf96-11cd-b579-08002b30bfeb}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF]}
    @= "{c1243ca0-bf96-11cd-b579-08002b30bfeb}".

    [HKEY_CLASSES_ROOT\CLSID\ {c1243ca0-bf96-11cd-b579-08002b30bfeb}]
    @= "Plain text filter.
    'LocalizedString"="@query.dll,-511 '.

    [HKEY_CLASSES_ROOT\CLSID\ {c1243ca0-bf96-11cd-b579-08002b30bfeb} \InprocServer32]
    @= hex (2): 25, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 72, 00, 6f, 00, 6f, 00, 74, 00, 25,.
    00, 5 C, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 D, 00, 33, 00, 32, 00, 5 C, 00, 71, 00, 75, 00,------.
    65,00,72,00,79,00, 2nd, 00, 64, 00, 6 c, 00, 6 c, 00, 00, 00
    "ThreadingModel" = "Both".

    [HKEY_CLASSES_ROOT\CLSID\ {1531d583-8375-4d3f-b5fb-d23bbd169f22}]
    @= "Windows TXT Previewer.
    'DisplayName"="@shell32.dll,-38242 '.
    "Icon"="notepad.exe, 2.
    "AppID" = "{6d2b5079-2f0b-48dd-ab7f-97cec514d30b}".

    [HKEY_CLASSES_ROOT\CLSID\ {1531d583-8375-4d3f-b5fb-d23bbd169f22} \InProcServer32]
    @= hex (2): 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52, 00, 6f, 00, 6f, 00, 74, 00, 25,.
    00, 5 C, 00, 73, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 D, 00, 33, 00, 32, 00, 5 C, 00, 73, 00, 68, 00,------.
    65.00, 6 c, 6 c, 33, 00, 00, 00, 32, 00, 2nd, 00, 64, 00, 6 c, 00, 6 c, 00, 00, 00
    "ThreadingModel"="Apartment".

    Hi Samir,

    This is part of a safety device in Windows 7 to avoid elements, shortcuts to be registered directly on the system drive (c :) drive). This is why you are able to see the other new features in the other drive letters independent of the system. If you see the root folder, it still contains a minimum files that are installed by the operating system.

    If you still want to create shortcuts in the root of the drive, you can create them on the desktop and paste it into the root of the drive. However, we suggest you not to do.

    I also see that you are using some registry fixes, serious problems can occur if you modify the registry incorrectly.

    Hope the above information is useful, if you have any questions you can post them here.

  • could not open the start menu and task bar

    I am not able to view my desktop as soon as I login.desktop icons are there in the list. Whwn I tried to check in the Control Panel, I watched tht I couldn't open the taskbar and strt menu option

    Try a system restore to a Date before the problem began:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do the restore of the system in Safe Mode, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    See you soon.

    Mick Murphy - Microsoft partner

  • Drop-down menu horizontal list - change how to open the Sub Menu entry

    Hi all

    Thank you in advance for your time and your help and please excuse my English, this is not my mother language.

    I have a little problem with the list of the menu drop down, I use it instead of the tabs to navigate through my application and now I have users who want a larger arrow / select the field to open the menu void entries. I did a screen capture to make things more clear, but it seems that im not allowed to attach photos to this post.

    The problem is, you have to click on the small arrow - no area is valid to open the submenu and I do not see the possibility to increase the arrow or use a larger space.

    I googled already for a long time but could not find anything specific on the change of this arrow. He could only do a little bigger, or all simply to use the whole of the area to the right of the label in the list drop down Parent (which is a link itself).

    I hope you can provide some ideas how to handle this problem.

    Best regards

    Christian

    Edit: We use: Application Express 4.2.3.00.08

    Hello

    I think that the image does not come from CSS file.

    I can see the source HTML of this image is defined by the img tag.

    Then you should be able to change when you change the list template

    13.2 customization of models

    13.2.10 models list

    Kind regards
    Jari

  • Illustrator CS5 crashes everytime I open the fonts Menu

    I use one of the new Mac Book pro retinas.  Everytime I open the Type > font menu the program crashes.  Sometimes I can scroll down a little ways, but sometimes it crashes immediately.  Photoshop loads previews fine so I think it's a problem of illustrator and not a more general problem of police.

    Thank you for your help.

    OK, so I'm now leaning towards a corrupt police also like a Wade Z. suggested. A few things to try if you have not first.

    1.) did you repair permissions using the disk utility in Applications > / utilities? I do this and run it several times until it works "own." This means that you don't fix anything in the list. (I'm assuming you're on a Mac). If you're on a PC, it won't help.

    2.), you can try to reset the PRAM etc, but I do not think that this will contribute to this problem. Sometimes you never know well.

    So, if there is a corrupted font, I need to know if you use a font management program or if you manually place them in folders of fonts? (again assuming you are using a Mac). Post Script Type 1 fonts are known to be more finicky to use Snow Leopard and Lion. I had a few problems with duplicate fonts that were causing havoc on my machine a few weeks ago. So, you can try to track down if you have duplicate fonts. I just use Spotlight to find where the stray fonts have been installed. If you install the fonts manually I would temporarily remove them all user > library > fonts folder (or elsewhere you can installed them), then restart. In this way, you can test to see if maybe that's the problem. So in this case that you can add half of the fonts back and get it sorted bubble to find what font is corrupt. A bubble sort is a way to take half of the something and test whether it is good or bad. So if it's a bad half, again taking the half once to see if it is good or bad. In this way, you can hone in on a specific file at the root of the problem. It can be a bit tedious to have to restart, but is one of the best ways to find a corrupt font. Another method may be to remove all of the same type of police and add each set as the problem shows up again (if remove them, it's what suits him).

    If you use the built in FontBook you can try this: http://www.lifespy.com/2007/mac-tips-find-and-eliminate-corrupt-fonts-in-osx/

    I hope you will work out it.

  • taskbar is located vertically to the left of the screen and I can't click it even impossible to open the start menu

    the task bar is attached vertically on the left side of the screen
    tried to click on it, nothing is happenning
    I tried right click on an empty space on the taskbar, but nothing is coming
    so I can't click on the start menu

    Hello

    Right-click and select unlock the taskbar. Click on, and then drag it to the bottom of the screen.
    If this does not work, try restarting the PC.
  • How to remove an item from the contextual menu orphan?

    I had a workflow that I added in context menu of Clusters.  I forgot to remove it from the context menu before you delete the workflow, so now it is visible as a choice, but naturally does not start.  Any suggestions on how to get off the context menu now?

    If you have a copy of the workflow on another instance of vRO, the easiest way would be to export from, import it on vRO instance that you use with the Web Client and remove the link of action in the context of the user interface.

    If you don't have a copy of the workflow, you can try the following:

    • SSH for vSphere Web Client device stop vsphere-customer service
    • Delete the /storage/vsphere-client/SerenityDB/serenity/ALL/applications/vco-plugin/context.menu.actions file (you can make a copy of it to the case where)
    • Start service vsphere client (or reboot the power of vSphere Web Client)

    After these steps, all custom context action mappings should have disappeared, including orphans.

  • 4EA2 'RUN' is grayed out in the contextual menu for the SYS package

    I am running in a database of Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - Production of 64-bit environment.

    I use the version of SQL Developer release Early Adopter 2 4.

    SQL Developer 3.2, while it is connected to a specfic scheme, it was possible in the Connections window, expand the menu item from other users, so the SYS menu item, then the PACKAGES menu item and select a package, and using the context menu 'run '. ' Run PL/SQL ' window would appear, and I could enter the appropriate settings and run a procedure in this package. I think in particular of the DBMS_ERRLOG package.

    In 4EA2, following the same path, the command "Run", well visible, is grayed out. The combination of keys "Ctrl + F10" alternative works. Please restore the "Run" command in the active state (not greyed out) in the context menu.

    Hi wine,

    Perhaps the scenario you describe is the same as a bug fixed for EA3:

    Bug 17601294 - LOW PRIV USER CANNOT RUN the PACKAGE IN the SCHEMA STRANGER WITH EXECUTE PRIV

    A small detail of the test case it (nothing mentioned about Ctrl-F10, however):

    1. create user ONLY CONNECT, RESOURCES, SELECT_CATALOG_ROLE.
    2 Grant EXECUTE on a package in another schema.
    3. navigate to the package in the tree view.
    4 run/run button is disabled.

    5. but this scenario works as expected in v3.2

    This close is enough?

    Kind regards

    Gary

    SQL development team

Maybe you are looking for