Dynamic Menus for Navigation

i have a question about Dynamic Menus for Navigation... i am a new in jsf/adf... and i want a suggestion about my new application i am trying to do:
my boss has give me all the items that the menu will have.... and this menu will be the same for all the pages...this menu is 3 level deep... i have created all the pages for all the menu item in the page navigation and i have also created some navigation rule... that means that everything is static... dont know if this solution is correct and will not lead me to a lot of problems in the future....
i aslo sow the Dynamic Menus for Navigation in the SRDemo application .... but my answer is can i create the Dynamic Menus if i havent create the model layer...????

I AM LOST :(.... PLEASE GUYS... ONE OF YOU SHOULD GIVE ME SOME TIPS ON HOW TO CREATE A DYNAMIC MENU... CAN I USE THE THE MENUITEM.JAVA FILES IN SRDEMO.... DO I HAVE TO CHANGE ANYTHING IN THE CODE?
In the SRDEMO application the menu has only two levels ... what do i have to do if i want a menu with 3 levels??? thanks in advance :(

Similar Messages

  • How to make menus for navigation?

    I am coming from the Articulate world to Captivate. For those
    not familiar with Articulate, when you publish a Powerpoint file,
    it automatically creates a menu on the left with all the slide
    topics that you can skip to when clicking.
    How do I do this in Captivate? I see it is not automatic. I
    suppose the bigger question is, what is the best way to create a
    template that has functional buttons that allow me to skip to
    different modules and different slides within a module as well as
    the typical forward/back/exit buttons.
    All of the resources I see on Captivate focus on more linear
    presentations or simulations on how to fill out a form. I am trying
    to create e-learning that is not necessarily linear and allows the
    user to skip around to get the info they need.
    I am not expecting anyone to do the work for me, but I am a
    little frustrated on where to start with a solid resource on
    guiding me how to create the right navigation tools.
    Thanks.

    Hello DmltnMn
    Be welcome the community
    You would like being raised links for the created slies it
    will be able to create menu in his project lincando for each
    presentation, a good practice.
    To that be enough to go in Project> Skin> Menu and
    activate the Option Show Menu oh it is enough to create his menus
    indicating each slide.
    I wait what is this his doubt, and what it could have helped
    :)

  • ADF- managedbean creation error while making dynamic menus.

    im a lil new here so plz excuse and help!
    scenario:
    to create dynamic menu for two tabs : general..
    general has a subtabmenu in form of menubar wid items: country, city,...
    i created dynamic menus for my application.wen i ran my page i got this error:
    SEVERE: Managedbean menuItem_General could not be created Can't get value from value binding expression: '#{resources['erms.menu.gen']}'
    (erms.menu.gen is an entry in UIResources.properties)
    now, i followed the exact same process as mentioned in the SRDemo application, in adfdevguide!
    also double checked that
    i. resource adapter is configured in faces-config.
    ii.menu model and menuTreeModel are configured with thier default adapaters in faces-config.
    iii.resource bundle specified in jsp page.
    can sum1 plz refer
    1.wat is the reason of this error? wat are the things dat shud hold true in order to run these dynamic menu? which files shud b specified where?
    2. in wat order are the managedbeans created ? is it in order they apprear in faces-config file or in order they are used in the jsp page?
    3: is it possible that u click on a menuTab item and it displays its particular menubar's items while staying on the same page? or
    u click on a menubar item and it displays its particular dropdowns while staying on the same page?
    is it posible wid ADF or javascript shud b used?
    best regards
    Rabs

    im a lil new here so plz excuse and help!
    scenario:
    to create dynamic menu for two tabs : general..
    general has a subtabmenu in form of menubar wid items: country, city,...
    i created dynamic menus for my application.wen i ran my page i got this error:
    SEVERE: Managedbean menuItem_General could not be created Can't get value from value binding expression: '#{resources['erms.menu.gen']}'
    (erms.menu.gen is an entry in UIResources.properties)
    now, i followed the exact same process as mentioned in the SRDemo application, in adfdevguide!
    also double checked that
    i. resource adapter is configured in faces-config.
    ii.menu model and menuTreeModel are configured with thier default adapaters in faces-config.
    iii.resource bundle specified in jsp page.
    can sum1 plz refer
    1.wat is the reason of this error? wat are the things dat shud hold true in order to run these dynamic menu? which files shud b specified where?
    2. in wat order are the managedbeans created ? is it in order they apprear in faces-config file or in order they are used in the jsp page?
    3: is it possible that u click on a menuTab item and it displays its particular menubar's items while staying on the same page? or
    u click on a menubar item and it displays its particular dropdowns while staying on the same page?
    is it posible wid ADF or javascript shud b used?
    best regards
    Rabs

  • ADF Menus for Page Navigation

    I have completed the [ADF Menus for Page Navigation|http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_43/ccset43_ALL.html] tutorial.
    Everything work as expected, with one exception. The 'Add and Bind Navigation Pane Components' section has you put a Navigation Pane in the menBar facet of the panel header. In the Hint dropdown you select 'buttons' and set some other properties.
    When I run the finished project, the menu items in the menbar are displaying vertically instead of horizontally as the image with the tutorial shows. Why? How do I get them to display horizontally?
    I really like that menu model and plan utilizing it in real world application; unfortunately, have the menubar dislay vertically in the panel header is unacceptable.
    <f:facet name="top">
            <af:panelHeader text="ADF Menu Example" id="pt_ph1" size="0">
              <f:facet name="context"/>
              <f:facet name="menuBar">
                <af:navigationPane id="pt_np1" hint="buttons" var="menuInfo"
                                   value="#{root_menu}">
                  <f:facet name="nodeStamp">               
                      <af:commandNavigationItem text="#{menuInfo.label}"
                                                id="pt_cni1" icon="#{menuInfo.icon}"
                                                destination="#{menuInfo.destination}"
                                                action="#{menuInfo.doAction}"/>
                  </f:facet>
                </af:navigationPane>
              </f:facet>
              <f:facet name="legend"/>
              <f:facet name="info"/>
            </af:panelHeader>
          </f:facet>

    Ok, I am still at a loss as to why this is happening.
    It seems to be related to the either navigationpane or the menu meta data.
    I have only foudn one difference so far. The tutorial states that JDeveloper us org.apache.myfaces.trinidad.model.XMLMenuModel managed bean class by default; however, my project used oracle.adf.view.rich.model.MDSMenuModel. When I use the XMLMenuModel, the only visible diference is in the Visual Editor and the Preview panes. The menus appear horizontally in those panes, but not when you run the application in a web borwser.
    Still troubleshooting.
    [Tutorial: ADF Menu Model Managed Beans|http://www.oracle.com/technology/products/jdev/11/cuecards/adf_set_43/ccset43_tellme4_5.html]
    My project code:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <metadata-resource>/WEB-INF/adfc-sale-config.xml</metadata-resource>
      <metadata-resource>/WEB-INF/adfc-products-config.xml</metadata-resource>
      <view id="home">
        <page>/home.jspx</page>
      </view>
      <view id="help">
        <page>/help.jspx</page>
      </view>
      <view id="preferences">
        <page>/preferences.jspx</page>
      </view>
      <view id="shop">
        <page>/shop.jspx</page>
      </view>
      <control-flow-rule id="__1">
        <from-activity-id id="__2">*</from-activity-id>
        <control-flow-case id="__3">
          <from-outcome id="__4">adfMenu_home</from-outcome>
          <to-activity-id id="__5">home</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__6">
          <from-outcome id="__7">adfMenu_help</from-outcome>
          <to-activity-id id="__8">help</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__9">
          <from-outcome id="__10">adfMenu_preferences</from-outcome>
          <to-activity-id id="__11">preferences</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__12">
          <from-outcome id="__13">adfMenu_shop</from-outcome>
          <to-activity-id id="__14">shop</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
      <managed-bean id="__15">
        <description id="__17">Menu Model Managed Bean</description>
        <managed-bean-name id="__16">root_menu</managed-bean-name>
        <managed-bean-class>oracle.adf.view.rich.model.MDSMenuModel</managed-bean-class>
        <managed-bean-scope id="__18">request</managed-bean-scope>
        <managed-property id="__20">
          <property-name id="__19">createHiddenNodes</property-name>
          <value id="__21">false</value>
        </managed-property>
        <managed-property id="__23">
          <property-name id="__25">source</property-name>
          <property-class id="__24">java.lang.String</property-class>
          <value id="__22">/WEB-INF/root_menu.xml</value>
        </managed-property>
      </managed-bean>
    </adfc-config>

  • Making DVD style navigation menus for use in PC files

    Hi There
    I basically need some help with the above! I want to make a film, with menus to start with, which can naviagte to the desired chapter when seleceted. When I put the menu overlays on, instead of exporting to DVD i choose PC files, but only the film itself is saved, not the graphics or menus. Is there a way this can be done?
    Many thanks in advance

    Once you've added your menus and navigation, you need to Share/To Disc to burn a DVD. (You can also elect to burn the files to a folder on your hard drive.)
    Are you not trying to create a DVD?
    I'm not sure of any other way to make your video navigable by menus.
    Although, as I explain in my books, in version 9, you can Share to a WebDVD -- which creates a web site that you can navigate through menus, like a DVD.

  • ANN: Flash navigation menus for Dreamweaver

    WebAssist is proud to announce the release of FlashNav Menus,
    a collection
    of 9 search-engine friendly, Flash menus for Dreamweaver.
    FlashNav Menus
    were developed by master Flash programmer Dmitry Molchanov of
    f-source.com
    and combine easy to modify and search engine compatible HTML
    links with
    animated Flash menus.
    FlashNav Menus are $94.99.
    For more information, visit:
    http://www.webassist.com/professional/products/productdetails.asp?PID=124
    Best - Joe
    Joseph Lowery
    Vice President of Marketing, WebAssist
    Author, Dreamweaver 8 Bible

    carl wrote:
    > would you suggest to install the updater - without
    giving you any
    > responsibility for whatever you recommend
    The only problems that I am aware of with the updater are
    these:
    * Some third party extensions currently don't work with
    Dreamweaver 8.0.2.
    * The Test SQL Statement panel doesn't render correct results
    for MySQL
    functions.
    * The recordset dialog box strips out the MySQL CONCAT()
    function from
    SQL queries.
    Item 1 isn't a major concern to me, as I rarely use the
    extensions
    affected (mainly MX Kollection 3 and extensions created by
    Tom Muck).
    Items 2 and 3 do concern me, but since I'm aware of them, I
    can easily
    work around them.
    I have installed the 8.0.2 updater, and don't have any plans
    to
    uninstall at the moment. The changes to the server behaviors
    improve
    security, so that's an important reason to update. On the
    other hand, if
    you rely heavily on extensions created by InterAKT or Tom
    Muck, you may
    be better off waiting until they have updated their products,
    too.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • How To Use Dynamic Menus To Place Manually Created Jspx Pages On Sub-Level

    JHeadstarters,
    Back on the JHS trail and could use some help.
    I started using dynamic menus (see section 9.2 JHS Dev Guide) to setup a custom menu structure and found it could not be easier however I need to solve 2 issues;
    1. How to get more than 2 levels deep on the menus (parent, child, grand-child, etc.)? In the menu structure setup I have created a menu that is 3-levels deep however when it runs you only get 2 levels. Perhaps a template needs to be changed.
    2. How can I assign manually created jspx pages to sub-level menus?
    Scenerio;
    I have JHS generated pages *** AND *** manually created pages. Using dynamic menus to place the JHS genned pages works fine, the problem is how to do it with manually created pages.
    Using Dynamic Menu's I created a top-level menu tab named "warp-core", below it on the next level I have two sub-menus, one named "search" and one named "form" for displaying the results of the search and modifying the rows (don't ask me why they are seperate).
    The problem is how to assign the manually created jspx pages to those sub-menus? Or am I going abouth this the wrong way? Perhaps I could use JHS to generate seperate search and display pages.
    Thanks!
    BG...

    Bill,
    1. Yes, you need to decide yourself how and where you want to render this third level menu. You then create a region file similar to dynamicMenu2Tabs.jspx, just replace the references to level2MenuItems with level3MenuItems. Then create a custom template to call this menu 3 region file.
    For example, you could create a bulleted vertical list for level 3 as illustrated in section 9.1.3 of the Developers Guide (that example is with static menu, but you can use similar technique for dynamic menu)
    2. Instead of a group name, you can specify a JSF Navigation action in the menu administration application. So, you create a global navigation case to your custom page, and you enter this navigation case id in the menu admin app.
    Note that if you want to generate separate search pages, you can do so by setting the advanced search property to "separatePage".
    Steven Davelaar,
    JHeadstart Team.

  • More info needed on BC Dynamic menus and using CSS with them

    Hi all,
    The BC Gurus tutorial on Dynamic Menus and how to style them with CSS made no sense to me, unfortunately. The presentation was too rushed and the screen too small to see what was happening.
    In a previous question I found out how to apply CSS classes to BC menus after a bit of a run around.
    I was putting the # in front of the Item ID name and a . in front of the class name and this was not necessary.
    I have further questions though, as I am still struggling to get a BC Dynamic menu to style properly with the CSS I have created.
    1. If you choose CSS as the menu type, can you set the font, background colour and rollover state of the menu items in the Dynamic menu section? Or do you have to style it all in the CSS stylesheet?
    2. If you choose CSS as the menu type, the option to say how the submenu sits under the root menu disappears. So do you need to set this in the CSS stylesheet? And if so in which element? UL or LI?
    3. If you choose CSS/HTML only, how is this different to the option of CSS for the dynamic menu?
    4. If you choose CSS as the menu type and if you set a width and height in the menu item, and then set a different width and height in the CSS stylesheet, which width and height wins?
    5. If you want a dynamic menu to show on an Android phone, do you have to choose CSS/HTML only and do all the styling in the CSS stylesheet? Or should you avoid dynamic menus all together and just use a UL list in the template? (I am doing a responsive fluid grid layout in DW for the template).
    6. I am finding that the dynamic menu I have done, with CSS as the type, does not show and hide the sub menu items properly on an Android phone. Is there a problem with the javascript in Dynamic menus?
    Thanks for any help you folks can give on these questions!

    .pacnew files are only created if you have modified the default (or a change has been made to the config upstream); in both cases, you should be looking to incorporate the changes.
    It seems some new options are being shipped with lxdm: you want those in your config (turning them on or off is a matter for you and the man page to sort out)...

  • Dynamic configuration for the application

    I'm a newbie and trying to evaluate JSF. I took part in a project with struts framework and i could say i don't like struts cause of some limitation and i suspect that JSF has the same limitation. First of all, there are JSP pages. I can't use JSP pages/templates stored somewhere else except web application. I'd like to store my templates in the database. This will give me ability to add/change/remove jsp page without redeploying war-archive. Yes, i can use exploded war-archive and add JSP pages straight into file system, but i don't like this way. Next problem is the configuration file like struts-config (faces-config, whatever). I have to write down all my navigation logic and beans mapping to this file and it's really annoying me. This kind of project requires dynamic configuration for the all web application and i'd like to add/change/remove pages, beans, actions without restarting/reconfiguring webapp. Today, I looked thru documentation and source code and found that FactoryFinder class could use my own classes but i'm not sure it will be enough for the dynamic configuration for the beans. In any case, it's a huge problem with the templates.
    Right now i'm thinking about 1(one) JSP with XML/XSLT rendered HTML content and JSF for event/action handling. I mean, i'll use XSLT to render dynamic content and JSF for dispatching events. In that case i have to render form tag names in the HTML as JSF engine (i'm not sure if it possible). If it will take a lot of time to do this i'll have to switch a home-grown framework.
    So, i really need advices how to implement this sort of dynamic behavior in the web application.
    regars,
    anton

    A lot of what you're seeing are genuine limitations, but happily, JSF is so pluggable that you can overcome them.
    JSPs are problematic in exactly the way you describe - unless your app server has support for pulling JSPs out of a database, etc., you're SOL. JSF, however, lets you use something other than JSPs by replacing the ViewHandler. That's a fair bit of work, but it is doable.
    For navigation logic, you'd replace the NavigationHandler. As long as you're willing to write the code that can pull navigation rules from an external source, life is good.
    For managed beans, all you need to replace is the VariableResolver - again, if you can pull the rules from an external source, you have full control.
    This is all far from easy - and it's a huge amount of work for one person - but I'd imagine these pieces will become available from various sources. A core goal of JSF 1.0 was making the framework as a whole pluggable so that others can innovate on top of the framework.
    -- Adam Winer (EG member)

  • Jquery menus for DW CC

    So Spry is gone in DW CC. Spry of course made deploying menus very quick and easy. Does anyone have any suggestions for an equivalent tool for menus using Jquery?
    Thanks

    I have been using DW as well as teaching it at a college for years. I started with this program when it was Macromedia... I'm shocked by some of the discussion here.  I have been teaching web 1 (intro to HTML & DW), Web 2 (DW and CSS) and web 3 (CMS) for years. I have 100's of students of experience that MANY people - new, and experienced, are in need of quick and easy tools to accomplish their needs.  The learning curve is STEEP. and that hill takes time to climb. Let alone to get prepared for the next step - JavaScript, JQuery, PHP, etc. They even have to learn about servers, and domain names, and FTP etc. etc. Some people master Dreamweaver and the included FTP - and never move past it. They are amazing designers... but not developers.
    First - we had a navigation builder that allowed the same states for navigation as Flash has (up, over, down, etc.). This was a quick, fun, and easy way to build a navigation system. They removed that system - but they replaced it with (IMHO a much better option) Spry. I would not call Spry a failure... it was a quick and useful tool that made building navigation really fast - and set the need for modifying CSS, but not having to build it from scratch.
    Now - even the spry menu is gone. Tsk Tsk Adobe... You shouldn't remove a tool/function without replacing it when you ask people to spend money again to have an upgrade. I don't believe an upgrade should ever LOSE a function completely... I don't mind learning a new tool or better way... but to have things completely taken away? Yikes!  I'm glad we don't teach at the college using the CC version. I will hold back my other complaints here, but so far... CC has not made me the happiest - I keep running into road blocks.
    On the bright side... Edge Animate - super cool tool - a CSS/HTML 5 version of Flash... if you haven't tried it yet, then get into it and have some fun! And if you like to work with code - then the Edge CC Coding program is great too - unfortunately, my major  disappointment? The preview portion of it only works with the ONE browser I don't/won't use... Chrome - so that sucks.
    Anyway - I look forward to a resolution being found, and don't accept for one moment that it shouldn't be up to them to provide an upgraded tool... in their upgraded tool. If no upgrade to Spry is included here - then it should be left alone until one is figured out.
    Just my opinion.... and just as an FYI: I'm fairly savvy with JavaScript, and Jquery... but it doesn't mean that it doesn't take me more time to have to write it, or modify it, and when you have a lot of sites to complete, update, and manage... for clients who can't afford to pay as much... it's not feasible for me to always have to go there. I need DW to be my tool of choice. Sadly, I'm finding myself turning more and more towards WordPress for a quick and easy build... not a good sign when it is free and my software costs money.

  • Agentry - Dynamic text for Platform wizard button?

    Hi,
    I want to reuse the same screen set navigating from 2 different places.
    The text for the "Move to the Next Screen (cannot back up) platform wizard button should be different in each case to make it easier to understand for the end user. Apparently the only option is to hardcode a text, but I would like to know if it could be possible to use a rule or something to display a dynamic text for the wizard button.
    Thank you,
    Marçal

    Hi Marcal,
    Unfortunately that idea was shot down a while ago, though it would be nice.  The general dividing rule I use is if the question is appropriate for Agentry regardless of whether it is installed standalone (like Work Manager 5.3) or on any version of SMP, then it should be in SAP for Mobile.  These are usually application development or customization types of questions.  The Agentry landing page is in SAP for Mobile for that reason.  Though the line is definitely getting blurry now that Agentry apps are moved or moving to the SMP.
    If the question relates to Agentry issues which directly involve SMP (usually installation, implementation, or configuration), then it should be in SAP Mobile Platform Developer Center.
    I am planning to put together a blog or several to help go through where and why different posts should be placed.  Also one about tagging!
    Thanks, Mike
    SAP Customer Experience Group - CEG

  • Dynamic, multi-level navigation

    Hello~
    After doing quite a bit of Google research, I am not really any closer to discovering a good tutorial for building both the backend and frontend for a dynamic, database-driven navigation system through ColdFusion. I am looking for a start on a system that will, ideally, be able to create both a navigation bar and dynamic breadcrumbs throughout the site. I am not really sure how to structure my database tables, as there are going to be atleast five levels of pages! Any suggestions would be very helpful, thank you!
    KC

    Well, I found at least part of my answer here: http://forums.adobe.com/message/2200187#2200187
    I haven't tried breadcrumbs yet, but the nested lists work beautifully!

  • Are there any responsive menus for mobile in BC?

    Hi folks, I've created mobile/responsive menus in DW but not dynamic ones, so I'm not sure how to do CSS for the non static content, or to address the menu specifically. I know you can govern your menu with custom css, but I'm  nt sure how to write it for my menus.  Anyone have examples/extensions that allow for button style drop menus for mobile like linked in or facebook?
    Looking for  a starting place for the mobile templates..
    TIA,
    Jeff

    Network Service provider in Nepal
    http://en.wikipedia.org/wiki/Network_Service_Providers_in_Nepal

  • Conceptual problem: AJAX Memory tree for navigation

    Hello,
    I have a conceptual problem with a navigation tree.
    I have to implement a AJAX memory tree for navigation purposes, which should be on page 0, so this tree is on the left side of every page.
    Therefore I searches some examples and found this: http://www.oracle.com/technology/pub/articles/spendolini-tree.html
    So I try to rebuild this example with my custom tables and recognised that this example is very slow. I have round about 100 nodes in the tree and my database and network connection is extremly fast(I`m sitting in a proffesional data center).
    So first of all I am wondering why the tree is so slow when I try to expand it and if it is possible to use this tree on the page 0.
    Because of the performance problem I searched for some alternatives, but I didn`t found one.
    Every custom APEX-tree is not dynamic(AJAX) and the dynamic APEX-lists can not base on a select-statement.
    So at this moment I don`t know how to build a AJAX memory tree for navigation which is fast, looks good and works as expected.
    Does anybody have an idea why the tree is so slow?
    Are there alternatives which I can try to use?
    Thank you,
    Tim

    Hi Tim
    100 nodes is not a lot of data for a tree, so why bother with AJAX at all.
    Just render the entire tree, and let the user expand and collapse nodes as they like.
    APEX has a dhtml tree in the standard themes which is enough to get you started.
    The issue I had with it is that it isn't stateful, so doesn't remember which nodes are open between page refreshes.
    That's what got me into ExtJS originally.
    If you look at my demo, I have a couple of examples worth looking at:
    - [tree using APEX lists|http://apex.oracle.com/pls/otn/f?p=200801:2025:0::NO:::] uses APEX built in hierarchical lists, which allows conditional logic on nodes
    - [AJAX editable tree|http://apex.oracle.com/pls/otn/f?p=200801:2013:0::NO:::] which is fully AJAX enabled.
    The other point worth mentioning is if you are using hierarchical queries for your tree you should consider restructuring your data set.
    Typically trees are fairly static, in that the data changes very little over time.
    This makes a very strong case for maintaining the node sequence and level in a denormalised way.
    Data updates become more expensive, but read operations, which will be the bulk of your operations will be very fast.
    Many choices on how to implement, e.g. materialized views with refresh on demand.
    Regards
    Mark
    [Random Insights into Oracle|http://oracleinsights.blogspot.com/] | [Marks Playpen|http://apex.oracle.com/pls/otn/f?p=200801]

  • Creating Context Menus for reports

    Hi All,
    I have a classic report with some fields. Whenever I right click on any of the values in the report column, a context menu should appear with the options I define.
    Any idea abt how to do this?
    Regards,
    Sushma.

    Hi,
    <u><b>Context Menus for Lists</b></u>
    As with normal screens, the system creates a standard context menu when you use a dialog status in a list. You can call this standard context menu using the right-hand mouse button (Shift + F10). It displays all of the functions assigned to function keys.
    You can define context menus for list lines in the same way as for screen elements. To do this, you must assign a special function code to the function key Shift+F10 in the dialog status of the list. To define context menus for a list, you must first have defined a dialog status for the list and set it using SET PF-STATUS.
    In this dialog status, which you will normally create using the List status template, the List with context menu option must be selected in the function key setting attributes. To do this, place the cursor on a function key setting in the Menu Painter and choose Attributes or Goto   Attributes   F key setting. The function code %CTX is assigned to function key ShiftF10. Since the introduction of context menus on lists, it is no longer possible to assign ShiftF10 freely to any
    function in the Menu Painter. In any existing dialog status where a function code was assigned to ShiftF10, it has been reassigned to ShiftCtrl+0. You must activate the function code %CTX manually before it has any effect in the dialog status.
    As on screens, context menus on lists are generated dynamically in ABAP programs as objects of the class CL_CTMENU.
    For context menus on lists, you must program a callback routine in the ABAP program:
    FORM on_ctmenu_request USING <l_menu> TYPE REF TO cl_ctmenu.
    ENDFORM.
    In this subroutine, you can define a context menu using the object reference <l_menu> as described in the Context Menus [Page 639] section. To define a specific context menu, for example, you could get the cursor position on the list using GET CURSOR. If required, you may need to find out the current list level from the corresponding system fields (for example, SYLISTI).
    When you right-click a list line (or choose Shift+F10), the callback routine is executed, and the context menu defined in it is displayed. If the user chooses a menu item, the system carries on processing according to the function code assigned to it. The function is either executed by the runtime environment, or the corresponding event is triggered (in which case, the function code is placed in the system field SY-UCOMM).
    If you right-click outside a list line, the system displays the standard context menu.
    Ex.
    REPORT demo_list_context_menu .
    DATA: wa_spfli TYPE spfli,
    wa_sflight TYPE sflight.
    START-OF-SELECTION.
    SET PF-STATUS 'BASIC'.
    SELECT * FROM spfli INTO wa_spfli.
    WRITE: / wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-cityto.
    HIDE: wa_spfli-carrid, wa_spfli-connid.
    ENDSELECT.
    CLEAR wa_spfli.
    AT USER-COMMAND.
    CASE sy-ucomm.
    WHEN 'DETAIL'.
    CHECK NOT wa_spfli IS INITIAL.
    WRITE sy-lisel COLOR COL_HEADING.
    SELECT * FROM sflight INTO wa_sflight
    WHERE carrid = wa_spfli-carrid
    AND connid = wa_spfli-connid.
    WRITE / wa_sflight-fldate.
    ENDSELECT.
    ENDCASE.
    FORM on_ctmenu_request USING l_menu TYPE REF TO cl_ctmenu.
    DATA lin TYPE i.
    IF sy-listi = 0.
    GET CURSOR LINE lin.
    IF lin > 2.
    CALL METHOD l_menu->add_function
    EXPORTING fcode = 'DETAIL'
    text = text-001.
    ENDIF.
    CALL METHOD l_menu->add_function
    EXPORTING fcode = 'BACK'
    text = text-002.
    ENDIF.
    ENDFORM.
    In the dialog status BASIC for the basic list, %CTX is assigned to Shift+F10. In the
    callback routine, a context menu is defined. The definition depends on the cursor
    position and the list currently displayed.
    If the user right-clicks the two-line default page header on the basic list, the system displays a single-line context menu. The Back function is executed by the runtime environment. If you right-click a list line, a two-line context menu is displayed. The Detail function triggers the event AT USER-COMMAND.
    Regards,
    Bhaskar

Maybe you are looking for

  • Business catalyst won't let me set up email  with .media extension

    I have this domain - www.thinkchurch.media that I am using with a business catalyst hosted site. It will not let me set up an email with this domain for some reason even though I have the right hosting plan. It says, "This cannot be an email address.

  • Does apple mail need to be re-configured?

    Suddenly my mail program on my macbook pro won't work with my time-warner  Time warner says I have to change my preferences in mail

  • FLVplayback skin works in HTML locally, but not on a server.

    I am developing a Flash based website that plays a video file using the FLVplayback component. Everything works fine locally, the paths are all relative and everything (index.html, the SWF with the FLVplayback and the skin SWF) is all in the same pla

  • Time Machine over wireless no longer working

    First time posting, so please forgive if I have not followed proper protocol.  I am using 2010 MacBook Pro running OSX 10.6.  The MBPro's Time Machine is no longer able to back up.  I am using an external HD that is connected directly via USB2 to a M

  • Macbook pro 1.1 quitting unexpectedly..and frequently

    My Macbook pro 1.1 Intel cored Duo (2.16 GHz) has been unexpectedly and w/o warning quitting recently. Has ben for the last 2 weeks. On restart (which does not seem to be a problem) I get between 10 minutes and 4 days of use - then crash again. No wa