Creation of dynamic menus

Hi All,
Can someone help me on dynamic cration of menus.  Also is it possible to create the menu bar dynamically too or it shud be made statically and menus added to it dynmically.
Thanks & Regards
Jaspreet Kaur

Hi,
Please go through this pdf https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/061f0ca3-0c01-0010-67a6-ecc32193442f
you may get some idea!
Regards,
ramesh

Similar Messages

  • 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

  • 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)...

  • 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.

  • 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 :(

  • Dynamic menus are overlapping. Help needed.

    Hi guys,
    please help, otherwise I'm going to hammer my head.
    Dynamic menus are overlapping under in the Main menu > Pearl Academy (here is the site: http://lopearls.businesscatalyst.com/ )
    I really don't know how to fix it. Please help.

    You gotta change the CSS mate.
    try to give the display of inline-block to your top level lists or display:block and then float them left.
    Second everytime I'm in a certain page, the link related to that page somehow generates this:
    <li class> <a ....>text ....
    why do you have an empty class in there? check the Menu module files and see what you've got there to fix that, you shouldn't have that. maybe some JS is messing with you too.
    Assign classes through BC, or just target the lists directly with CSS.
    If you want to be specific on what list you target, use this method:
    #nav > ul
    and then #nav > ul > li
    this will target only the direct tag after the nav div.
    man you got a lot going on there, this need a bit of clean up.
    I can tell you that it takes a good chunk of CSS lines to control what you've got there.

  • Displaying notes on Dynamic Menus in TEM

    Good morning
    When a note is attached to an attendee on a course in TEM, is there a way that there cam be an indicator displayed on the dynamic menus (PSV1 and PSV2) against the attendee that when you click on it, it goes directly to the note.
    Many thanks
    Dawn

    Hello Dawn,
    You need additional development to do that.
    Go and copy SAP standard function RH_MORINFO and change the resulting function acc to your requirements.
    Then in the T77S0 table write down the name of your Zfunction as SEMIN MINFO value.
    In standard, you can make "key", "additional info" and "abbreviation" fields visible in PSV1 and PSV2 transactions.
    To customize the user view, use Change settings button - View tab.
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Jan 14, 2010 1:37 PM

  • Dynamic menus from database with URL parameters

    Hello!
    I'm trying to build a set of dynamic menus that would be based on data from the database. I need to have a menu item for every database row, and all the items point to the same page, but each with its own parameter in the item's URL. The URLs in the menus would look like ".../form.jspx?recordID=xx", where xx is read from the database.
    Right now, I can display the menu, everything works fine, but the problem is in the PageMap section of Databindings.cpx - ADF needs to have every URL mapped to a page definition. So even if I have "form.jspx" mapped to "form_PageDef", I have to explicitly tell the server that "form.jspx?recordID=xx" is also mapped to "form_PageDef" by putting this into Databindings.cpx.
    Of course, if I have to manually enter page mappings for all the record IDs that appear in the menu, it's not really a "dynamic menu" anymore. Does anyone know of a way to avoid this problem?
    Can I somehow change Databindings.cpx programmatically? Can I change page mappings dynamically? Help, please? I'm very grateful for any and all info.

    Hi Vex,
    I'm not sure whether you'll find a solution as "Dynamic" as you are describing with dynamic entries via the DataBindings.cpx. Menu's work quite differently in JSF (See section 19.2 on dynamic menus in the developers guide). You may need to get the solution halfway.
    1) Drive the menu contents / structure from the database via some backing bean. The sample application that comes with JDeveloper has a fixed menu structure via exposed beans. You'd have to adapt this to be driven off of a managed bean. This takes a bit of work, but it can be accomplished. You'll need to loop through your database records via the Iterator to build the content of your menuModel
    2) Let JDeveloper create the entries in DataBindings.cpx to map the pageDef.xml file to each jspx file. (Manual). The pageDef.xml file gets interpreted during the initContext phase of the ADF Lifecycle, and the DataBindings.cpx tells this phase where to look to create the runtime version of the pageDef.xml (See developer's guide 13.2.3).
    3) Manually setup your faces-config with the right outcomes.
    4) have the database return the outcomes and viewIds, among other values.
    5) do the appropriate thing in your JSPX to make use of this menu module backing bean.
    In this case, you'll control the content and structure of the menu via the DB. However, you'd have to make sure the data in your DB matches the definitions of the jspx viewid's and outcomes.
    However, there is a quite a bit of work involved to do this. I.e. db design, backing bean for menu module, disciplined co-ordination between DB and JSF, etc...
    I hope this helps.
    Kenton

  • Pekwm dynamic menus bug - any workaround?

    I've run into a pekwm bug that's present in both the version in [extra] and the git version, and is basically a showstopper: entries in dynamic menus, generated like this
    Entry { Actions = "Dynamic /directory/to/script" }
    become unselectable after the first time their parent menu is opened. In other words, each submenu of a dynamic menu can only be used once; after that the main menu must be closed and called again. This is a pretty big pain in the neck.
    I've tried, as a workaround, creating a menu that would refresh only when pekwm gets reloaded, as is done in the default menu for virtual desktops:
    Submenu = "Applications" { COMMAND = "/path/to/menu/generator" }
    But that doesn't work; it simply doesn't produce a menu. How can I work around this obnoxious bug? Is there any way to get menu-refresh-on-reload working?
    Last edited by Gullible Jones (2008-08-04 22:21:48)

    Anyone?

  • Inserting Dynamic Menus

    I have a series of dynamic menus I need to insert into a
    database. They are repeated 5 times, a series of items that can be
    ordered on a daily basis.
    How do I do this so the database can record which day an item
    has been selected for please - or is there a better way to do this?
    Php/MySql.

    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 :(

  • Dynamic Menus - What to use?

    Hi -
    Any good suggestions for a replacement for the old abandoned MX CSS Menus extension?
    I want to create a dynamic " user updateable " site meny system/tree menu, and need any suggestions for a good system to choose.
    Kind r
    Bjørn.

    "hough probably not something I'd want a client to update if they are at a "Contribute" level"
    Beth...
    The CSS Menu from Interakt WAS a very nice extension to DW that allow users to add new menu items based on a recordset. HOWEVER the style was made by the designer.
    For example: You have a back-end page where the user can add, remove produts and categories. When the user add a new categorie to the "Admin Products" page, a new link will magicly appear on the front end. :) With the style defined by the designer.
    Adobe Spry Menu blabla, for now, doesn't know what a recordset is. >;)
    Like Bjørn-Tore:
    Any good suggestions for a replacement for the old abandoned MX CSS Menus extension?
    Regards,
    Márcio

  • ADF Dynamic Menus

    Hi. I'm dynamically creating a menu and clicking on one of the menus, I need another one to appear
    menu without flic page. How to do this? My version JDeveloper is 11.1.1.3.0 . Thanks

    Hi. I'm dynamically creating a menu and clicking on one of the menus, I need another one to appear
    menu without flic page. How to do this? My version JDeveloper is 11.1.1.3.0 . Thanks

  • Regarding the creation of dynamic view by clicking on a tree.

    Hi all:
          There are two parts on the window. the left part is a tree with three  tree nodes, by clicking on tree nodes, the other is an area to show the business content.
         for example, three tree nodes are respectively "input customer infor", "change customer infor", "view customer infor".
        the initial view is input customer infor, I know how to create the view initially in method init or wddomodifyview, but when I click tree node like "change customer infor", how create the view , or how to refresh the view , that is to say, to delete old elements in the view of " input customer infor".
        can you please give me a hint?
       Thank you very much !

    Hello,
    be wary of always creating the view and then just assigning the visbility of the given view container. Although this is quite simple, it means that the WD events are still called for the view - especially where tree might be built, the associated logic could be quite intensive. It is better to only call this logic when needed.
    Embedding the views in a single view container - and dynamically switching the assignment would ensure only the selected view would be called.
    I would strongly advocate the FPM to do some of this - but unfortunately it doesn't (yet) have a layout that would easily support your two pane view (if you really need this). However it does have a guided activity floorplane (GAF) which is the standard for this sort of select,  edit, save, confirm sort of work - if you want your users to have a similar experience to the rest of SAP's delivered apps, it would certainly be worth considering.
    good luck,
    Chris

  • Creation of dynamic interal table and fieldcatalog for monat field

    Dear Experts,
    I am finding the average days of payments giving to our  vendors. for this i am passing company code, fiscal year , period and vendor in selection screen.
    Based on the period(monat)  i need to display the average days and finally i need to display total of the average days. suppose in selection screen if user enters 3 period then the output is like this.
    OutPut:
    column1    column2         column3                               column4                                  Column5                              column6
    Vendor No Vendor Name Avg days of paymentsPeriod 1  Avg days of paymentsperiod 2  Avg days of paymentsperiod total Averge days
    please advice me to get this output. thanks in advance.

    Hi,
    1.build your fieldcatalog by yourself.
    e.g. 4 columns , you will append 4 records in fieldcatalog internal table.
    2.use this fieldcatalog internal table to create dynamic internal table by method: cl_alv_table_create=>create_dynamic_table.
    3.edit content of  dynamic internal table.
    4.use alv to display it.
    That's all.

  • Problem during creation of dynamic Internal

    Hi All,
    I am trying to create a dynamic internal table.
    I went through many posts, but the problem i am facing is,
    I want an internal table as:
    Empno
    Ename
    Lgart1- Depending on the Wage types user enter on the selection screen.
    Lgart2
    When i tried to create dynamic table by
    cl_abap_typedescr=>describe_by_name(tab_name),
    it asks for the table name as string and tht also standard table.
    I have a type user defined local structure like :
    DATA: BEGIN OF it_struct,
          pernr LIKE pa0001-pernr,  "Employee No.
          ename LIKE pa0001-ename,  "Name of Employee
          BETRG LIKE PC207-BETRG,   "Net Amount
          END OF IT_struct.
    I created this structure, coz these 3 fields are fixed and other fields i need to add dynamically.
    Please suggest.

    Hi,
    Instead of using cl_abap_typedescr class use cl_alv_table_create and method create_dynamic_table.
    For your reference check the program below.
      DATA: dreft TYPE REF TO data,
            drefl TYPE REF TO data.
      DATA: xfc TYPE lvc_s_fcat,
            ifc TYPE lvc_t_fcat.
      FIELD-SYMBOLS: <upload> TYPE STANDARD TABLE,
                     <fs_worka> TYPE ANY.
      xfc-fieldname = 'Record'.
      xfc-datatype = 'CHAR'.
      xfc-intlen = '255'.
      APPEND xfc TO ifc.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
       i_style_table             =
          it_fieldcatalog           = ifc
        IMPORTING
          ep_table                  = dreft.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ASSIGN dreft->* TO <upload>.
      CREATE DATA drefl LIKE LINE OF <upload>.
      ASSIGN drefl->* TO <fs_worka>.
    Hope this might help you.
    Thanks,
    Prashanth

Maybe you are looking for

  • Power Point video captivate?

    Is there a simple way to record audio while I present a power point presentation in Captivate? 

  • Starting a .swf file with Autorun

    Autorun doesn't allow you to start an executable (Flashpla.exe) with command line arguements (such as the name of the .swf file). Does anyone have any suggestions of how I can start Flashpla.exe and autolaunch the .swf file? Perhaps a .ini file? Can

  • Multiple DB Columns in Single UI Column

    Hi All, I have an issue with displaying more than one db columns in one UI column. Issue Description* 1. Presentation List contains the following list of fields Report Id Reporter Name Reporter Business Unit Reporter PhoeNo Reporter Lead Lead Phone P

  • OIC migration from 11i to 12i

    Hi, We are migrating OIC from 11i to 12i. Planning to do a table export and table import. Will it work? Any ideas Guyz!!! If anyone can help me with the TRM of OIC, that would be great !! i searched a lot.. did not find one... Got the implementation

  • Where can I find java algorithms and classes

    Does anyone here know about places on the net where you can download algorithms and classes written in Java? I am looking for a method/class that is able to do the following: Given a mispelled word. Find the word in a word list that best matches this