Issue with af:menu

I have the following component in my page
a panel menubar which contains a menu("Root menu") inside it. Inside this menu I have a another menu("Sub menu").
Inside sub menu, if I have more than 14 child components, then a scroll button will appear on top and bottom of this sub-menu. I am not able to click on this scroll buttons. When I click the menu is getting closed. Is there any way to avoid this scroll buttons?
Also if Root menu is having more than 14 children then this scroll works absolutely fine.
Is there any solution for this behavior?
I am using ADF 11gR1.
<af:menuBar id="pt_mb2">
                  <af:menu text="Root menu " id="pt_m2">
                    <af:menu text="Sub menu " id="pt_m1">
                      <af:commandMenuItem text="commandMenuItem 1"
                                          id="pt_cmi1"/>
                      <af:commandMenuItem text="commandMenuItem 2"
                                          id="commandMenuItem1"/>
                      <af:commandMenuItem text="commandMenuItem 3"
                                          id="commandMenuItem2"/>
                      <af:commandMenuItem text="commandMenuItem 4"
                                          id="commandMenuItem3"/>
                      <af:commandMenuItem text="commandMenuItem 5"
                                          id="commandMenuItem4"/>
                      <af:commandMenuItem text="commandMenuItem 6"
                                          id="commandMenuItem5"/>
                      <af:commandMenuItem text="commandMenuItem 7"
                                          id="commandMenuItem6"/>
                      <af:commandMenuItem text="commandMenuItem 8"
                                          id="commandMenuItem7"/>
                      <af:commandMenuItem text="commandMenuItem 9"
                                          id="commandMenuItem8"/>
                      <af:commandMenuItem text="commandMenuItem 10"
                                          id="commandMenuItem9"/>
                      <af:commandMenuItem text="commandMenuItem 11"
                                          id="commandMenuItem10"/>
                      <af:commandMenuItem text="commandMenuItem 12"
                                          id="commandMenuItem11"/>
                      <af:commandMenuItem text="commandMenuItem 13"
                                          id="commandMenuItem12"/>
                      <af:commandMenuItem text="commandMenuItem 14"
                                          id="commandMenuItem13"/>
                      <af:commandMenuItem text="commandMenuItem 15"
                                          id="commandMenuItem14"/>
                      <af:commandMenuItem text="commandMenuItem 16"
                                          id="commandMenuItem15"/>
                      <af:commandMenuItem text="commandMenuItem 17"
                                          id="commandMenuItem16"/>
                      <af:commandMenuItem text="commandMenuItem 18"
                                          id="commandMenuItem17"/>
                      <af:commandMenuItem text="commandMenuItem 19"
                                          id="commandMenuItem18"/>
                    </af:menu>
                  </af:menu>
                </af:menuBar>in firefox, chrome, and IE 8(with compatibility mode ON) I am able to scroll using keyboard. but when I try to scroll using mouse the menu closes.
Anyway, I don't want this scroll feature in my menu. Is there any way to disable this feature?
Edited by: josetuttu on Nov 29, 2011 11:17 PM

Hi
I was also thinking about skinning.
This is what I got from http://docs.oracle.com/cd/E14571_01/apirefs.1111/e15862/toc.htm
af|menu::scroll-up-cell -----     Style on the cell that contains the scroll up icon. This cell is only present in a menu when there are more menu items present than the menu's maximum item setting.
Can you suggest how to skin so that maximum item setting can be overridden?

Similar Messages

  • Alignment Issues with Spry Menu Bar in Safari

    www.laurentambard.com    
    I am new to CS5 and currently building a site for a friend.  Having issues with aligning then far right spry menu bar so that it is flush with the page.  It only shows a problem on Safari (as far as I know).  Also the second tab (About) is dropping down slightly when the drop down menu is selected and not sure how to fix it.

    If you place the menubar in a container with an ID of nav or similar and a background color of #EEE so that it blends in with the background colour of the menu items, the centralise the menubar and menu items as per http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.h tml, it should go a long way to meeting your requirements.
    Gramps

  • Issues with old menu entries and old custom menus [Xfce]

    Hello, this is the issue:
    The main menu keep showing old entries for programs I already deleted: For example, I have an entry for the indie game FEZ even tough I already deleted this game. I know that programs have a .desktop file located in "~/.local/share/applications" and/or in "/usr/share/applications", but I already deleted both files and this is not happening just with the FEZ entry but with other old menu entries including custom entries. I don't know why the keep showing up even tough I removed both .desktop files for each one of those entries. I think that there is another file that I'm missing or some kind of menu cache that I have to update but I don't which nor how. Additionally I have to say that I'm using the whisker menu plugin but the entries also show up on the stock xfce4 menu.
    Any help will be greatly appreciated.
    Thanks in advance, Shadow_Reaper13
    Last edited by Shadow_Reaper13 (2014-09-20 01:13:14)

    I forgot to say that those annoying entries does not appear neither on menulibre nor in alacarte so I cannot delete them using one or another. Those entries does not appear on those menu editors even before I delete the .desktop files.

  • Parenting issue with Spry menu boxes...

    Ok, I'm using my spry menu and have sub menus hooked to them.  Now the problem I'm having is that every time I change the size of the sub menu box, it changes the size of the main menu box.  This is fustrating since I've got only 3 links in the sub menu box and about 6 inches of colorized box space below.  Also, when I move one sub menu box it effects all of the other sub menu boxes but not the main one.  I believe there's a parent-child issue to where they are connect but I don't know how to unlink these boxes so that they can act independently.  Please help!!! 

    I managed to change the widths of the submenus on my 'test' spry menu and it didn't effect the topbar at all.  The changes show in red below:
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 10.2em;   /* was 8.2 */
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 10.2em;   /* was 8.2 */
    As for moving the boxes, not sure what you mean here..

  • IE Browser Issue with Spry Menu Bar {screen-capture attached}

    Hi there, my horizontal spry menu bar is messing up when viwed in Internet Eplorer, HTML shows no errors, after extensive testing still cant find a solution.  As you will be aware IE is a popular browser so its imperative i resolve the issue.  The site is http://www.theboxinghistorian.com/
    View in Chrome and Firefox
    View in Internet explorer (IE)
    Here is the HTML code
    Hope this is enough information for a solution.
    Thank you for your time
    Mark

    I've never used Spry, so take this with a huge grain of salt.. looking at your html, I am kinda wondering how come the 2nd level of the nested list items making up your submenu items arent assigned a different css style - and therefore is your css file setup to handle this change in orientation properly..
    You got a class=MenuBarSubItem" on your Championship History, but theres nothing in your html (other than the nested ul within #Menubar1) to indicate that Heavyweight, Cruiserweight, etc. are 2nd Level MenuItems which should be using a different css style.. therefore it would be up to your CSS to handle this change in how these 2nd level sub menu items gets displayed.. looks like this isn't happening for MSIE, as MSIE keeps floating your 2nd level/submenu items horizontally instead of stringing them up vertically.. You may be missing a style rule in your css, but how come FF gets it right?
    If I were to recreate this menu myself, I would assign a new css class to make sure my submenu items dont end up floated next to each other.. But then again, i have no clue about Spry, so I might just be rambling nonsense here...

  • Issue with Motion Menu looping in CS6

    Greetings all!  I have been troubled with a recurring issue in a project I've been working on for a while where my Main Menu (the only one I have with a moving background) will not loop correctly.  I am not an Encore veteran so there may be something simple that I'm doing wrong and just haven't caught yet... or perhaps this is some weird bug, I'm not sure.  Here is what I've set up and the problem I'm having:
    My Main Menu has 4 buttons: one goes to a primary video and the others are 3 submenus... all submenus work fine and can link back to the Main Menu without issue and when the Main Menu first loads, it also works fine with the video in the background playing normally.  The primary video linked from the Main Menu also returns to the Main Menu as its End Action.  My problem arises when the Main Menu is allowed to reach the end of its video and loops back to the beginning again before navigating away to another part of the disc.  When it loops, the background video plays all the way through a second time like you would expect, however the menu is no longer interactive and no buttons can be pressed (the highlight also disappears on the second loop).  Following the conclusion of the second loop, the Main Menu doesn't loop a third time but rather jumps randomly to about chapter 2 or 3 of the primary video!  I have definitely not set it to do this.  I was not sure what to do about the End Action of the Main Menu itself, as the "Motion" tab of the Menu's properties has a drop-down for looping the motion part... thus so far I have the End Action set to "Main Menu: Default".  The motion background video is 45 seconds long and I have tried messing with the loop settings under the Motion tab, but it hasn't seemed to make much of a difference, it still breaks.  Just for clarification, this is an error which I didn't notice right away because it appears to loop through the menu a second time normally, but the error occurs after the first play of the motion menu.  Also, it happens both in preview and when I burn it to a disc.
    If anyone else has experienced an issue like this or happens to know what I did wrong, please let me know so I can finally get this DVD project over with!  I would be most grateful!  Thank you!

    Project corruption most frequently occurs because one or more changes are made and Encore gets "confused." But we rarely know why some such changes behave correctly and others do not.
    If you must change an asset use a different name, never ever simply overwrite.
    This just may be the issue then... Using Adobe's fancy "Dynamic Link" thingy I did edit a few assets after importing them into Encore.  Sadly, I think Encore is definitely confused by this as now every time I open my project it prompts me to re-import one of the assets because it detected "changes" when in fact I have not changed it more than once and it is just trying to re-import the same thing over and over.  I really wish I'd known to take these measure beforehand as I'm not sure how long it'll take now to rebuild the project completely, but I suppose I have no other choice if I want a working menu...  wish me luck!
    I'd like to note, however, that the asset that it always prompts me for is NOT related in any way to the Main Menu that is causing problems.  It's an asset linked to from a different submenu.  Also, I had planned everything out first, but as you might expect, little hiccups appear along the way and things need to be tweaked to have them work the way you want.  Or maybe you think to add something later that you hadn't thought of before, it actually happens pretty often.
    Still, it seems like Adobe is trying to promote the easy manipulation of assets within projects with the Dynamic Link feature.  I really hate how these softwares do not even work the way they should... and yet Adobe charges people insane amounts of money for them.
    Is there any good DVD authoring software that isn't so temperamental?  I apologize if this isn't the appropriate place to ask... just curious for the sake of my own sanity.

  • Facing issue with Action Menu

    Hi all,
    I've created an Action Menu to open a link on a new page, however it is not working. I changed the URL to call some external website (Ex. www.google.com) but even so it doesn't do anything. Is there any setup that can prevent links from Action Menu (Table component) to be executed? Is there any bug related to this? I've tried the same on a different page, enabling exactly the same URL and on the other page, it works.
    I'd appreciate any help or comment.
    Thanks,
    Eduardo

    Hi Dan,
    I solved the issue by including a "GROUP BY" statement in my EQL Query. This really seems to be a bug since my query doesn't need a Group By. I set the Group By for the record ID and I'm testing whether it caused any side effect.
    Thanks and Regards,
    Eduardo

  • Issues with navigation menu

    I hope someone out there can help me. I created a site and all of the pages I created weeks ago naturally turned the navigation text (where it says "home" or whatever) to white when selected with all the unselected pages a dull grey. This worked out well since you could tel where you were and see what other pages you could go to. But now I tried to create a new page and the default seems to be that, when selected, the new page text is a dark gray and all the other links in the navigation menu are even darker gray, which blends into my background and makes them unreadable. Why would it do this? Does anyone know of a ways to manually change the color of the navigation links when they are selected? Thanks people

    I'm with you ... I'd like to know the answer to this one too ... can't see the gray against backgrounds all the time. Also, if you wanted to use the one page for reading by expanding the excerpts you can't read them because they are gray! Help please someone ....

  • Issue with dropdown menu on Custom List Form

    Hello everyone,
    Recently I created a custom list with a few lookup columns in it. When I open the form in Internet Explorer 9 or 10, the dropdowns pertaining to the lookup columns are extremently wide, even though each dropdown only contains 2 characters. However,
    if I open the form in Google Chome, and Firefox, the dropdowns are displayed properly.
    IE 9 Dropdown:
    Chrome Dropdown:
    If anybody has run into this issue and can point me in the right diretion, I will appreciate it. Thank you
    Fausto Capellan, Jr - SharePoint Admin

    Hi Fausto,
    According to your description, my understanding is that the drop-down list boxes of the lookup column became wide when using IE 9 or 10.
    Did you customize the list form in InfoPath?
    Per my test, the width of the drop-down list boxes can be customized in InfoPath.
    I tested in my environment, and the lookup column worked fine in IE 9 or 10.
    I recommend to add the SharePoint site to Compatibility View in IE to see if the issue still occurs.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Issue with context menu for online help?

    Try this
    1. Start JDeveloper; Choose Help | Table of Contents and make it visible in Navigator
    2. Close JDeveloper and start it again
    3. Try right clicking on a help node in the Help tab in Navigator. the context menu does not appear until you choose Help | Table of Contents again.
    Is this expected behavior?

    Can you specify what release you are using when you run into this problem? This is a bug, not expected behavior.

  • Issue with scrolling menu.

    I want to add a different background wallpaper on the white that allows you to view more of the image as you scroll. How can I acieve this effect in Muse? Here is a link of what I currently have. http://rotnerds.businesscatalyst.com/index.html
    Also how can I achieve both menus to stay at the top pin as you scroll through more of the page. I would also like the 2nd menu to be highlighed the correct page as you scroll through the page.
    Thanks!

    Please check out this video which addresses your query regarding changing the anchor link state as you scroll: http://www.youtube.com/watch?v=qNsI6DHz5Co
    Cheers,
    Vikas

  • Pulling my hair out over IE8 issues with spry menu bar

    Its a classic story, but for the life of me, I can't figure this out.  I've seen it in a hundred different forums (all slightly different versions of the same problem) .  I've put together a horizontal spry menu bar (version 1.6.1).  It works fine in Chrome, Safari, Firefox, etc..., but goes nuts in IE.
    layout and positioning of the submenus cascades horizontally, goes far right, etc.
    A sample of the menu sits at http://www.alaskanrafting.com/mockup/newindex.html
    I'm sure it's just a line or two in my CSS, but I sure can't find it.
    the CSS sheet would be at http://www.alaskanrafting.com/mockup/SpryAssets/SpryMenuBarHorizontal.css
    If anyone has any pointers, I would greatly appreciate it.
    Thanks

    Try adding/modifying the following
    ul.MenuBarHorizontal ul li {
        display: block;
        float: none !important;
        width: auto;
        white-space: nowrap;
        border-bottom: solid 1px #EEE;
    There needs to be an !important for the float so that it overrides the JS.
    Gramps

  • Sony X85C - Bravia Sync Issue with Samsung Homecinema and WD Live Box

     Hello  I purchased the 2015 4k Sony TV X85c line, its the 55" with Model Nr: KD55X8507C (silver bezel). The latest Android TV version from mid July is installed and the TV is working fine - except for the interaction with my 2 other components:- a Western Digital Live streaming player box- a Samsung Homecinema HT-D6750W  I knew i could run into problems when mixing up brands, but the issue now is really bugging me: The Samsung homecinema is connected via the HDMI 4 ARC to the Sony TV. The Westen Digital is connected to the homecinema. All devices are HDMI CEC compatible, thus on the Sony I can see the other devices and even control them with the Sony remote - which "concept wise" is really neat, but something is failing.  It seems that the Sony trys constantly to switch between audio system (Samsung) and its own TV speakers when choosing how to deliver the sound. This somehow interfers with the menu dialogs of the Sony. As soon as I connect the Samsung Homecinema and go into the display menu to change image settings / modes it the menu will crash after some seconds (it just fades away). This does not happen when the homecinema is not connected, but then of course im missing the sound of my homecinema.  So there seems to be a certain interference and I assume it could be because of the constant audio switching between TV and audio system. I already tried to deactivate all HDMI-CEC features on the devices, but for the Sony TV's bravia sync its impossible to deactivate fully (the menu is just greyed and "on").  I'm getting some new and state of the art HDMI cables later this day, maybe this will bring a positive effect. Anyone experiences something similiar with the X85C range of products? Is there a way to handle it? ThanksAndre / xenom0rph  

    I "solved" the problem: Bravia Sync does not seem to be compatible with HDMI CEC / Anynet of the Samsung homecinema. I deactivated all HDMI CEC features on the samsung player and the WD TV Live box, and then the deactivation of bravia sync was possible on the TV. After that the issue with the menu crashes was gone. Now i try to get digital audio with optical to the samsung player. So i connected optical out from the Sony TV to the optical in of the player. There are different settings to be made in the sonys audio menu now which I'm still not sure what to do. It has different compression modes for the audio (auto 1, auto 2, pcm). PCM seems to work for most digital audio content, but i fear DTS is not supported by the Sony. I tried the XBMC Kodi Android App on the Sony TV and got digital audio on some movies, but not all of em....not sure if its an app or TV problem.  Oh well..for the moment i stay with the WD live streaming box which supports all audio formats and is connected via HDMI to the player, but its just a very slow cpu in there, so it would be cool to use the more powerful TV as streaming player.

  • Created Menu in JS in Acrobat 9.2 & Issue with Acrobat 9.4.4

    I originally created this Javascript on Acrobat
    7.0 because there was not a means for me to
    convert a pdf to jpeg.
    When I updated to Acrobat 9.2, the following javascript that I have been using until I have acrobat 9.4.4.
         // mystuff.js - Adobe Acrobat custom menu addition
         app.addMenuItem({ cName: "SaveToJPEG", cParent: "File", nPos: 0,
          cExec: "this.saveAs('/c/football/JPEG Folder/Rept.jpeg', 'com.adobe.acrobat.jpeg')" });
         // End of media.js
    In Acrobat 9.4.4  I have the problem of creating this jpeg now.
    I see this issue with Acrobat 9.4.4 on Win XP Sp2 (or Sp3 if its the latest), and on Win 7 (64-bits) pro.
    I believe there is now "Save As" menu option that will allow me to save a file to jpg now.
    I manually tried this using the tool bar and its all works.
    I call this operation using MS Access VBA code.   This is part of the VBA colde that I used:
                Path = pdfFile & T![DirName]
                pptFile = Left(T![DirName], Len(T![DirName]) - 4) & ".ppt"
                Set gApp = CreateObject("AcroExch.App")
                Set AVDoc = CreateObject("AcroExch.AVDOC")
                If (AVDoc.Open(Path, Path)) Then
                    Set AVPageView = AVDoc.GetAVPageView
                    Set pdDoc = AVDoc.GetPDDoc()
                    Set jso = pdDoc.GetJSObject
                    gApp.Show
                    gApp.MenuItemExecute "SaveToJPEG"
                    Set jso = Nothing
                    pdDoc.Close
                    Set pdDoc = Nothing
                    Set AVPageView = Nothing
                    AVDoc.Close (0)
                    Set AVDoc = Nothing
                End If
                OldName = "c:\football\JPEG Folder\Rept.jpeg": NewName = "c:\football\JPEG Folder\Rept_Page_" & Format(Count, "000") & ".jpeg"
                Name OldName As NewName
                Count = Count + 1
    I am able to call the menu item "SAVE AS", but I don't know how to pass parameters to this ??   I was able to called the "Save As" as follow:
         gApp.MenuItemExecute "Save As"
    How would I pass the parameter like I have in my Javascript ??
    I need help to resolve this issue to work with Acrobat 9.4.4 ?

    You would need to first set some javascript globals from your VBA code and then call your menu item.

  • Kindle Fire & Adobe Air issues with scaling & bottom menu - GPU Mode only

    Hi,
    Long post ahead, please buckle down for a while.
    I'm having issues with the Kindle Fire and the bottom 20 pixel menu in GPU mode, CPU mode behaves correctly. The project was created with flash cs5.5, the stage size is 1024x600 and I've set the NO_SCALE flag. When the app is run on the Kindle Fire the Kindle scales it to 1024x580 for the bottom 20 pixel menu. If I create the project as 1024x580 it still scales it down and then centers it vertically introducing a 10pixel black bar at the top and I would assume a 10 pixel black bar at the bottom under their menu. In CPU mode the app is not scaled and the bottom 20 pixels is obscured.
    The problems I have encountered so far are incorrect mouse locations as reported in various mouse events. Messed up scrollRects when I try and clip something for display. Not being able to press buttons because of the incorrect mouse coordinates, the further down on the screen the more incorrect the buttons are. You can click below a button near the bottom of the screen and have it activate whereas a button at the top acts perfectly. This is due to the accumulated error value from the yPos * scaleValue.
    The mouse positions are off exactly by a scale factor of 600 / 580 (1.034).
    The video below shows the problems, sorry for the poor video handling. The red line in the video is drawn in the center of the y position detected on a mouse move and mouse down event, but shifted to the left for visibility. The center of that stylus is where it should be at all times, as you can see it isn't. You can also see displayed the buttons not working correctly, they are clearly being activated when the press on the screen is not over the button (indicated by the red line).
    The circle in the middle of the screen has it's scrollRect set to to the width and height of the circle, as you can see it is clipped.
    At the end of the video I press the power button then press it again to unlock, you can see the screen looks good for a split second then gets resized. Once resized the circle becomes clipped again. If I were fast enough I would assume the buttons would work correctly as well. Watch closely, it happens fast.
    Oh, and the app works fine on the desktop in either GPU or CPU mode. The app also works fine in GPU and CPU mode on my iPad2, Google HTC Nexus One, Nook Color and my 4th gen iPod Touch.
    Now whos issue is this? Adobes, Amazons or mine? I know what the problem is but don't know how to fix it.
    Youtube video link:
    http://youtu.be/660O3YMK9k8
    Thanks for your time!
    PS: if anyone wants the .fla for testing themselves, just ask and I will post a link to it.

    I'm going to forward this along to our android team for their review.  In the meantime, could you open a bug on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can visit the bug and cast their votes.
    Thanks,
    Chris

Maybe you are looking for