Context menu in WebDynpro?

Hi!
Is it possible to make a context menu?
I mean a menu for the right mouse click!
I think I`ve already seen it in the SAP Portal but I`m not sure.
Roman

Hi Pran,
i agree. But looking at Armin's answer in this Tree control events, the "(yet)" lets me hope, that the WD team is at least thinking about providing right-click functionality for some UI elements... Just guessing anyway
Best regards
Stefan

Similar Messages

  • How to create a context menu in ALV table cell editor(Webdynpro abap )

    Hello Experts,
    I am having a problem in creating a context menu in a table cell editor in the ALV table output.I have assigned a 'lta' as the cell editor.But befor assigning the lta as cell editor I have assigned the menu to the lta.But when the view is rendered I can see the lta with the actioned assigned to it.But I cannot see the context menu.
    The code snippet below:
      "Create menu for each coloumn
      create OBJECT lo_menu_actions type CL_SALV_WD_VE_MENU EXPORTING
          id = 'MITM_ACTIONS'.
      lo_menu_actions->set_visible( value = abap_true ). 
      lo_menu_actions->set_visible_fieldname( value = 'ACTIONS' ).
      "ADd menu items
      CREATE OBJECT lo_menu_item_create type CL_SALV_WD_VE_MENU
      exporting
        id = 'MITM_CREATE_EXPRESSION'.
      lo_menu_item_create->set_visible( value = abap_true ).
      lo_menu_item_create->set_visible_fieldname( value = 'Create' ).
      "Add item 1
      lo_menu_actions->ADD_ITEM( VALUE = lo_menu_item_create ). 
      "  Set the cell editor for each column cell(link to an action)
      LOOP AT lt_node_dec_tab_cols INTO ls_node_dec_tab_cols .
        lv_column_name = ls_node_dec_tab_cols-object_name.
        lr_column = lr_column_settings->get_column( lv_column_name ).
       "Create 'lta' Ui item
        CREATE OBJECT lo_lta TYPE cl_salv_wd_uie_link_to_action.
        lo_lta->set_menu( value = lo_menu_actions ).
        lo_lta->set_text_fieldname( lv_column_name ).
        lr_column->set_cell_editor( lo_lta ).
        IF ls_node_dec_tab_cols-is_result EQ abap_true.
          lr_column->set_cell_design( value =
                      cl_wd_table_column=>e_cell_design-key_medium ).
        ENDIF.
      ENDLOOP.

    Hi Prakash,
    I have not come across this requirement till now to have context menu in a cell editor of alv.
    Unfortunately  the implementation of method SET_MENU of alv ui elements ( ex: cl_salv_wd_uie_text_view ) is not updating alv configurable table, instead it just stores in a global attribute as string. Hence has no effect on context menu.
    If your user is very particular about this requirement of having context menu in cell editor, you can go for a normal table. Because, normal table's cell editor has the property to set the menuID as we do it for other ui elements.
    Regards,
    Rama

  • How to create a context menu which appears on right click

    Hello Experts,
    I want to create a context menu which should appear on the right click of a mouse anywhere on the screen.
    I have seen this functionality in one of the sap applications, and i guess this is an inbuild functionality in Webdynpro for ABAP but in WebDynpro Java i haven't found any such inbuild functionality.
    Does anybody have any idea about it ?
    Regards,
    Amol

    Context menus are not supported in NW04 and NW04s, they will be available in the next major release.
    Armin

  • Dynamic Bea Portal: Drag&Drop, Ajax,  Context Menu, etc...

    Hi all,
    Here's a buzzy discussion for all enterprise portal geeks:
    I am currently implementing a portal on WLP.
    On the other hand, I'm also building a proprietary framework to host several applications for a large institution.
    For the latter, we are using Ajax and solid Javascript development to create a desktop-like visual environment (with reusable components, drag and drop between applications, context menus, dynamic windows, reusable views: list, detail, etc).
    Given the functional contrast (between the portal and the rich application), I am becoming terribly frustrated by the inflexibility of the portal/portlet paradigm, and the innability to incorporate most of these concepts without hacking the specification... it's evident to me that the jsr168, as implemented now, has sacrificed too much in favor of too little (WSRP and portability) and carries with limitations imposed by arguably "obsolete" problems such as client statelessness or the innability to refresh the browser on a per portlet basis.
    One might argue that the latter comes from a commitment to the "no javascript" development philosophy. But, doesn't Weblogic console, Portal admin and even the sample portal use javascript for non-trivial tasks??
    OK, so we can use javascript... :-)
    mmh, in that case, here are some obvious enhancements that come to my mind which still could be applied without violating the specification:
    - Drag and drop of portlets within a page
    - Lifecycle and State management occuring asynchronously over the wire, for each portlet independently
    - Dynamic invocation of a given portlet with a javascript Api (on demand)
    - Context menu (or similar) used to invoke a relevant portlet (by allowing registration, just like in a shell)
    I am being <b>very</b> conservative here... and yet these features alone would create a dramatically more dynamic user experience without pushing the spec. Plus, we would be able to create lighter portal applications (smaller activation tree and the whole page reload overhead).
    Of course portlet state and inter-portlet communication should (or could) then be passed to the visual interface. But, hey, isn't that where it should be? If you think about it, no portlet should allow potentially insecure operations to occurr unchecked, and for this matter, the consumer server environment is as dangerous as the user client environment (if you hold true to the producer-consumer-user paradigm).
    Now, talking about interoperable portlets... how standarized is inter portlet communication anyway?
    And what about mobile and js-disabled souls!!? well, I believe fallback is the word for them.
    Anyway, all this issues should be resolved by the portal container, that's what we are paying for ;)!
    how?... easy: clever, solid javascript and a smart fallback strategy.
    If you feel I'm talking on air here, here's some pretty solid air:
    http://projects.backbase.com/RUI/portal.html
    http://www.google.com/ig
    I am currently experimenting on this issues, but I'm already having conceptual problems with the personalization service and others... (of course, it's all thought for something else).
    Any ideas more than welcome.
    BEA, what do you have in mind?
    Regards,
    Aldo

    Hello Armin,
    Do we have this feature available in Java Webdynpro now?
    Best Regards,
    Roby..

  • Remove "Personalize Link" from context menu of iViews.

    HI,
    We have to disable / hide the "Personalize Link" from context menu of all  iViews in the portal.
    we do not want to go to Properties of individual iViews and change that.
    Is their any global setting for that?
    _vishal

    Hi Vishal,
    Are you talking about the Pesonalization option in iView tray or Webdynpro Personalization.
    You don't need to open each iview to change a common property. You can use Multiple Property replacment to achieve this.
    http://help.sap.com/saphelp_NW70EHP1/helpdata/en/0f/764b87dfb948fcb13fd7695e157892/content.htm
    Regards
    Prashant

  • Disable context menu

    Hello,
    i constructed a webdynpro without knowing about the criminal elements in a company. With the standard context menu users make buttons visible, that ought to be unvisible and so they disturb the intended results.
    I only found infos to enhance the given context-menu but not how to disable it. Is there a hint for me to knock out the criminal energy of the users?
    Thanks in advance
    Sabine

    Hi,
    you can refer to this thread.
    [Browser right click context menu;
    Regards,
    Priya

  • Context menu in the Universal Worklist

    Hello all,
    I'm migrating from Portal 7.0 to 7.3, and right now, I'm trying to migrate the UWL configuration.
    I created the Universal Worklist Systems, I uploaded all the .xml configurations, I re-registered the system, I configurated the UWL iView... everything was done like in the Portal 7.0... BUT it doesn't works like before. I'm having problems with the "context menu" of each workitem.
    In Portal 7.0, when all the "List of UWL Actions to exclude" are typed, the context menu of each workitem dissapears, and I can do a "click" over the workitem and a webdynpro app. is launched.
    In Portal 7.3, when all the "List of UWL Actions to exclude" are typed, the context menu of the selected row dissapears, but still remains in the other unselected lines; and the most important thing, when a workitem row is selected, I can't do a "click" over it, it doesn't do anything... If I leave "launchWenDynPro" value into "List of UWL Actions to exclude", I can do a "click" over the workitems, and the webdynpro app. is launched, but the context menu appears...
    How can I do to make dissapear the context menu?
    I read the following link, but my Portal 7.3 doesn't works like this...
    http://wiki.sdn.sap.com/wiki/display/BPX/ContextMenuBehaviourhaschangedinrelease7.10andhigheroftheUniversal+Worklist
    Thanks!
    Miguel.

    Hi Miguel,
    Thanks for your post.  It would be great if you can let me know the complete version of the UWLJWF component from NWA.  To get this please do the following:
            To get this, please do the following:
            Open NWA -> Configuration management -> System info ->
    press Components info tab, and for software components
    Search for UWLJWF and you will find the component information.  Could you please post it here?  Is it possible that you can provide a link to some screenshots of what you are seeing as well?
    Along with this, have you checked the standard iview from the PCD - if so is this giving the same result?
    Regards,
    Beth
    EP - Senior Support Consultant II
    SAP Active Global Support
    Global Support Centre Ireland
    **SDN Forum Moderator:
    http://forums.sdn.sap.com/forum.jspa?forumID=495&start=0
    **SDN Universal Worklist Wiki:
    http://wiki.sdn.sap.com/wiki/x/ehU

  • 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

  • How to remove or hide toolbar context menu in visual studio IDE

    Hi All,
    Currently we are extending Visual studio and it's functionality.
    As we know, we can have different categories of tool bars like standard, build, debug etc shown in pic - 
    or we can access the categories via -  View Main Menu -> Toolbars 
    Basically My requirement is that, I don't want to show these options (Build, Debug, Debug Location, Layout, customize , Text Editor, Standard etc) shown in context menu or shown in submenu.  
    How can I achieve it ? Please advice.

    AFAIK, you can only customize it manually, but can't hide the builtin menus:
    http://msdn.microsoft.com/en-us/library/vstudio/wdee4yb6(v=vs.100).aspx
    or maybe you can try vsct:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/f3acc18c-b176-4f06-a8d1-cccff3d4bf7f/how-to-disable-and-enable-menu-commands-in-vspackage?forum=vsx

  • Playlists missing but still in context menu

    Macbook Pro 13" 2013 running Mavericks and latest versions of both Mavericks and iTunes.
    This is a bit of a weird issue. At some point in the last few weeks iTunes decided to update itself from 7.0 despite the fact that I said NO every time the opportunity popped up. Then lo and behold, I open it one day and it's a newer version - fricking gremlins.
    Anyway, after this update my library and playlists had disappeared. I figured I would just open a previous library, but for some reason the newest previous library was several months old and didn't have some playlists.
    While it's not a major issue to remake those missing playlists, what's irritating me is that they're in the context menu when I right click. I can even add music to them. But I can't see the playlist. And when I add a song to one of these missing playlists, the "Show in Playlist" menu item doesn't list these missing playlists. The major problem is an overlap in names - an old playlist and a new replacement playlist with the same name and I'm accidentally adding to the old, not new.
    Anyone have ANY idea what the heck is going on here?
    As an addition, I have the old playlists on my phone (iPhone 4) still. I haven't synced the phone since this problem came up because it wants to erase everything on my phone.
    Any help would be greatly appreciated, thanks!
    brad

    You aren't the only one. I did NOT upgrade to the latest Itunes version recently but upon entering Itunes today my playlists were all gone (and I spend a lot of time organizing playlists). Found a previous .itl (Itunes library file) and was able to save a lot of playlists but the .itl file was 6 months old so all updates made to playlists since then are gone. I may have lost more and am still determining loss but I really hate it when work is lost - I've been an Itunes user since it first came out and this is a regular experience.
    Suggested update for Apple would be to create more historical .itl files (could be daily with user choices as to how many and naming conventions). .itl files can be big so there would have to be file reuse or some means to not overwhelm the user's computer with unused files.

  • I want to access the options in the context menu when clicking on a dropdown list in the bookmarks toolbar, but the context menu disappears when I try to click on one of the options. How can I keep the menu from disappearing?

    I have several dropdown lists in my bookmarks toolbar and would like to access the properties for some of the the items. This used to work fine. However, now, when I go to the list and place the cursor on a particular item, the context menu that is usually available on a right click disappears when I try to access one of the options. This is the menu that begins with Open. What can I do to regain this functionality? I really need the information in the Properties section. I'm using Firefox 3.6.8

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Also check the Mouse driver settings in the Control Panel.

  • Right click on the mail list doesn't open the context menu any more.

    Hi everybody,
    Thunderbird stoped to show the context menu on the mail list recently. Right click just prints the crossing line. What the problem could it be?
    Thanks anyone for any help.
    Win 8.1 64
    Thun 31.3.0

    ''Nick532 [[#question-1037921|said]]''
    <blockquote>
    Hi everybody,
    Thunderbird stoped to show the context menu on the mail list recently. Right click just prints the crossing line. What the problem could it be?
    Thanks anyone for any help.
    Win 8.1 64
    Thun 31.3.0
    </blockquote>
    ''Toad-Hall [[#answer-668503|said]]''
    <blockquote>
    Very odd.
    Right click on email in list should open a drop down selection.
    Usually a crossed line through something denotes that it is marked as deleted in an imap mail account.
    * http://kb.mozillazine.org/Deleting_messages_in_IMAP_accounts
    See if there is a conflict with an addon.
    Restart Thunderbird in safe mode.
    Help > Restart with addons disabled.
    then perform the same test; right click on email in list.
    Do you get the drop down, if yes, then one of your addons is causing the conflict.
    You would have to disbale each in turn to locate which one is the problem.
    Maybe the addon needs updating.
    Report back on results.
    </blockquote>
    I have the same problem too. When i restarted with addons disablem problem dissapeared but when i switch to normal mode and disable all off the plugins and addons the problem still remains.
    Please help.

  • Cannot see context menu for XML messages with Safari and Google Chrome

    Hi All,
    I am unable to see Context menu with the option of Create, Edit, Delete etc. for KM messages. This problem persists with Safari, Chrome and IE9 browsers. This thing works fine on IE7 and IE8 browesrs.
    On clicking  History and Options buttondoesn't perform any action i.e. we cannot see the list of options when clicking on those. This problem also persists with the above mentioned browsers.
    Also, with IE9 , I am unable to create New message when clicking on New button. The XML form doesnt open on the button click.
    The portal version I am using is EP 7.0.
    Can someone help me out with this?
    Thanks a lot in advance.
    Regards,
    Archana

    Hello Archana,
    You should check the PAM to see if your browser is supported with your current EP verison.
    http://service.sap.com/pam
    Regards,
    Lorcan.

  • Enhance context menu in WAD 7.0

    I need to enhance the context menu in a WAD 7.0 template. There a different approaches to do this in 3.5, but none of these work with 7.0.
    The javascript function SAPBWAddToMenu is no more available rsp. visible and there is no command/parameter in the web item "context menu".
    Any ideas how to implement it with 7.0?
    Edited by: Wulf-Diether Betz on Feb 2, 2009 1:08 PM

    Hi,
    I am sorry but I think it is not possible in BI 7.0 at the moment.
    Regards
    Erwin

  • Context menu's in Alv Report (Grid)

    hello,
    what i have done- i have created a ALV report  by using the function modlue REUSE_ALV_GRID_DISPLAY.
    what i want-  When  user clicks with Right mouse button on some cell.
                              context menu should get displayed. a list of menu should appear  then user can select one of these options        and   eventually i'll on user command.
    however i know the concept of context menu's and i have created context menu on screen elements in module pool.
    but i have no idea whether these menu's can be created on ALV Grid.(simple ALv Grid----not ABAP OOPS)

    check the program BCALV_GRID_06, it gives a demo of context menu functionalty,
    but it uses cl_gui_alv_grid

Maybe you are looking for