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

Similar Messages

  • 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

  • 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

  • Context menu problem in ADF 11g

    Hi All,
    A context menu problem puzzle me. Following is the source,
    =======================================
    <af:tree id="tree" value="#{treeTest.collectionModel}" var="node"
    contentDelivery="immediate"
    disclosedRowKeys="#{treeTest.treeDisclosedRowKeys}"
    rowDisclosureListener="#{treeTest.rowDisclosureListener}"
    rowSelection="single">
    <f:facet name="nodeStamp">
    <af:group id="g1">
    <af:image source="/image/#{node.treeLevel}.jpg" id="i1"
    inlineStyle="width:16px; height:16px; vertical-align:middle;"/>
    <af:outputText id="ddl" value="#{node.name}">
    <af:showPopupBehavior popupId="myPopup" triggerType="contextMenu"/>
    </af:outputText>
    </af:group>
    </f:facet>
    <f:facet name="contextMenu">
    <af:popup id="myPopup" popupFetchListener="#{treeTest.popupListener}"
    contentDelivery="lazyUncached">
    <af:switcher id="s1" facetName="#{treeTest.level}">
    <f:facet name="1">
    <af:menu text="menu 1" id="m1">
    <af:forEach items="#{treeTest.menuItems['0']}" var="menuItemss">
    <af:commandMenuItem text="#{menuItemss.name}"
    actionListener="#{bindings.onNodeClicked.execute}"
    disabled="#{!bindings.onNodeClicked.enabled}">
    </af:commandMenuItem>
    </af:forEach>
    </af:menu>
    </f:facet>
    <f:facet name="2">
    <af:menu text="menu 2" id="menu1">
    <af:forEach items="#{treeTest.menuItems['1']}" var="menuItemss">
    <af:commandMenuItem text="#{menuItemss.name}"
    actionListener="#{bindings.onNodeClicked.execute}"
    disabled="#{!bindings.onNodeClicked.enabled}">
    </af:commandMenuItem>
    </af:forEach>
    </af:menu>
    </f:facet>
    </af:switcher>
    </af:popup>
    </f:facet>
    </af:tree>
    ========================================================
    I want to get the commandMenuItem tag's information, i use following code in onNodeClicked method try to get it,
    FacesContext facesContext =FacesContext.getCurrentInstance();
    ELContext elContext = facesContext.getELContext();
    ExpressionFactory expressionFactory =facesContext.getApplication().getExpressionFactory();
    ValueExpression exp =expressionFactory.createValueExpression(elContext,"#{menuItemss.name}", Object.class);
    but the exp is null.
    Please help me to solve this problem.
    Thank you very much.
    Edited by: Yitao Li on Dec 4, 2009 1:06 PM

    You might need a #
    ValueExpression exp =expressionFactory.createValueExpression(elContext,"#{menuItemss.name}", Object.class);

  • ADF 11 g Menu Bar creation with labels coming from database.

    Hi Team,
    I am new to Web Center and ADF 11g along with jdeveloper11g. I have a requirement where I need to create a Menu bar using ADF's menu bar component.The labels displayed in the menu bar would be coming from the database.Menu and sub menu would be a tree structure. Meaning a sub menu may again have a list of menu's.I tried searching the forum but could find examples which created menu bar using task flows so they did not helped me much.
    Any tutorial link, code snippet or guidance would be deeply welcomed.
    Regards
    [email protected]

    Hi,
    I am not sure how to implement this in a menu bar, but you can mimic the behaviour with an af:tree
    <af:tree value="#{bindings.Departments.treeModel}" var="node"
                         selectionListener="#{bindings.Departments.treeModel.makeCurrent}"
                         rowSelection="single" id="t1">
                  <f:facet name="nodeStamp">
                     <af:goLink text="#{node}" id="ot1">
                    </af:goLink>
                  </f:facet>
                </af:tree>If you have a two level hierarchy master-detail you will get an initial expanded list the first level nodes that expand to show the second level.
    If you want to initially show the master collapsed then you can add a dummy master to the master view object with one row only,
    creating with this way a pseudo three level hierarchy.
    To create the binding automatically just DnD from datasources the master as a tree and then add the detail level to the created binding
    If you figured out a better way please tell!
    Hope I helped :)
    Gabriel

  • Is it possible to add the page title to the menu bar?

    Does anyone know of any addons that allow you to add the webpage title to the menu bar? I already took a look at the addon Personal Titlebar, which purports to add the menu bar onto the title bar, but had no luck getting it to actually do what it advertised.
    I like the way the menu bar looks beside the orange Firefox button, but would also like to be able to see the full page title in the blank space between "Help" and the title bar buttons (min/zoom/close). I don't want to enable the actual full title bar. That would be a waste of space.

    That creates a title bar on top of the existing menu bar, which is what I want to avoid. I was hoping someone had created a way to combine the two easily, rather than having them exist as separate bars using double the screen real estate and leaving giant unused areas.
    I was hoping for something more like what I mocked up in the included image. The top is with the title bar enabled, the bottom is the preferred result.

  • ADF 11g:Success message on fire fox Staus bar

    Hi all,
    Im working on ADF 11g - Jdeveloper 11.1.1.2.
    The page contains a ADF table with Create, Edit and delete operations. The success messages of these operations have to be displayed on the staus bar of the Fire fox browser.
    Ex: "Record Successfully created" whenever there is a successful insertion of a record in the ADF table.
    How to display the user generated message on the staus bar of Fire fox? Please help....
    Thanks,
    Manasa.

    I'll bite. Presumably you're trying to mimic the same functionality from Forms. Firstly I'll flag that you need to convince users that browsers aren't Forms, and they do things in their own ways. A typical browser user doesn't look to the status bar for messages from an application, the status bar is reserved for browser raised messages.
    Yet I also understand it's hard to bend such requirements, so in addressing that requirement specifically, my understanding is the ADF framework doesn't provide this functionality out of the box. You will need to build your own. As a start independent of ADF there appears the ability in Javascript to write to the browser status bar through a function called statsword: http://www.htmlite.com/JS017.php
    At this stage I've no inspiration on how to build this in to an ADF solution (it's far too early in the morning), maybe another reader can help, but I suspect a solution might use the ADF af:serverListener and af:clientListener tags.
    CM.

  • Migrating from eVC++4.0 to VS2008: Menu Bar not coming for class inherited from CProterty sheet

    We are migrating code developed in eVC++4.0 to Visual Studio 2008. We are facing a Problem as descripted below. We are using Pocket PC 2003 emulator.
    We are creating a class inherited from CPropertySheet. As below:
    In Header File:
    class COptionsSheet :
    public CPropertySheet
          DECLARE_DYNAMIC(COptionsSheet)
    #if(WINVER == 0x400)// This works for MenuBAr inherited from CDialog classes.
          CCommandBar m_cb;
    #else
          CCeCommandBar m_cb;
    #endif
    public:
    virtual BOOL OnInitDialog();
    We are drawing menu bar on the property window as below:
    In .CPP file:
    IMPLEMENT_DYNAMIC(COrderSheet, CPropertySheet)
    BEGIN_MESSAGE_MAP(COrderSheet, CPropertySheet)
    ON_COMMAND(ID_CUSTOMER_COLLECTPAYMENT, OnCustomerCollectpayment)
    ON_WM_INITMENUPOPUP()
    ON_NOTIFY(GN_CONTEXTMENU, 0, OnContextMenu)
    END_MESSAGE_MAP()
    BOOL COrderSheet::OnInitDialog()
    BOOL bResult = CPropertySheet::OnInitDialog();
    m_cb.Create(this);//This we have changed for VS 2008 as menu was not appearing for class inherited from CDialog class as well. In eVC++
    4.0 code we have used. Please see m_cb in header file discription
    m_cb.InsertMenuBar(IDR_ORDER1);// This calis unable to draw mwnu bar
    CMenu *pMenu = CWnd::GetMenu();
    //pMenu becomes NULL in very next line as we are passing it as parameter below.
    gPromotion.LoadSalesPromotions(pMenu,
    "Sales", SRC_TRACE_START);
    We tried this as well but it’s also not working:
    CMenu *pMenu = new CMenu;
          BOOL cehckStatus = pMenu->LoadMenu(IDR_ORDER1);
    SetMenu(pMenu);
          CRect r;  GetWindowRect(&r);
          r.bottom += GetSystemMetrics(SM_CYMENU);
          MoveWindow(r);
    Do we have to change or add something more for the menu bar in case of Property Sheet. Is there any change between eVC++ and Visual studio 2008 that we need to incorporate here.

    This forum is for POSReady. Please try one of the Windows CE forums:
    http://social.msdn.microsoft.com/Forums/en-US/category/windowsembeddedcompact
    -Sean
    www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

  • Removing tool bar and menu bar to the navigated page through ADF

    Hi,
    Through facesconfig iam navigating to the other page, some thing like my method returns a striing "success" in faceconfig i made to navigate to page2.jsp if it receives success,
    My current requirement is to remove the tool bar as well as manu bar from the navigated page i.e. page2.jsp, i could n't able o configure that, can any one please help me on this.

    Yeah exactly i am talking about the browser window, let me explain you once more,
    the bellow iam calling from first.jsp
              FacesContext fc=FacesContext.getCurrentInstance();
              Application ac=fc.getApplication();
              NavigationHandler navigationHandler=ac.getNavigationHandler();
    try{
    navigationHandler.handleNavigation(fc,null,"success");
    }catch(Exception e){
    in faces config.xml i have used
    <navigation-rule>
    <from-view-id>first.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>second.jsp</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    right now what i need is when the page traverses to the second window i.e second.jsp i shudn't see menu bar and tool bar in my browser window.
    hope this will clear my question, any one please help me out......
    please let me know the sollution even if there is any in JSP

  • Exist or can you add possibility to place menu bar(all buttons) on the right side of window?

    Something like MS Windows menu bar which can be placed on each screen side. On 16:9 screen this will add more space for site and navigation still will be very easy. I wanted attach image with concept but it's not possible here :(.
    I'm not sure if I'm writing in correct place but this support system isn't too user friendly :/

    You could try using Firefox's Safe Mode to reset your toolbars. Not sure whether this is a toolbar problem, but it's probably worth a try.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, check this article on how to start Firefox in
    [https://support.mozilla.com/kb/Safe+Mode Safe Mode] and use the dialog to reset toolbars.
    Any luck?

  • How to turn of menu bar and window decoration of Forms 11g Rel2?

    According to Forms documentation, one can turn off menu bar and window decoration.
    How can that be done?.
    Best regards, Luis ...:)=

    From the documentation (Forms Deployment Guide), see Section 3.4.3. Refer to "guiMode"
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/basics.htm#BABGEGBC

  • How to create a jump menu within an existing nav bar that's created with a table

    Hi there,
    I have created a basic navigation bar inside a table that's
    nested within an AP Div. I want to create a few sub-menus under one
    of the tabs so I need to insert a pull down jump menu for one of
    the cells within the table. How do I do this?
    Thanks for any help!

    Using the Spry menu can get you started, click on "spry menu
    bar". Or if you have fireworks you can easily make a pop up menu
    there

  • Bind menu bar to a menu model

    Hello,
    I'm trying to bind my menu bar (af:menubar) to a menu model.
    I created the menu model from my main unbounded task flow (adfc-config.xml) : right click -> "Create ADF Menu Model..." giving me root_menu.xml.
    My menu bar is currently defined in a page fragment mainMenu.jsff used in my pages.
    According to the 11g r2 documentation it is possible using the value attribute of the menubar component : Working with Navigation Components
    But I can't find how to do this in 11g r1 as there is no value attribute...
    Any idea ?
    I'm using JDeveloper 11.1.1.7.0.
    Thanks.
    Yann.

    So obviously it seems it is not possible ?
    I have tried using an iterator to generate menu items in my menu bar (mainMenu.jsff):
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:menuBar id="mb1" styleClass="mainMenu" stretchId="stretch1">
        <af:iterator var="myMenu" id="i1" value="#{root_menu}" rows="2">
          <af:commandMenuItem text="#{myMenu.label}" id="cmi1" icon="#{myMenu.icon}"
                              action="#{myMenu.doAction}"/>
        </af:iterator>
        <af:spacer id="stretch1" clientComponent="true"/>
      </af:menuBar>
    </jsp:root>
    Here is my menu definition (root_menu.xml):
    <?bxml version="1.0" encoding="windows-1252" ?>
    <menu xmlns="http://myfaces.apache.org/trinidad/menu">
      <itemNode id="itemNode_home"
                label="#{adfBundle['testapp.view.TranslatedText'].MAIN_MENU_HOME}"
                action="menu_home" focusViewId="/home"
                icon="/images/icon_home.png"/>
      <itemNode id="itemNode_employees"
                label="#{adfBundle['testapp.view.TranslatedText'].MAIN_MENU_EMPLOYEE_MANAGEMENT}"
                action="menu_employees" focusViewId="/employees"
                icon="/images/icon_user.png"/>
    </menu>
    My adfc-config.xml :
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="home">
        <page>/home.jspx</page>
      </view>
      <task-flow-call id="tf-employees">
        <task-flow-reference>
          <document>/WEB-INF/tf-employees.xml</document>
          <id>tf-employees</id>
        </task-flow-reference>
      </task-flow-call>
      <control-flow-rule id="__1">
        <from-activity-id id="__2">*</from-activity-id>
        <control-flow-case id="__4">
          <from-outcome id="__5">menu_home</from-outcome>
          <to-activity-id id="__3">home</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__6">
          <from-outcome id="__8">menu_employees</from-outcome>
          <to-activity-id id="__7">tf-employees</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
    </adfc-config>
    Then I include the menu fragment (mainMenu.jsff) in my pages home.jspx, employees.jspx and editEmployee.jspx.
    Menu items are generated correctly (labels, icons) even if I have warnings (reference myMenu.xxx not found) but only the employees menu item from the home page is working... others don't do anything in all pages.
    Did I missed something ?
    Can anyone test this ?
    Thanks.
    Yann.

  • Defining a hight with spry menu bars

    Im working on a site for a company with a pre-existing
    layout. They want everything to look exactly the same but want to
    make the migration to css and add drop down teer menus.
    spry menu bars is a simple way to get the teer menus they
    want. My problem is the default height for the menu bar
    (horizontal) is too big. Ive looked everywhere and found to change
    widths but not heights.
    I messed around with it and eventually got it to appear the
    size i wanted but then the drop downs didnt work. Since then i have
    started over and have no idea what i did to get there in the first
    place.
    Please advise!

    Hans - that was exactly what I was looking fro - thank you so much.
    Have a good day
    Regards
    mark

  • Migrate existing email and address book from Entourage to OSX Mail?

    I have a corrupted version of Entourage and it was suggested I go to Mail. I was also told migration from Entourage was a 'snap'....where do I get detailed steps (what manual) to do this migration? I want to move existing mail, (inbox, sent mail,etc)and my address book.
    If it's in fact a 'snap' maybe the instructions can be included in any repsonses I might receive...??
    Thx for any help you might offer!

    If your Entourage database is corrupt and not fully accessible or accessible at all by Entourage or you are unable to launch the Entourage application, this won't be a snap but the Mail application includes an import mailbox function with Entourage listed as the first email client to choose from. This process does not import Entourage account setup information, only Entourage mailboxes.
    At Mail's menu bar, go to File and select Import Mailboxes.
    Under "Import Data From", select Microsoft Entourage and then the Continue button.
    You will see a connecting to Microsoft Entourage message while the Entourage application launches which is required as part of the import process.
    A window will be provided with a list of available Entourage mailboxes to import with all available mailboxes selected by default.
    Select Continue and an Import named folder will be created in the mailboxes drawer with all imported mailboxes available within.
    For Entourage address book contacts you can do this a number of ways. One way - create a folder on the Desktop named Entourage Contacts or whatever you prefer.
    Highlight/select all Entourage address book contacts and then click on and drag the highlighted contacts to the folder created on the Desktop. This will create a separate vCard file for each Entourage contact within this folder.
    Launch Address Book and at the menu bar go to File > Import and select vCards navigating to/within the folder on the Desktop that contains the vCard files exported from the Entourage address book.

Maybe you are looking for

  • Inspection lot creation for inspection type 05

    Hi Gurus, We have finished material FERT & semifinished material HALB.We have assigned insp. type 02 & 05 in material master of matl. HALB.When we create production order for FERT & confirm the order , inspection lot is generated for matl.HALB of ins

  • HDMI cable and display

    anyone able to get the device to show up on a monitor through the HDMI port? Creative says the HDMI only works with video and images but i would like to use it to present. thanks.

  • Draft View Not Displaying Correctly

    We have recently redesigned a website that is using Contribute which appears correctly on the live domain. However, whenever you try to edit a page within Contribute, the draft view doesn't show the new images or CSS. Does anyone know why this could

  • Changes in enhancement to the component configuration not reflected

    Hi, I have created a Z enhancement to a standard OIF component configuration. In the enhancement I have added a button. When I run the application I am not able to see the button I added. When I select More Field Help on the context menu of the WD ap

  • JPEGs elongated

    when I use jpegs as part of the video, when the video is exported and I watch the video, the jpeg are warped (elongated, squished) I've tried everything I know and can't seem to get FCP to stop doing it. Any ideas?