Remove default context menu values

Hi,
I'm using Jdev 11.1.2.2.0 and i've af:tree with node as command link. If i click this link, the popup in context menu facet is launched with menu items which are created by me. Also it displays menu item like 'Collapse', 'Expand All Below' and 'Collapse All Below. I do not want these menu items. Could anyone tell me how to remove these menu items?
Thanks in advance

You can add a showPopupBehavior to your commandLink, with triggerType="contextMenu", make sure not to keep the popup in contextMenu facet of af:tree

Similar Messages

  • Modifying default context menu of  af:tree

    Hi all,
    this one is urgent..
    I am having a af:tree component on a jspx web page.
    I know that we can change the context menu (the box that pops out when right click happens on any of its node) by setting contextMenuId of the af:tree which points to a af:popup having af:menu. When we dont set contextMenuId; we get a default context menu displaying options to expand/collapse other nodes. When we set it to some af:popup component we get a different context menu.
    My requirment is that instead of getting a new context menu, i must be adding up my new options to the already existing default options in the context menu. So its a kind of extension of default context menu available.
    So can anybody help me.... i am a newbie so pls forgive me if i'm wrong somewhere..
    Thanks a lot..

    Hi Frank,
    thanks for the kind response..
    Yeah, i had tried that out too. But in this case the context menu that i'm defining doesn't seem to be picked up by af:tree since i'm only able to see the default context menu of the browser.
    This is strange since even the default context menu provided by af:tree doen't appear.
    Do we need to do something else also for that...
    By the way i assume that you were talking about contexMenu facet of af:tree only.
    I am inlinning the jspx code snippet for convinient.
    Can you please suggest something....
    <af:panelFormLayout customizationId="panelFormLayout1">
    <f:facet name="footer">
    <af:group>
    <af:commandButton text="commandButton 1"
    customizationId="commandButton1"/>
    <af:image source="http://www.google.com/intl/en_ALL/images/logo.gif"
    shortDesc="THE logo" customizationId="image1"/>
    <af:tree value="#{myBean.model}" var="model"
    rowSelection="single" initiallyExpanded="true"
    id="structureNavigatorTree" inlineStyle="padding:2px"
    contentDelivery="immediate"
    customizationId="amitKumarGupta">
    <f:facet name="nodeStamp">
    <af:panelGroupLayout>
    <af:outputText value="#{model.name}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="contextMenu">
    <af:popup id="yesItsgeneral">
    <af:menu id="fdssd" text="menu 1">
    <af:commandMenuItem id="micrsfdg" text="Expand All2"/>
    </af:menu>
    </af:popup>
    </f:facet>
    </af:tree>
    </af:group>
    </f:facet>
    </af:panelFormLayout>
    </cust:panelCustomizable>
    <f:facet name="editor">
    <pe:pageEditorPanel/>
    </f:facet>
    </pe:pageCustomizable>
    </af:form>
    </af:document>
    Hi,
    turns out the solution is easy. Just use the context
    menu facet, similar to below
    <f:facet name="contextMenu">
    <af:popup>
    <af:menu text="menu 1">
    <af:commandMenuItem text="Expand
    All2"/>
    </af:menu>
    /af:popup>
    </f:facet>
    custom menu to the existing set of menus
    Frank

  • Disable WD ABAP default context menu

    Hi All,
              Can anyone tell me how i can disable default context menu of wed dynpro applications.
    I have an application open to business users. I was able to disable 'user settings' option but i still get the 'display quick help' and 'more field help' option when the user right clicks on the web dynpro page
               I want to disable the default context menu completely to show Internet explorer context menu when a user right clicks on the web dynpro page.
               Please help
    Thanks
    WD dev

    Hi ,
    You will need to pass the WebDynpro Application,parameter WDDISABLEUSERPERSONALIZATION
    set its value as X  to disable users right click & personalization. Select ur webdynpro application double click, select parameters TAB.
    check below link for details.
    [http://help.sap.com/saphelp_nw70/helpdata/en/7b/fb57412df8091de10000000a155106/content.htm]
    Greetings
    Prashant
    P.S.- Points Welcome

  • Need to remove default dock menu item and add new.

    Hi ,
    I am working on Carbon application on Xcode . I need to remove default menu item attached to my application dock menu like ( Remove from Dock , Open at Login , Show in Finder ).
    I also need to attach new items to my application dock menu and want to handle its event.
    Thanks in advance,
    Sunil Adhyaru.

    Well, this is a programming question more than a question on how to use the Leopard environment (you might want to post to one to the programming forums).
    However, basically, you can't remove the Dock menu items that the Dock itself adds (add/remove from dock, etc.). You can add your own menu items, however. Use the interface builder to create a nib that has a menu in it -- call it something catchy like MyMenu.nib.
    Then in the application property list file (Info.plist) add property called "AppleDockMenu" and set the value to a string that's the name of your nib file (without the .nib extension).
    Subsequently, you treat that menu just as you would the menus in your menu bar. That's all there is to it.

  • Disable default context menu on textfield

    By default the JavaFX TextField has a built in ContextMenu with 'undo', 'copy', 'cut' etc. options.
    I want to replace this ContextMenu with a custom context menu make by me. Could I can do it?

    > By default the JavaFX TextField has a built in ContextMenu with 'undo', 'copy', 'cut' etc. options.
    Really?  Are you sure?  I don't get such a menu in TextFields on a Mac with JavaFX 8.
    Maybe you mean input type text in a WebView?
    I think the answer you are looking for is => webview.setContextMenuDisabled(true);
    See also java - Modify context menu in JavaFX WebView - Stack Overflow.
    And this open feature request:
    RT-20306 Customizable Popup menu in WebView

  • Default context menu options in Multisim 11

    Below is the right click context menu that I get when clicking in the blank area of a sheet in Multisim 11.  The Properties option is not listed so it appears that another option is selected somewhere in settings.  I have tried to do a repair on the installation as well as an uninstall/re-install procedure without luck.  How can I restore the default right click context menu?
    Thanks,
    Thomas Meiswinkel

    I'm having the same issues, but I tried deleting all the files in the Config folder (Options<Global Preference) but it still hasn't fixed anything. Here's my right-click on any component as well:
    Attachments:
    Right Click.jpg ‏14 KB

  • Remove default context in Tomcat 5.5

    Hi
    Can anyone tell me how to get rid of the default context in Tomcat 5.5 (Linux)? I want to make my own webapp the default context (which is easy in all previous releases) but no matter what I try, it doesn't work. I've tried editing:
    1) conf/server.xml
    2) conf/web.xml
    3) conf/Catalina/localhost/<various>
    3) <myApp>/META-INF/context.xml
    But I can't even make the default context 'stop', let alone make my app take over as the default. If someone could assume it's a fresh installation, "out of the box" as it were, and tell me how to get rid of it, I'd be really grateful
    Thanks!

    Ok, I thought that link looked familiar, but it still doesn't help..
    Here is my <context>.. this works perfectly under 5.0 as a separate xml file in the catalina/localhost folder, but under 5.5, I can only get this context to load by adding it directly to the server.xml...
         <Context path="" docBase="D:\dev\Projects\newk00l\website\games\" reloadable="true" crossContext="false">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_k00l_log." suffix=".txt"
         timestamp="true"/>
    <Resource name="jdbc/netk00lextreme" auth="Container"
    type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost/k00l_extreme?autoReconnect=true"
    username="myusername" password="mypassword" maxActive="20" maxIdle="10" maxWait="-1"/>
         </Context>

  • Remove Automator context menu reference

    When right clicking on a folder I would like to eliminate the context menu option for Automator (and its sub-menu).
    What OS X file do I edit?

    mepetaluma wrote:
    When right clicking on a folder I would like to eliminate the context menu option for Automator (and its sub-menu).
    What OS X file do I edit?
    Welcome to Apple's discussion groups.
    This is a guess, but I'd look in these places:
    - /Library/Contextual Menu Items
    - <yourhomefolder>/Library/Contextual Menu Items
    I half expected Automator to have a preference setting to control that, but I didn't find anything like that.

  • Remove Context menu text

    Hello Gurus,
      I am working on WAD 3.5. I use a hierarchy and need to remove the context menu mouse display text
    .Every time I place the cursor on the web object, the text " expand the hierarchy" is being dsiplayed.
      If any one knows this please let me know how to go about this.
    Regards,
    Sunitha

    I think you can set the three hierarcy query properties in the WAD.
    In a web template (also made in 3.5) i found the following HTML code.
    Hope this helps.
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZBWOL0068_3"/>
             <param name="MENU_BACK" value=""/>
             <param name="MENU_BACK_TO_START" value=""/>
             <param name="MENU_FILTER" value=""/>
             <param name="MENU_FILTER_ON_AXIS" value=""/>
             <param name="MENU_SELECT_FILTER" value=""/>
             <param name="MENU_FILTER_ON_AXIS_CHART" value=""/>
             <param name="MENU_FILTER_CHART" value=""/>
             <param name="MENU_FILTER_DRILL_DOWN" value=""/>
             <param name="MENU_DRILL_UP_GIS" value=""/>
             <param name="MENU_DRILL_DOWN" value=""/>
             <param name="MENU_EXCHANGE_OBJECTS" value=""/>
             <param name="MENU_REMOVE_DRILL_DOWN" value=""/>
             <param name="MENU_SWITCH_AXIS" value=""/>
             <param name="MENU_HIERARCHY_NODE_DRILL" value=""/>         <param name="MENU_HIERARCHY_DRILL" value=""/>
             <param name="MENU_HIERARCHY_STATE" value=""/>
             <param name="MENU_SORT" value=""/>
             <param name="MENU_CALCULATE_RESULT" value=""/>
             <param name="MENU_CALCULATE_VALUE" value=""/>
             <param name="MENU_CUMULATE_VALUE" value=""/>
             <param name="MENU_DISPLAY_DOCUMENTS" value=""/>
             <param name="MENU_DOCUMENT_CREATE" value=""/>
             <param name="MENU_DISPLAY_DOCUMENT_PROP" value=""/>
             <param name="MENU_DISPLAY_DOCUMENT_SELEC" value=""/>
             <param name="MENU_RRI" value=""/>
             <param name="MENU_BROADCASTER" value=""/>
             <param name="MENU_EXPORT_TO_CSV" value=""/>
             <param name="MENU_EXPORT_TO_XLS" value=""/>
             <param name="MENU_BOOKMARK" value=""/>
             <param name="MENU_CHARACTERISTIC_PROPERTIES" value=""/>
             <param name="MENU_VALUE_PROPERTIES" value=""/>
             <param name="MENU_QUERY_PROPERTIES" value=""/>
             <param name="MENU_VARIABLE_SCREEN" value=""/>
             <param name="MENU_CURRENCY_CONVERSION" value=""/>
             <param name="MENU_ENHANCED" value=""/>
             <param name="USE_PAGE_WRAPPER" value="X"/>
             <param name="MENU_FORWARD" value=""/>
             TEMPLATE PROPERTIES
    </object>

  • Remove Context Menu for KM Content for Anonymous User

    Hi All,
    I have implemented External Facing Portal and i have to show KM documents
    on Anonymous user home page. For This I have created JSP page and have
    created url iview for this created JSP application. On this JSP  page to access
    KM i have used below code
    <iframe src ="/irj/go/km/navigation/documents/Public%20Documents" > </iframe>
    Now i am able to see the KM Contents of Public Documents on my Anonymous
    user Home Page .But here i need  to remove the context menu for KM Content
    for Anonymous User , but the context menu should come for Logged in user.
    How to do this ??
    Regards,
    Piyush

    solved

  • UWL Removing detail area menu/context menu that appears on each item/task

    Hi
    On the MSS Universal Worklist on the Portal(EP7 SP14)(ESS MSS 600 SP11, ECC 6), how can I remove the context menu(detail area menu) on each item/task. The options for the menu are Forward and Resubmit.
    I understand(I stand corrected) that it is on uwl.standard xml file where this menu can be removed. Im not too sure what to change on this file.
    Your help is much appreciated and points will be rewarded if your answer works.
    Kind regards
    RD

    Hi Andy
    Thank you for your quick response. I have added the necessary actions to the "List of UWL Actions to exclude" property, and this sorted out my problem.
    Thank you - I have given you points
    Cheers
    RD

  • "Edit in Photoshop Elements" missing from windows context menu.

    How do I get the "Edit in Photoshop Elements" back in my context menu? I think what happened was that after installing PSE 13 I uninstalled PSE 12 and that may have removed the context menu item. Just guessing. Is there a way to add it back without re-installing PSE 13?

    Right click on a photo file of the type that you will want to open in PSE. In the context menu, mouse over Open With to open the menu. Select "Choose default program" and in the window that opens select PSE 13 if it appears in either Recommended or Other. If it isn't shown, choose Browse and navigate to the PSE 13 .exe file in Programs/Adobe/Photoshop Elements. If you want files of this type to always open in PSE when double-clicked, check the box "Always use the selected program". If you want PSE 13 to only appear in the Open With menu, be sure the box is not checked. Click OK.

  • Modifying Call Context Menu

    Can anyone let me know if there's a possibility to modify the Call context menu shown in the example below ?
    We just need to add:
    "Gizmo5 call" that may goes through WiFi or 3G
    "Skype" that goes through WiFi or 3G
    "SIP1" that goes through WiFi to SIP provider  just like "Internet call"
    "Calling card" that goes through prepaid calling card provider, the call scheme can be <access number>p<PIN>p<destination number> (p is for pause)
    Hope's it's possible.

    Hi Frank,
    thanks for the kind response..
    Yeah, i had tried that out too. But in this case the context menu that i'm defining doesn't seem to be picked up by af:tree since i'm only able to see the default context menu of the browser.
    This is strange since even the default context menu provided by af:tree doen't appear.
    Do we need to do something else also for that...
    By the way i assume that you were talking about contexMenu facet of af:tree only.
    I am inlinning the jspx code snippet for convinient.
    Can you please suggest something....
    <af:panelFormLayout customizationId="panelFormLayout1">
    <f:facet name="footer">
    <af:group>
    <af:commandButton text="commandButton 1"
    customizationId="commandButton1"/>
    <af:image source="http://www.google.com/intl/en_ALL/images/logo.gif"
    shortDesc="THE logo" customizationId="image1"/>
    <af:tree value="#{myBean.model}" var="model"
    rowSelection="single" initiallyExpanded="true"
    id="structureNavigatorTree" inlineStyle="padding:2px"
    contentDelivery="immediate"
    customizationId="amitKumarGupta">
    <f:facet name="nodeStamp">
    <af:panelGroupLayout>
    <af:outputText value="#{model.name}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="contextMenu">
    <af:popup id="yesItsgeneral">
    <af:menu id="fdssd" text="menu 1">
    <af:commandMenuItem id="micrsfdg" text="Expand All2"/>
    </af:menu>
    </af:popup>
    </f:facet>
    </af:tree>
    </af:group>
    </f:facet>
    </af:panelFormLayout>
    </cust:panelCustomizable>
    <f:facet name="editor">
    <pe:pageEditorPanel/>
    </f:facet>
    </pe:pageCustomizable>
    </af:form>
    </af:document>
    Hi,
    turns out the solution is easy. Just use the context
    menu facet, similar to below
    <f:facet name="contextMenu">
    <af:popup>
    <af:menu text="menu 1">
    <af:commandMenuItem text="Expand
    All2"/>
    </af:menu>
    /af:popup>
    </f:facet>
    custom menu to the existing set of menus
    Frank

  • Browser right click context menu

    Hello Everyone,
    I want to get the browser right click context menu in the WD Application when they are running in portal. We don't want the SAP Default context menu, which is confusing for our end-users. Is there a way of disabling this. I would appreciate your help.
    Regards,
    Gopal.

    >Because, the iviews developed with WD JAVA will not have this option and the iViews with WD ABAP will have this special context menu. Which is not being consistent on the portal side for the end users.
    You must be running an older version of Web Dynpro Java then, because later versions have the same right mouse click context menu.
    You can't return to the browser context menu, because the application can also defined application-specific options in the WD Context Menu.  It isn't just the stuff that is placed in there by the framework.  You would be disabling Application specific funcitonality then.  You can hide some of the framework options as suggested already in this forum, but you can't go back to the browser context menu.

  • Removing right-click menu items

    When I highlight a group of text in a web page and right click the text, There are 4 options in the menu for converting the text to PDF.
    How do I remove these options from the menu?

    Why doesn't adobe have an option within settings to remove shell/context/menu items?
    For those who don't want the extra crap cluttering up their menus...
    In winXP
    -(with IE closed), click 'start', 'control panel', 'internet options'.
    -Click on the 'programs' tab.
    -click 'manage ad-ons'
    -Find the Browser Helper Object called 'AcroIEToolbarHelper Class',
    --highlight it and click 'disable'.
    -Click 'ok' to close the manage ad-ons window, click 'ok' to close the internet options window.
    You still need to remove the items from the right-click menu.
    (*everyone puts a disclaimer so here goes. If you are scared to edit the registry...don't. Create a restore point, don't touch any other entries except the ones listed.)
    -click 'start', 'run', type 'regedit', click 'ok'
    -go to this entry "[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt]"
    -delete the 8 Adobe 'convert....' entries. (or just the ones you want gone).
    (You can export them if you want, just highlight, right-click, export, and save them somewhere, but it's not necessary. If you want them back just go to 'internet options' in 'control panel' and 'enable' the Browser Helper Object again. If you re-enable it, the next time you start IE the registry entries and right-click items are replaced.)

Maybe you are looking for