Target attribute in BC Dynamic menus?

Question:
Is it possible to add a target attribute to a link that appears in a BC dynamic menu?  I'm adding a few things to external sites and want a new tab / window opened ("_blank") rather than the default ("_self" ) behavior.  Can this be done?
Answer:
If you go to Site Settings -> Menu -> select a menu and then click on the menu item you want to open in a new window, you'll find a Target Frame field on that page. You need to place _blank into that field and it will be rendered on the frontend as a target="_blank" attribute.

Hey, I mean in terms of your HTML Templates.
I am guessing your not using that at all and its manually entered into the html.
If you do not see something along the lines of {module_menu} but just html with a <div id="nav">and a ul li element with menu items in it then its just static.
You would have to update the templates with the correct menu module tag which has the right ID for the menu and then you would need to update the CSS and javascript too so it all works.
If it turns out the module is in there but has a bit like version="2" I can then show you what you need to update there.
Have a look in your templates around where the menu is in the HTML, what do you see?

Similar Messages

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

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

  • Link action (CommandLink): target attribute doesn't work

    I want to use a link action to pop up another JSF page, so I set its target attribute to _blank, and in its event handler,  I return the other jsf page.  However, the other jsf page doesn't open in a new window, it just replaces the current page in the existing window.  Why?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    The way to open a new window is to make use of the javascript function window.open. This can be used on click event for the hyperlink action. The link action does not allow the usage of the above mentioned method.
    Thanks,
    RK

  • Netui: anchor tag with target attribute.

    I am using the netui:anchor tag inside an iframe to post to an action. But the
    resulting page is displayed within the iframe. Will the target attribute of the
    netui:anchor tag help solve the problem. What is a valid value of the target
    attribute.
    thanks,
    Shankar

    does the action have a formSubmit = true? If not then your modal dialog should be shown via the onclick and you have to javascript the link click (based on your modal dialog options)
    If you do have a formSubmit=true, then you'd have the onclick show the modal dialog and you would have to write additional javascript to submit the form (Along with setting its action)
    regards
    deepak

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

  • Target attribute table RA_XELLERATEUSER2 is empty.

    Hi All,
    I am "Still" getting this error. I thought I would wake up a post to try again and see if anyone else has run into this. another piece of info here is the app is deployed as an MDB and processing xml from a topic
    and the xml is parsed used for the recon event. Creating the recon event works fine. it's processReconciliationEvent that fails.
    Caused by: oracle.iam.platform.utils.SuperRuntimeException: -101: Error occurred in XL_SP_RECONEVALUATEUSER while processing Event No 145 Error occurred in XL_SP_RECONREQDATACHECK while processing Event 145 Target attribute table RA_XELLERATEUSER2 is empty.
    trying to either
    reconOp.processReconciliationEvent(eventKey);
    or
    reconOp.finishReconciliationEvent(eventKey);
    after success from
    eventKey = reconOp.createReconciliationEvent(objectName, reconMap, true);
    This code will work flawlessly when its running in batch on a remote machine. as soon as I put it in a weblogic managed server running on the same machine with the oim managed server I start getting this error.
    I looked at the stored proc and basically XL_SP_RECONREQDATACHECK is trying to lookup the recon event just created and says it cant find it. as soon as I see the error I can run the query and the record is there.
    there is no change in the code or the data only the environment.
    I also put the process call in a retry loop and sleep a few seconds. I still get the error(s) but it does seem to eventually link up.
    also, I setup a seperate little batch program to call reconOp.processReconciliationEvent(eventKey); given an event key from the command line and that
    works also on the previously failed event.
    any ideas on this strange problem?
    Thanx in advance.
    Fred
    Edited by: Foresterf on Aug 12, 2011 6:40 AM

    Hi Jay,
    I think that the value was overwritten by the User Library. Now I've created a dedicated global attribute to the target system with your condition and everything works correctly.
    activeSync:
    <Field name='global.ADfirstname'>
    <Display class='Hidden'/>
    <Expansion>
    <ref>activeSync.firstname</ref>
    </Expansion>
    <Disable>
    <eq>
    <ref>activeSync.firstname</ref>
    <ref>waveset.attributes.firstname</ref>
    </eq>
    </Disable>
    </Field>
    Resource Form:
    <Field name='accounts[$(RESOURCE_NAME)].firstname'>
    <Display class='Text'>
    <Property name='title' value='firstname'/>
    </Display>
    <Default>
    <ref>global.ADfirstname</ref>
    </Default>
    </Field>
    Thank you,
    David.

  • Target attribute in commandLink tag

    Hi all,
    I am new to JSF.
    I am specifying the value of a target attribute in commandLink directly with the name of the frame in which resulting jsp has to be displayed. But it is still displaying the resulting jsp in the same frame where i have the commandLink tag.
    please let me know how i can set the target attribute value in command link tag.
    Thanks,

    Hey, I mean in terms of your HTML Templates.
    I am guessing your not using that at all and its manually entered into the html.
    If you do not see something along the lines of {module_menu} but just html with a <div id="nav">and a ul li element with menu items in it then its just static.
    You would have to update the templates with the correct menu module tag which has the right ID for the menu and then you would need to update the CSS and javascript too so it all works.
    If it turns out the module is in there but has a bit like version="2" I can then show you what you need to update there.
    Have a look in your templates around where the menu is in the HTML, what do you see?

  • [Locked] Replacing the Deprecated target Attribute

    QUESTION:  How does one replicate the behavior of the target attribute now that it has been deprecated?  My website requires that all pages that are not contained within my website open to new windows.
    DISCUSSION:  The behavior that I am trying to replicate use to achieved by setting the value of the target attribute to _blank.
    Roddy
    Please avoid this post if you are exceedingly fond of bananas.

    Of course, resizing someone's browser window is just rude. (uh oh, that's "etiquette...)
    But (and this is my personal preference) I don't want to leave a page (navigate away from it) every time I link to an "external" web page. I like being able to easily click back to a tab to reopen the principal page/site I have been looking at.
    For instance, here on the Forum, I find it mildly annoying that I have to wait for the discussion list to reappear when I press my back arrow. So I will frequently right-click and open in another tab when I'm following a user's url.
    In some way, it's like the difference between a "garden-path" sentence and getting straight to the point. A garden-path sentence leads you to believe it's about one thing, then meanders through several possible meanings, and lands on something completely different (and possibly not what you want). So, to get back to the "main path," you have a choice: either to retrace your steps (back arrow > back arrow > back arrow) or close the wayward tab and be immediately back where you want to be.
    I'd rather leave it up to the user how to do it, but I'd also like to take them by the hand and give them my option as first choice. And in the interests of my client, keeping people ON their website is helpful to them.
    External links on a website are, to me, like footnotes or asides. If the information is central to your message, it should be on your website, presented as basic information. If it is peripheral, I prefer to allow it to show up in its own tab.
    Beth

  • Target attribut for h:form tag : does it work ?

    Hi,
    I work with 2 HTML frames (top and bottom). I display a table with link in each row in the top frame. When I click on a link, target attribut says "display the result content of the submit action in the specified frame". The specified target is the bottom frame. But, when I click on a link, the whole content of the list is displayed again in the specified target frame ... what I don't want. What bad side effect does the target attribut hide ? Does this attribut well supported ?
    Thanks.

    ...

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

Maybe you are looking for