New window for menu item

hi,
i have published a menu as portlet, this menu contains item that link on forms and reports.
i want that when i click in these items, they display in a new window.
how can i do it please!

Hi,
You can achieve this using javascript.
Give link url against each menu item like this
In case of forms
javascript:void window.open('MYBUGS.wwa_app_module.new_instance?p_moduleid=2043732057','subWindow','HEIGHT=300,WIDTH=500')
In case of reports
javascript:void window.open('MYBUGS_DEMO.EXAMPLE_WIZ_RPT.show','subWindow','HEIGHT=300,WIDTH=500')
You can change the height, width and url accordingly. The url is the run link of the component.
Thanks,
Sharmila

Similar Messages

  • How to set functional keys as shortcuts for menu items in AWT?

    Hello!
    I want to set functional keys as shortcuts for menu items in AWT, for example F1, F2... Here's my code:
    MenuItem menuItemHelp = new MenuItem ("Help", new MenuShortcut(KeyEvent.VK_F1));
    But, in result, this menu item is activated, when Ctrl-V pressed. Why?
    Thanks in advance for help.

    I have no idea what is going on but if you reinstall the jdk then it might fix it. I had some similar problems myself but reinstalling fixed them.

  • How do I create a new window for the iTunes store?

    Hi,
    I have the latest iTunes update on a Windows PC, but I can't seem to open any new windows for the iStore like you used to be able to, so you have to come out of your iTunes library (annoying if you want to check that you haven't already purchased a song you're looking at etc.).
    Please tell me there is a fix (easy or difficult) for this!!
    Matt
    P.s. I have the latest iTunes update.
    PLEASE HELP!!!!

    Reboot the ATV and try it again. If it still won't play correctly, find the file in your iTunes store purchase history, click on the "Report a Problem" link, and report it to iTunes store support.

  • New DataSources for Line Items from FI-GL, FI-AP, FI-AR

    Dear Experts,
    Kindly sugest the SAP Note's and SAP Document links on  New DataSources for Line Items from FI-GL, FI-AP, FI-AR
    for( 0FI_GL_14, 0FI_AR_14, 0FI_AP_14 ). and what is the advantage of using this data sources.
    Currently we are using the Data Sources with ( 0FI_GL_4, 0FI_AR_4, 0FI_AP_4 ) and we want to migrate to ( 0FI_GL_14, 0FI_AR_14, 0FI_AP_14 ).
    Please sugest in this regard.
    Thanks&Regards,
    Nagendra prasad.
    Edited by: nagendra prasad on Jul 20, 2010 5:12 AM
    Edited by: nagendra prasad on Jul 20, 2010 6:05 AM

    Hi
    Please find FI_GL_14 related links
    [http://help.sap.com/saphelp_nw70/helpdata/en/49/5700570223413085021a8b4ef1087a/frameset.htm]
    [http://help.sap.com/saphelp_nw70/helpdata/en/45/4f8e8bbf3f4f63a5dd197ef7d53fa2/frameset.htm]
    There is no FI_AR_14 and FI_AP_14. If you want more information directly goto help.sap.com you will find all the details.
    Regards
    YuvaraajP

  • Window Arrange New Window for (Document name) is not creating a floating document? It works on my PC, but not my Mac (Mavericks).

    So I know this command is supposed to create that document in a new window and have it float ontop of the original document. It (the new window for the document) is supposed to stay in front of anything on the application frame, like the UI does. But on my mac it keeps going into the background when I click onto a different document. I don't know why it does that. This command works fine on my PC.

    So I know this command is supposed to create that document in a new window and have it float ontop of the original document. It (the new window for the document) is supposed to stay in front of anything on the application frame, like the UI does. But on my mac it keeps going into the background when I click onto a different document. I don't know why it does that. This command works fine on my PC.

  • New Document for Residual Items

    Hi,
         During Incoming Payment processing could we create a new document for residual item instead of creating a line item in payment document.
    As we know if we use residual tab SAP clears the Original Invoice and creates a new line item in the clearing(payment) document which will be open. Is there any way we could create a new Invoice for the residual amount. The issue here business does not want to see the residual payments with the same document type as payment document.
    Thanks,
    Sarat.

    This cannot be done using standard SAP functionality. Even to achieve it through custom coding, I assume it is going to be complex.

  • Language Translation for MENU items

    Hi Experts,
    Please let me know the Process of Language translation for MENU items.
    I have copied the Standard ALV GUI Status for my ZProgram. Now the MENU items are not translated.

    Hi,
      From the menu bar Goto->translation then it asks for from source language and target language, give them, then it you can modify the things.
       After modifying logon to sap sytem in the language which you translated then they will appear in your translated language

  • New windows on clicking items in standalone applications

    Can standalone applications have new windows as menu's opened by clicking on the blocks , which have a lot of data parameters to be changed.
    In case I do not want to keep those data parameters on the front panel of a standalone application .
    windows which open like in express VI's .
    please suggest.

    Hi connoisseur,
    use a subVI with settings "open when called" and "close afterwards"...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Medruck new window for terms failing to show next page

    Dear Experts
    I have created a new form from MEDRUCK and have created a new window for terms and conditions but its failing to show on next page. My terms and conditions are almost half a page hence i want them printed at the back of the purchase order.
    << Moderator message - The answers in the forum are provided by volunteers. Please do not ask for help "urgently". >>
    Have searched but not yet get the answer now.
    Thanks in advance
    Regards
    William Mutero
    Edited by: Rob Burbank on Dec 2, 2011 10:01 AM

    Hi
    The text am using are english like statement for terms and conditions simple text because they are almost half a page i created a window for them so that they will be printed at the back of the purchase order. When i print the report its not being seen. what else could i have done wrong?
    Regards
    William

  • My safari is messed up.  Every time I do anything it randomly opens a new window for a website that looks like a virus. It also will not let me watch anything on Netflix. I don't know what to do, someone help!

    Every time I try to do anything on my safari it randomly opens new windows to what looks like fraud websites.  Also it will not let me watch anything on Netflix. Please help!

    You may have installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Premiere Elements 8 new install - all menu items grayed out

    New install of premiere elements 8. Installed 8.0.1 patch successfully. Installed Quicktime.
    SYSTEM
    Windows 7 64-bit
    Dell Inspiron 660
    8 GB RAM
    1 TB hard drive, 700 GB available after install
    All menu items are greyed out except for File | New, Open, Exit and some Help menu items. Will create a project but then does nothing. Reopening the empty project results in Elements/Pro compatibility message. Unusable.

    Thank you ATR. I followed your sequence of checks. RESOLVED BY DISABLING PORTION OF AV FUNCTIONS BEFORE LAUNCHING APPLICATION.  Here are the steps.
    I had not even tried Premiere Elements Organizer. When I did, it appeared to run fine and actually the AutoAnalyzer Options only appear under its Preferences menu, I later found out. Those options were then disabled with no change to the issue.
    I removed and reinstalled the program with an internet connection and McAfee firewall and AV off. And then ran the program with an internet connection.  No change.
    I deleted the Adobe Premiere Elements Prefs file first, and then the whole 8.0 Folder in which the Adobe Premiere Elements Prefs file exists. No change.
    The program was installed in the default c: drive location so no change there.
    The problem went away with antivirus and firewall(s) disabled!. I narrowed it down to what McAfee calls "Real-Time Scanning" under "Virus and Spyware Protection." The level of control McAfee LiveSafe-Internet Security affords under "Real-Time Scanning" is not very detailed. The setting that makes the difference is under "Scan These Files" is "Programs and documents only" instead of the default "All files (Recommended)."
    Now going back upstream, I enabled the firewall fully. Firewall makes no difference if I shut it off globally or allow individual program exceptions...it still runs fine. I also enabled all the AutoAnalyzer Options and program still runs fine. Perhaps this is a rabbit trail for non-resource-limited systems.
    Hopefully this helps others with the same problem.
    sf

  • Spry Menu Bar - Different Background Image Wanted for menu items

    Hi, I've looked everywhere for help with this and just haven't found any answers yet ...
    I want my Dreamweaver CS5.5 menu to look like this design I've done in PhotoShop ...
    It's a simple one level list with no sub-levels.
    Everything is good, except I can only set one background image for all the menu items at this level.
    I want the first, last, and all the middle, menu items to use different background images.
    I have no idea where or how to insert the code to set a different background image for each individual menu item ...
    I know I could use images set one on top another in a column with rollover image swop, but the spry menu opens the door for dynamic content so I'm keen to get it working.
    Manchester city council has a great example of this style of menu design working at - http://www.manchester.gov.uk/
    They've got funky indenting of the text as well.
    ~~~~~~
    This is the code for my menu list ...
      <div class="sidebar1">
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="#">Home</a></li>
          <li><a href="#">News</a></li>
          <li><a href="#">Groups</a></li>
          <li><a href="#">Events</a></li>
          <li><a href="#">About</a></li>
          <li><a href="#">Contact</a></li>
             <li><a href="#">Help</a></li>
        </ul>
      </div>
    This is how I set the background image (but I can only define one image) ...
    I set the image background to "Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg" through ...
    CSS Styles
    SpryMenuBarVertical.css
    ul.MenuBarVertical a
    I then select the background category
    and browse to the image file.
    doing this changes my CSS code as follows ...
    ul.MenuBarVertical li
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 170px;
        margin-top: 4px;
        margin-bottom: 4px;
        background: url(/Images/Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg);
    ul.MenuBarVertical ul
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: absolute;
        z-index: 1020;
        cursor: default;
        width: 170px;
        left: -1000em;
        top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 95%;
        background: url(/Images/Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg);
    ul.MenuBarVertical a
        display: block;
        cursor: pointer;
        padding: 0.5em 0.75em;
        color: #0000;
        text-decoration: none;
        font: normal 12px Verdana, Geneva, sans-serif;
        background: #EEE url(/Images/Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg);
    ~~~~~~
    These are the three images I want to apply to the top middle and bottom menu items :
    Top menu item background image - "Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg"
    Middle menu items background image - "Menu-Nav-Bar-Pic-Mid-v1-w170px-h32px.jpg"
    Bottom menu item background image - "Menu-Nav-Bar-Pic-Bot-v1-w170px-h32px.jpg"
    ~~~~~~
    As I am unable to set the menu items individually, this is how the menu looks like on my website at the moment ...
    ~~~~~~
    So near yet so far ! I'm hapy with the verdana font, the image size and spacing, but the background images I just can't set them right.
    I'd really appreciate any help on this as I'm out of ideas.
    Thank you.

    The easiest way is to use pseudo elements.
    To style the first and last menu items ifferently to the rest, merely add :first-child and :last-child respectivly as follows
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <style>
    ul.MenuBarVertical li:first-child a {
        background-color: red;
        color: white;
    ul.MenuBarVertical li:last-child a {
        background-color: green;
        color: yellow;
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarVertical">
      <li><a href="#">Item 1</a></li>
      <li><a href="#">Item 2</a></li>
      <li><a href="#">Item 3</a></li>
      <li><a href="#">Item 4</a></li>
      <li><a href="#">Item 5</a></li>
    </ul>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    In your case, in liue of the background colour, you would have an image.
    Gramps

  • Alt+mnemonic key is not working properly for Menu Items

    Assume there are two menus , File Menu with mnemonic Alt+F
    and Save Menu with mnemonic Alt+S. File Menu contains the
    menu items like PageSetup with Mnemonic S. Save menu has
    the menu item Properties with Mnemonic P.
    Pressing Alt+F opens the File Menu which has the menu item
    PageSetup.Pressing S activates the PageSetup menu item.
    Similarly Pressing Alt+S opens the Save Menu which has the
    menu item Properties. Pressing P activates the Properties
    menu item acion. But Pressing Alt+P also activates the
    Properties menu item action(it is not the desired behaviour)
    Pressing Alt+Mnemonic key has to open only the Menus.It
    should not consider the menu items.
    STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
    1.Press Alt+F
    2.File Menu is invoked
    3.Press S
    4. Invokes the menu item action
    5. Press Alt+S
    6. Save menu is invoked
    7. Press P
    8. Invokes the menu item action
    9. Press Alt+P
    10. Invokes the menu item action
    EXPECTED VERSUS ACTUAL BEHAVIOR :
    Pressing of Alt+Mnemonic key invokes the menu and also menu
    item actions. If the same mnemonic is present in the Menu
    it is giving the priority to Menu only.Pressing of Alt key
    alone does not hiding the pull down menu
    Expected Result;
    Pressing of Alt+Mnemonic key has to list out the pull
    down menu only.It should not consider the menu items with
    the same mnemonic. If Alt key alone is pressed the pull
    down menu has to hide.
    REPRODUCIBILITY :
    This bug can be reproduced always.
    ---------- BEGIN SOURCE ----------
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class JavaBug extends JFrame
    public JavaBug()
    // Create menu bar
    JMenuBar menuBar = new JMenuBar(); // Create menu bar
    setJMenuBar(menuBar); // Add menu bar to window
    // Create first option on menuBar
    JMenu m1 = new JMenu("File");
    m1.setMnemonic('F');
    JMenuItem m1o1 = new JMenuItem("PageSetup");
    m1o1.setMnemonic('S');
    m1o1.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    System.out.println("File/PageSetup was selected");
    m1.add(m1o1);
    // Create second option on menuBar
    JMenu m2 = new JMenu("Save");
    m2.setMnemonic('S');
    JMenuItem m2o1 = new JMenuItem("Properties");
    m2o1.setMnemonic('P');
    m2o1.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    System.out.println("Save/Properties was selected");
    m2.add(m2o1);
    menuBar.add(m1);
    menuBar.add(m2);
    this.setTitle("Mnemonic Bugs");
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    setSize(400,250);
    show();
    public static void main(String[] args)
    JavaBug bug = new JavaBug();
    Suggestions welcomed
    punniya

    I tried your code, but didn't get your "bug" using jdk 1.3 on windows 2000 (at my school).
    Kind regards,
    Levi

  • In EP7 Ess, how to remove "open new window" for ESS areapage

    Hi all:
       In ESS areapage, there is some tabs for click. When I click it, it open a new window. But I want the content display inside the same content page. These are all standard areapage and worksets.
       How can I reset the "open new window" ?
       My EP version is EP 7 sp9

    You can set the workprotect mode on a global level so its used for every user.
    Systemadministration -> Systemconfiguration -> Service Configuration -> Applications -> com.sap.portal.epcf.loader -> Services -> epcfloader. Set the "workprotect.mode.default". After you have saved the entry. ricght click on com.sap.portal.epcf.loader in the tree menu and choose "administrate". Click on "restart".
    Markus

  • I can't open new windows for my firefox

    Hi,
    I am not able to open new windows in Firefox (Version 31.0) on my Windows 8 PC. When I click the open new window, it doesn't makes any effects.
    This started from yesterday evening, can you please let me know how can I get this resolved?
    Regards,
    Anand.

    Hello Anand, '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".[[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    thank you

Maybe you are looking for

  • Grid in the BEx Designer

    Hi, May I know how to use the Grid in the Toolbar options. When I use this I am just getting copy of the existing table. are there any special features for this? please let me know if you have any special document on this toolbar features.

  • How to distribute Reconcilation account balance from a Prft Cntr-FAGLGA35

    Hello, Please provide your input for the below query: How to distribute Reconcilation account balance from a Prft Cntr-FAGLGA35? Regards,

  • The agentTZRegion value in emd.properties is not in agreement with what age

    Hi all, A grid agent 10.2.0.5 on Red Hat EL has been down several days When I try to start it, it shows the following error: The agentTZRegion value in /gridagent/OracleHomes/agent10g/sysman/config/emd.properties is not in agreement with what agent t

  • XDB is invalid post registering schema

    Hi all, We have an Windows 2008R2 Oracle 11g 11.2.0.3 database. I am trying to register xml schema but we now have a problem. Please advice how to resolve this: Regards, Nick Warning: XDB now invalid, invalid objects found: object_name               

  • My IMac shuts down when transfering files to a Hard Drive through USB

    Hi all, I have been having trouble with my IMac. It's over 3 years old and I didn't actualized the operative system. Everytime I try to transfer files from the computer to a hard drive or pen drive (through USB), the computer shuts down. Sometimes it