Displaying menu bar using ADF - JSF

scenario:
there's a tabbed menu.each tabbed menu has its own menu bar
objective:
the menu bar displays the links according to the tab selected.
how can i do it? is there any way dat i can play around with ADF binding feature? like is it possible to set the render of bar items such that it displays the bar links intelligently [depending on the tab selected]
or last but not least.. shud i use javascript!
any reference to such example available online will be appreciated.
regards,
Rabs

hello,
you might want to read section 11.2. "Using dynamic menus for navigation" It's in the ADF developers guide you can find at the start page of JDeveloper (the studio version anyway).
kind regards,
Nemata

Similar Messages

  • How to show active page in Spry Menu Bar using images

    Hi,
    I have already read this answer "how to show active page in spry menu bar" but I am using images, not text.  I have mouse-over and mouse-out working in the Spry Menu Bar using image.png and image-over.png, but I cant' figure out how to get the image-over.png to appear on the active page since the spry menu bar is locked on the individual pages.  (I tried to put it in an editable comment, but spry wouldn't go for it. :-)
    Any ideas.  Here is the code:
    <ul id="MenuBar1" class="MenuBarHorizontal">
           <li><a href="../index.html" id="home" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','../images/all_pages/home-over.png',1 )"><img src="../images/all_pages/home.png" alt="Home Page" name="home" width="58" height="20" border="0" id="Image8" /></a></li>
           <li><a href="../show.html" id="show" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('show','','../images/all_pages/show-over.png',1)"><img src="../images/all_pages/show.png" alt="The Show" name="show" width="101" height="20" border="0" id="show" /></a></li>
            <li><a href="../team.html" id="team" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('team','','../images/all_pages/team-over.png',1)"><img src="../images/all_pages/team.png" alt="The Team" name="team" width="97" height="20" border="0" id="team" /></a></li>
            <li><a href="../company.html" id="company" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('company','','../images/all_pages/company-over.png',1)"><img src="../images/all_pages/company.png" alt="The Company" name="company" width="139" height="25" border="0" id="company" /></a></li>
            <li><a href="../beatles-tickets.html" id="tickets" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tickets','','../images/all_pages/tickets-over.png',1)"><img src="../images/all_pages/tickets.png" alt="Tickets" name="tickets" width="75" height="20" border="0" id="tickets" /></a></li>
            <li><a href="../media.html" id="media" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('media','','../images/all_pages/media-over.png',1)"><img src="../images/all_pages/media.png" alt="Media" name="media" width="61" height="20" border="0" id="media" /></a></li>
            <li><a href="../news-reviews.html" id="news" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('news_reviews','','../images/all_pages/news_reviews-over.png',1 )"><img src="../images/all_pages/news_reviews.png" alt="News-Reviews" name="news_reviews" width="149" height="20" border="0" id="news_reviews" /></a></li>
            <li class="MenuBarHorizontal"><a href="../contact.html" id="contact" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','../images/all_pages/contact-over.png',1)"><img src="../images/all_pages/contact.png" alt="Contact Us" name="contact" width="79" height="20" border="0" id="contact" /></a></li>
         </ul>
    Thanks so much for helping!
    Cheers,
    Janell

    Just found this page:
    Persistent Page Indicator
    Update: Drat, it is for text menus only not using images. :-(
    Cheers,
    Susan

  • How to create menu bar in ADF

    Hi,
    I'm trying to get a drop down menu in my web app using ADF Faces.
    Currently I'm using an af:menuBar tab with a menu model like this:
    - File
    - New ...
    - Open...
    -View
    - Toolbars ...
    On clicking file new open options should come .
    It only displays the top level nodes (i.e. the File and View)
    Is it possible to make a drop down menu using ADF Faces?
    Using adf 11.1.1.5.0
    Thanks.

    You mena something like this
                <af:menuBar id="mb1">
                  <af:menu text="menu 1" id="m2">
                    <af:commandMenuItem text="commandMenuItem 1" id="cmi1"/>
                    <af:commandMenuItem text="commandMenuItem 2" id="cmi2"/>
                    <af:menu text="menu 3" id="m4">
                      <af:commandMenuItem text="commandMenuItem 3" id="cmi3"/>
                      <af:commandMenuItem text="commandMenuItem 4" id="cmi4"/>
                    </af:menu>
                  </af:menu>
                  <af:menu text="menu 2" id="m3">
                    <af:commandMenuItem text="commandMenuItem 5" id="cmi5"/>
                  </af:menu>
                </af:menuBar>Copy this code to your page and run it to see the menu...
    Timo

  • Dreamweaver MX some versions of Safari displaying menu bar incorrectly

    I am updating my website, built with Dreamweaver MX, running on a Power Mac G5
    Using Dreamweaver MX on a power mac (non intel) running 10.4.11,  when I test the pages in safari and explorer (older versions for that particular OS) everyhing works fine. When I run the actual browsers for real, everything runs fine.  However, when I run OS 10.5.8 on the same mac, Safari ver 5.0.6, the menu bar on certain pages displays incorrectly. It used to be centered, but I moved it to align left. On the old versions, it works fine, on my Iphone's Safari browser, it works fine, but on the Safari 5.0.6, it is in the center still.
    I can't figure out why this is so. I've reset safari multiple times, trashed the safari plist preference file to no avail.
    Any ideas?

    Code errors:
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.chateaujoe.com%2FRecentMenus. html
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.chateaujoe.com%2FMenus%2FSamp le%2520menus.html
    I don't recommend using absolute positioning (aka Layers) for your menu.  Just move your menu table to the top of your content and remove that inline styled Layer div.
    Nancy O.

  • Migrating existing Menu Bar to ADF 11g

    I have the top nav bar for my existing application made with javascript..The menu flows on mouseover..We later started adding ADF 11g screens to the application.. and in every screen i include the javascript Top Nav bar. Please suggest how i can develop/ migrate the Menu bar to 11g so that i can make use of templates..
    Thanks in advance

    Hi,
    what do you mean by "migrate"? I thought you already added ADF Faces screens
    Frank

  • Should word View blink in menu bar using keyboard controls

    When using Aperature should the word View Blink in menu bar when you use the V keyboard symbol

    Hi,
      Try doing this
    While defining your calss add this method.
      context menu
        METHODS handle_context_menu
          FOR EVENT context_menu_request OF cl_gui_alv_grid
          IMPORTING e_object.
    data :menu type ref to cl_ctmenu,
           submenu type ref to cl_ctmenu.
          CREATE OBJECT submenu.
    *--Add Display All.
        CALL METHOD e_object->add_function
          EXPORTING
            fcode = 'DALL'
            text  = 'Display All'.
          CALL METHOD e_object->add_submenu
          EXPORTING
            menu = submenu
            text =  'Display'.
    Regards,
    theja

  • Spry Menu Bar using CSS background image without losing submenu ( V) indicators

    Spry menu bar sets the down and side submenu indicators using
    a positioned background image. I have a requirement to use a
    specific background image yet must retain the > and v submenu
    indicators. Without having to generate full width custom background
    images for each of the menu item types to include the side and down
    menu indicators, is there anyway to use a generic background image
    and show the indicators using just CSS?

    Don't use reserved words in JS
    var event = new Spry.Data.XMLDataSet("events.xml", "catalog/event", {sortOnLoad: "date", sortOrderOnLoad: "descending"});
    event is such a reserved word. If you change this to event1 then all is well.
    I hope this helps.
    Ben

  • Edit Spry Menu Bar using Mouse Click

    Hello…
    I created a Spry Menu Bar and it's working just fine. But on phones and Tablets the submenu doesn't work because it's a mouseover, is it possible to change it to a mouse click?
    Thanks!

    Yes, but it needs a lot of JS coding to do so.
    A better solution is to use a jQuery or pure CSS menubar or visit http://www.projectseven.com/ for a commercial version

  • Horizontal Menu Bar (using JQuery as opposed to Spry Assets)

    In older versions, used SpryAssets to create a horizontal menu bar, but that is no longer supported.  CC has lots of JQuery inserts, but none for a Horizontal Menu Bar.  What do i do to create one?

    Below are a few more menus you could use:
    Pure CSS Drop-Menu
    http://jsfiddle.net/NancyO/zN7fU/
    CSS3 Dropdown Menus
    http://www.red-team-design.com/css3-dropdown-menu
    PVII's Pop-Menu Magic3 (commercial DW extension)
    http://www.projectseven.com/products/menusystems/pmm3/index.htm
    Responsive Iconic
    http://www.dynamicdrive.com/style/csslibrary/item/responsive_iconic_menu/
    Nancy O.

  • Displaying Master-Data using ADF DI

    Hi
    I'm trying to display a master data(as a form) and a detail data(as a table) in excel sheet using ADF DI.
    The process I followed is as below.
    1. This is on HR schema. I created a departmentsVO, and dragged Departments from the data control to the top half of a jspx page as a form, and Employees datacontrol that is wihtin the Departments datacontrol into the lower half of the page.
    2. I ran the page, and the master-detail is perfect i.e., when i click navigate the departments form, corresponding employees of that department are coming in a table in the lower half.
    But the problem is when i used this pagedef file to use in an excel file.
    1. Alll form elements are available in the excel as individual components. Table is available as a tree component.
    2. I binded all the form elements in the excel, also bound prev and next buttons, all at the top section of the excel file.
    3. Binded the table component in the bottom of the excel file.
    3. Defined table download action and Worksheet downsync action as worksheet properties. Workbook prop are also defined properly.
    When I ran the page,
    Form elements and table is prefilled, navigation of form is also working fine. But when I navigate through the form, the corresponding employees are not changing, they are all employees of the first department id.
    My requirement is to change the employee table as the department form is being navigated.
    Can someone pls give some suggestions. What i think I may be missing is that the table is not getting refreshed as I navigate the form(But I already associated the table download action to the worksheet properties).
    Thanks in advance,
    Ravi.

    Found a solution. This might be helpful to others...so m posting it :-)
    While binding the 'Next' button, I added 'Download' component action of the table to the actionset of the button(which already has UpSycn, Next, DownSync).
    So, on click on the button, it actually downloads the latest data to the table. And master - details were shown just perfectly :-)

  • How to add New Menu Bar using Custom.pll

    Hi All,
    I have developed a form based on the Oracle Apps form.For standard form i have to add one more menu bar in tools menu using custom.pll,i'm using 11.5.8 version.
    So can any one help me in thi regards as i'm new to this custom.pll,How can we add that New menu bar item and how can we open the custom.pll
    where we have to write the code and all the stuff.Which we have to use like wise.
    If any one is having the code on the regarding u can please pass me.
    Help me in this as it is urget to the client.
    Regards
    Siva

    Hi Donny thanks for ur reply,
    As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
    If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
    Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
    Bit urget
    If any one is having coding can pls send me to my mail id :[email protected]
    Regards
    Siva

  • Permamently display menu bar in Mac OS/Disable tabs

    iMac i5, Mac OS 10.7.5, Thunderbird 24.x
    The Menu Bar in T-bird 24.x is automatically hidden even though the T-bird Help says that it CAN'T be done. I prefer to have the Menu Bar PERMANENTLY visible, but I can't find a setting in Preferences to do this. Where is the setting that will make the Menu Bar permanently visible.
    I DESPISE tabs in Thunderbird; where is the setting to DISABLE tabs? Again I can't find it in the Preferences.

    Use what you like romad, but personally I have come to like the Australis theme in Thunderbird and I downloaded Firefox alpha when I heard that after a year or fussing and fiddling they have finally moved forward.
    Seriously I have no idea what your talking about though. You carrying on like Thunderbird suddenly changed. Australis has been there since Version 17 tabs since Version 3
    As far as your minority operating system is concerned. I have never used it and have no desire to try and decipher what apple did to a perfectly good copy of BSD. If the product changes so radically on point releases that information a couple of years old is worthless, I am sorry. I am used to point releases being minor changes and whole numbers containing the big stuff. However as Thunderbird does not have a feature of the kind you describe, but apple users have been complaining of similar for years in a number of different applications I suggest you ask apple how to fix OSX so it does not do it.

  • Can menu bar use variants instead of hard coding in GUI Status?

    Hi Experts,
    I am trying to select data into a variant from one table. This variant will be used for text in Menu Bar of GUI Status. I used to hard coding in Menu Bar. Is it possible for variants instead of hard coding in Menu Bar?
    If not, any flexible way is also welcomed. Thanks for any reply and help!
    Regards,
    Ying

    Hi,
    Please refer following link.
    http://help.sap.com/saphelp_nw70/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm
    How to create variant for csutom screen
    New transaction - require variant selection to be disabled
    This may help you.
    Regards,
    Renuka.

  • Displaying blob image using adf

    Hi ,
    We are using adf in our application. We have to disaply blob image from oracle data base on the adf jspx page.This jspx page consists of 2 jsff files.
    I have created an httpservlet and called on the source parameter of image this httpservlet with binding similar as below:
    source="/httpServletName?id=#{bindings}}"
    I am able to display the image.
    But my concern is that I am using iterator for displaying images as there can be multiple records in the table but for every recoed I am getting same image. Please suggest how can I display multiple images coming with respect to various records of data base.
    thanks & Regards

    Hi,
    After attempting the solution given above also I am getting the same issue.
    On the jspx page I want to show Imageid, imagedescription and photo .
    I have 4 records coming from database on the jspx page. I have found that all the data (imageid, description) is first displayed on the jspx and then control gets transferred on the ImageServlet only once and in request.getParameterMap() I get only one "ID" value i.e. the ID value of last record (4th record) coming from data base and hence in all the 4 records on jspx I am getting the same image (i.e. the image in the 4th record of db). Please help me to proceed on this issue.
    On jspx, I have given image source value as :
    <af:image shortDesc="image"
    id="image1"
    source="/imageservlet?id=#{bindings.Id.inputValue}}"/>
    Thanks

  • How to display menu bar in safari

    New to IOS.  Just bought an iPad.
    Trying to import bookmarks, but need to have a menu in Safari to do it (according to some instructions I'm using)
    Don't see a switch in Settings.

    Safari on the iPad does not have a Menu bar. What you see is what it has.
    Depending on where you are coming from though you may still have a couple different options.
    If you are coming from a Mac, you could ostensibly copy your bookmarks to the Safari browser on the Mac and have the bookmarks then sync through iCloud.
    If you are on a Windows computer your best bet is to import your bookmarks to Internet Explorer and use the iCloud Control Panel to sync them over to the iPad.
    iCloud Control Panel for Windows
    http://support.apple.com/kb/dl1455
    You could also download one of the 3rd party Firefox sync Apps onto the iPad. They will sync with your Firefox browser and bring the bookmarks onto the iPad. You can then use them to open your Bookmarks on any browser on your iPad including Safari. The downside is the Bookmarks won't be inside Safari, but instead will reside in the sync App and you can open Safari from there.
    For example:
    https://itunes.apple.com/us/app/sync-for-firefox/id468995230?mt=8
    https://itunes.apple.com/us/app/sync-with-firefox/id611663172?mt=8

Maybe you are looking for

  • Unable to create tasks, all task options are greyed out.

    I have searched all through this Support area, the internet and all options within Thunderbird and Lightning and cannot find a resolution to this problem. Is there a setting that turns the Task feature on and off that I am missing?? Thanks ahead of t

  • Multiple Idocs (DEBMAS06) into one single file

    Hi All, Multiple Idocs(DEBMAS06) are sent from SAP in bulk to be sent to FTP server via XI...(Cannot use Append the file as The structure is with Header,Detail(all the idoc details) and Trailer) I have seen different threads which speaks about the sa

  • ABAP Objects and BADI

    HI Can anyone give me the link for ABAP Objects and BADI'S. I would like to have ABAP Objects with Example as well as BADIS. Please tell me as iam new to those. Thanks in advance

  • Iphone 4 restarting problem

    Hello, I'm new user of iphone, my iphone 4 restart automatically ones a day, its running with iOS 7.0.3, before this iOS 7.0.3 it had iOS 7.0.2 and the same problem was there, please help me to know! Is this any software problem ? RAM did not support

  • Yet again help re speed problem

    First todays stats ADSL line status at 1359 on 01/04/11 Connection Information Line state Connected Connection time 0 days, 00:00:19 Downstream 1,151 Kbps Upstream 888 Kbps ADSL Settings VPI/VCI 0/38 Type PPPoA Modulation G.992.5 Annex A Latency type