Portal Dynamic Menu's

Hi
I'd like to create a dynamic menu using Dynamic Pages in Portal Provider for our Portal homepage.
In the database I have found menu tables - one that contains main-menu items and another that contains sub-menu items. These tables are modified by a Master Detail Form in the Provider.
I can get an SQL to pull this information out of the table, but do not know what else is needed in the procedure to create dynamic html and generate a dynamic menu.
Can anyone help please?
Thanks
Debbianna

Hi Debbianna -
If you are not already a member of Portal Knowledge Exchange ... sign up now - it is free
http://portalstudio.oracle.com/servlet/page?_pageid=2112&_dad=ops&_schema=OPSTUDIO&_mode=3
Once you log in, if you do a search on DHTML you will see some samples for dynamic menus. These allow you to download the code as well so you can check out how others have implemented this and possibly just reuse their portlets.
Hope this helps,
Candace

Similar Messages

  • How to add a dynamic menu to the Portal?

    Dear all,
    I am restructuring the company's Intranet on which I plan to put a left-side vertical menu. On the menu, most links are accessible to all Intranet users except some KPI (key performance indicators) links which are only accessible to managers.
    I am evaluating a third-party dynamic menu builder so called "Sothink DHTML Menu" which is javascript based and provides features for connecting to database via JDBC in jsp.
    For static menu scenario, "Sothink DHTML Menu" is perfect for Oracle Portal in the sense of easy development and deployment.
    For dynamic menu scenario, if I really want to use "Sothink DHTML Menu", I need to put the codes in jsp file and then place the jsp file on the Portal page. Here is the tutorial http://www.sothink.com/product/dhtmlmenu/store/jspdb/jspdb.htm
    I still can't figure out how to do that. Can any experts here tell me how or suggest other alternatives for generating a dynamic menu on Portal?
    Thanks
    George (HK)

    Hi
    I also use SoThink menus in Oracle Portal, but for static menus (I upload them in the HtDocs of Apache and then refer to them with an URL Item).
    In my previous version of Portal I also had to display some kind of dynamic menus, some parts should only be visible to some users/groups. But I didn't use Sothink at this moment but "DHTML Menus" from an other company.
    Starting from an example and using their libraries I wrote my own menu in javascript. In this .js I wrote some functions
    - 1 that document.write(s) the start of the menu and the public part of the menu
    - 1 that document.write(s) the reserved part of the menu
    - 1 that document.write(s) the last part of the menu.
    Then in a navigation page I defined 3 regions, each region contains some jscript code that launchs the function/menu part of the same range. And I used the item level security to set right access to the second region/menu part.
    It worked fine, I just had to add some /* at the end of region 1 ent */ at the beginning of region 2 to remove the HTML code Portal writes between the regions.
    But it was very time consuming if your menu changes often.

  • In outlook 2013 Add-In, Adding dynamic menu to splitButton idMso="DialMenu" is working and the same code is not working in outlook 2010 Add-In.

    In outlook 2013 Add-In, Adding dynamic menu to <splitButton idMso="DialMenu"> is working and the same code is not working in outlook
    2010 Add-In. please let me know, if i am missing something. Below is the xml and screen shot
    <contextMenu idMso="ContextMenuFlaggedContactItem">
     <splitButton idMso="DialMenu">
              <menu>
                <dynamicMenu id="CallContactwithFreedomvoice
    " label="CallContactwithFreedomvoice" 
                            getContent="OnGetContenttest"                           insertAfterMso="Call"/> 
            </menu>       </splitButton>    </contextMenu> 

    Hi Narasimha prasad2,
    Based on the description, the context menu for the flagged contact doen't work in Outlook. I am tring to rerpoduce this issue however failed.
    I suggest that you check the state of the add-in first to see wether the add-in was loaded successfully.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • New page not being opened in new window when using a dynamic menu

    I have read an earlier post about this but I didn't really see a solution I could implement there. I have a dynamic menu, and I want one item on it to open a new frame. Here is the module code from the template.
    {module_menu, version="2", menuId="901683", moduleTemplateGroup="Default"}
    It is the main template menu from the Tribeca site template.
    I have tried inserting (_blank) into the appropriate target frame, and still it opens in the same window.  I gathered from the previous post that it was a version issue, but as you can see, the code says "version 2"... or am I mis-reading that?
    I couldn't find where to make changes. The previous post suggested I look for the CSS on the home template, but I am not using a home template.
    Any thoughts?
    Chuck

    Thanks Liam, it worked. I need a clarification if you can... I don't need all the items in the menu to open in a new window, so under the menu itself, under the individual items, I would set the target frame to "_self" for the items I need to remain in the same window? Or is it an all or none thing?
    I really have appreciated the help you've given me.
    Chuck

  • Dynamic menu in tree structure in JSP

    Hi,
    1) I need to display a dynamic menu in JSP. The menu depends on the values received from database. I need to show the items in the structure of tree (like parents, child relation). The tree can have multiple levels (the parent can have children & these children too can have children). This tree structure would be on left side of the screen.
    I would like to use some custom tags rather than javascript. Can somebody post the custom tags or some samples?
    2) Also, once the user selects different items from menu, different action classes should be called. And accordingly, the right side of the screen will show different data.
    So, there should be any way to set different action classes for the menu items. Please post any samples or helpful links.

    Hi,
    1) I need to display a dynamic menu in JSP. The menu depends on the values received from database. I need to show the items in the structure of tree (like parents, child relation). The tree can have multiple levels (the parent can have children & these children too can have children). This tree structure would be on left side of the screen.
    I would like to use some custom tags rather than javascript. Can somebody post the custom tags or some samples?
    2) Also, once the user selects different items from menu, different action classes should be called. And accordingly, the right side of the screen will show different data.
    So, there should be any way to set different action classes for the menu items. Please post any samples or helpful links.

  • Can you create a javascript dynamic menu based on security data in oracleDB

    I am looking for a dynamic javascript menu that is generated based on the user role... basically i get the user role from ldap and then I have a Security table in oracle data base that has the permission info and i want to generate my dynamic menu based on the data in the database table.... the table has the following columns
    private String userId;
    private String security_level; // page level , field level
    private String permission; //CRUD
    private String permissionType; //ALLOW, DENY

    Hello Suzie,
    It is possible but you have "many" ways to do it, since what will happen is the javascript will be generated by an application.
    Are you developing a J2EE application? with or without JSF?
    The best way will be to Google to find a good Javascript menu library, and adapt the generation of it based on the content of your database.
    Regards
    Tugdual Grall

  • ADF - managed bean error in dynamic menu creation

    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!
    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?

    Hi,
    looking at code it seems that you are adding textview and inputfield. please check in debugging if the correct context node/attribute  is being created and you are providing its reference while adding UI elements.
    Thanks,
    Chandra

  • Dynamic menu creation in JSP treating source as dynamic xml

    Hi Everyone,
    I have a XML file which is a dynamic one..It is generated from a tool..I need to parse that xml and generate a menu accordingly in a jsp.In menu the data to be displayed comes from thie hierarchical xml file which is a dynamic one..Siblings and child notes are not fixed..it all generates at rum by some other tool.
    Please help me to tell any logic to create such a dynamic menu ...i am using Dom parser to parse that..
    Regards
    Sajal

    Hi
    This is the xml...I want to display the values in a JSP menu..These values comes from this XML...Like for this XML the struscture will be like
    --Category
    |
    | IT Services
    |
    |ABC Softwares
    |
    |Application Developement
    |
    |Java
    |Mainframes
    |Production Support
    <DIMENSIONS>
    <DIMENSION NAME="CATEGORY">
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="1"/>
    <VALUE>IT Services</VALUE>
    </DVAL>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="2"/>
    <VALUE>ABC Softwares</VALUE>
    </DVAL>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="3"/>
    <VALUE>Application Development</VALUE>
    </DVAL>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="4"/>
    <VALUE>Java</VALUE>
    </DVAL>
    </DIMENSION_NODE>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="5"/>
    <VALUE>Mainframes</VALUE>
    </DVAL>
    </DIMENSION_NODE>
    </DIMENSION_NODE>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="6"/>
    <VALUE>Production SUpport</VALUE>
    </DVAL>
    </DIMENSION_NODE>
    </DIMENSION_NODE>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="7"/>
    <VALUE>DEF Softwares</VALUE>
    </DVAL>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="8"/>
    <VALUE>Application Development</VALUE>
    </DVAL>
    </DIMENSION_NODE>
    <DIMENSION_NODE>
    <DVAL>
    <DVAL_ID ID="9"/>
    <VALUE>Production SUpport</VALUE>
    </DVAL>
    </DIMENSION_NODE>
    </DIMENSION_NODE>
    </DIMENSION_NODE>
    </DIMENSION>
    </DIMENSIONS>
    So in this way i need to populate the data from XML.. there can be n number of nodes child nodes and Siblings..and siblings can also have further Child nodes...So need to populate the JSP Menu from this xml..
    Please suggest some logic or if somebody has some sample code..

  • Dynamic menu problem when chaning from english to arabic language

    Hi all,
          am working on Dynamic Menu its working fine in English when i convert this same menu in Arabic its working fine but the sub menu has some margin...if we set the margin then again for 2nd main menus submenu  is not coming
    in order...
    www.dreamcom.ae   (This is for english working good)
    www.dreamcom.ae/Ar/Index.aspx (This is for Arabic which is not working)
    <div class="wrap">
    <div class="content_wrap menucss">
    <%-- CssClass="menubar" --%>
    <asp:Menu ID="menuBar" StaticEnableDefaultPopOutImage="False" runat="server" Orientation="Horizontal"
    onmenuitemclick="menuBar_MenuItemClick" DynamicHorizontalOffset="2" Font-Size="18px"
    BackColor="#669903" ForeColor="White" StaticSubMenuIndent="100%" Font-Bold="True" Height="56px" vertical-align="top" top="50px"
    margin="0px" position="static" BorderStyle="None" DynamicSelectedStyle-BorderStyle="None" BorderColor="#7ab802" CssClass="menucss">
    <DynamicHoverStyle BorderStyle="Solid" BorderWidth="0px" BackColor="#7ab802" ForeColor="White" />
    <%--below single line is for sub menu --%>
    <DynamicMenuItemStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="0px" Font-Bold="true" Font-Size="17px" HorizontalPadding="6px" VerticalPadding="6px" />
    <%--below single line is for sub menu colour,border --%>
    <DynamicMenuStyle BorderColor="#669903" BorderStyle="Solid" BorderWidth="1px" BackColor="#669903" CssClass="menucss"/>
    <DynamicSelectedStyle BorderColor="#3094FC" BorderStyle="Solid" BorderWidth="0px" ForeColor="#3094FC" BackColor="#5D7B9D" CssClass="menucss" />
    <%--below single line is for mouse over on main menu and mouse over on sub menu --%>
    <StaticHoverStyle BorderColor="#669903" BorderStyle="Solid" BorderWidth="0px" BackColor="#7ab802" ForeColor="#ffffff" CssClass="menucss" />
    <StaticMenuItemStyle ForeColor="White" BorderStyle="Solid" BorderWidth="0px" Font-Size="14px" HorizontalPadding="15px" VerticalPadding="20px" CssClass="menucss" />
    <%--below single line is for sub menu on mouse over --%>
    <StaticSelectedStyle BorderColor="#5CB8FF" BorderStyle="Solid" BorderWidth="1px" ForeColor="#fafafa" BackColor="#5CB8FF" />
    </asp:Menu>
    </div>
    </div>
    this code am using in both english and in arabic.....but in arabic am using style="direction:rtl;" hence it the direction of the content will change...
    and am fetching english and arabic datas are fetch from database..
    Kindly help me out...am trying from long time..
    Thanks.

    Hi,
    This is a ASP.NET question so I think you need to submit the question at:
    http://forums.asp.net/

  • How to create a table less structure with dynamic menu module

    Hi guys,
    I am using dynamic menu module for creating a main menu for http://firstsite08.businesscatalyst.com/
    but it is generating table structure. What changes to do i had to make to generate a table less structure from dynamic menu module.

    Hi Andy,
    When you create a Menu, the option dropdown for the menu has Default, but under that you will see HTML CSS Only option which creates a ul li structure.
    For the Menu Module options you can find more information from the knowledgebase: http://kb.worldsecuresystems.com/134/bc_1345.html?bc-partner#main_Menu_Modules
    If you would like to use the version 2 menu module you can find a bit of a guide I wrote here: http://forums.adobe.com/docs/DOC-1903

  • Oracle Portal Dynamic Pages?

    I grabbed this from the Primer on Portlets "<b>By simply cutting and pasting the HTML provided by affiliates into Oracle Portal dynamic pages, you can create a portlet specifically for that affiliate program and embed it into your portal.</b>"
    How is this Oracle Portal Dynamic Page created?

    The dynamic page is a portal application component. You can create one within any portal application that you have been granted edit privileges (for a sample, go to the Navigator, click on the Applications tab and open EXAMPLE APP). For additional information, check out the on-line help (search for dynamic) or glance at the components section of the product features whitepaper: http://technet.oracle.com/products/iportal/pdf/portal_twp.pdf

  • Adding a dynamic menu to a template

    Can somebody tell me what I'm doing wrong please?
    I have created a menu, I want to add it to a template (this template already has a dynamic menu which I added to it by the way, in case it's important to the answer).
    I have selected the Template and have it ready to edit or do whatever next to it.
    I thought the next step was to select "add modules to Template" and then I would get a panel appear on th right hand side with further options to select the menu I want and then go through the insert proceedure.
    But nothing happens when I click on "add modules to Template".
    I already have one menu on the page, I've done it once already, but for some reason it's not working any more. Or have I just completely forgotten what the correct steps are.
    Yes I have researched and googled but I keep getting answers that just tell me how to create a menu or modify a template, or something other than what I need to know.
    Cheers for any help.
    Grant

    Okaaaaaaaaaaaaaaaaaaaaaaaaaay. So now it's working.
    So if you experience the same problem, here's what happened and how I resolved the problem.
    I closed the browser, started up again and tried adding a menu to a page using "Add   modules to a web page" - it worked, but then BC still wouldn't let me have access to the "Add   modules to Templates" button a second time when I tried it with the template - just wouldn't work. So, I shut the browser again but this time loaded the template and tried adding the the module to the template using the button, and it worked.
    So I'm guessing that this is a bug that needs to be sorted Adobe?

  • Styling a dynamic menu using CSS

    Hi everyone, hope someone can help.
    I have spent a few hours starting to style a new site and i am struggling with the dynamic menu
    http://www.innovas.co.uk/ourclients.htm
    what i would like it to do is have a gap in between each of the main menu items so that its not one consistent block of grey background colour. I have tried isolating the style for tr. and adding a border-padding of 1px with a color white, but this adds the border to all table rows. i just need a way of styling a 1px white border into the menu item layout.
    some help would be hugely appreciated
    thanks in advance
    Phill

    Hello!
    The best way to approach this would be to use Dynamic Menu v2. It will save you a lot of hassle.
    There's a thorough explanation covered in this post: http://forums.adobe.com/docs/DOC-1903.
    Let me know how it goes.

  • Need to find a work around for this Dynamic menu issue.

    Hi all, i've search everywhere for an answer to this, i'll try again here.
    So, If i make a site with Muse, and use the menu widget,
    It generates the cool menu automatically everything is fine.
    BUT, what happens if my client creates a new page from his BC backend using a template i made for that purpose while making the site in Muse (a page with the "{tag_pagecontent}" Tag)
    can it show in the menu?.
    i desperatly need help with this one.
    i.

    Unless i insert at the right place in muse (like in a master page) the menu module tag generated by BC right?
    and for some obscure reason, i'm having a F*$*ing hard time to style
    this will need to be possible in Muse future, i know muse grid came with a BC blog Module, hopefully they will come up with a BC dynamic menu module.
    (sigh) ... i'm so discouraged
    y.

  • How we can generate dynamic menu in jsp page

    Hi all,
    how we can generate dynamic menu in jsp page.
    Thanks
    Manjinder

    by reading more about them on the web or in a good book, OR BY HIRING SOMEBODY TO DO SO. ;)

Maybe you are looking for