Opening a New Window in SJSC

Hi all,
I have a slight problem here, inside my table I have a hyperlink, based on the records retrieved, this hyperlink will have different URLs. In the button_action() I have the following code:
getHyperlink().setTarget("_blank");
switch(type) {
        case Constants.TYPE_1:
            getHyperlink().setUrl("/faces/Page1.jsp");
            break;
        case Constants.TYPE_2:
            getHyperlink().setUrl("/faces/Page2.jsp");
            break;
        case Constants._TYPE_3:
            getHyperlink().setUrl("/faces/Page3.jsp");
            break;
        default:
             logger.error("submit_action|Type invalid!");
public String hyperlink_action() {
    //Add get row table here
    getRequestBean().setRequestObject(rowData);
    return null;
}I need to pass the table row where the link is clicked into the RequestBean and open a new window to display some information but because the action() is not executed I cannot pass in any information at all.
1) The problem is that because the URL is preset before the table is populated, when I specified a hyperlink_action() to be set as the action when the link is clicked, the method is not called. The new window page is opened directly. I cannot populate any JSF components as the action() method is not called to extract the row details and put into the request bean.
2) If I place the .setURL() codes in the action method, the window created will contain the exact page as the parent window. The desired page will not be loaded.
I'm now stuck. Would appreciate it if anybody can guide me in the right way of getting the new window populated with the results.
regards,
Michael

If you want to open a new window besides your original window, then you have to do it with javascript. Put a code similar like this in your onClik property of your hyperlink:
window.open("faces/Page1.jsp", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
return false;When you click the hyperlink, it will open a second window of Page1.jsp. You can use if-else construct in javascript to choose which page you want to show.
If you want to pass a value to the second window, you can use query string like this:
window.open("faces/Page1.jsp?par1=value1", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
return false;Passing a field value in table component to second window:
window.open("faces/Page1.jsp?par1=#{currentRow.value['FIELDNAME']}", "","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=450");
return false;To retrieve the parameter in the second page (in this case Page1.jsp), put this in init():
javax.servlet.http.HttpServletRequest req = (javax.servlet.http.HttpServletRequest) getExternalContext().getRequest();
        String par1 = req.getParameter("par1");After getting the parameter value, you can do the rest as your normal page, ie populating the page the way you like.
AFAIK, the only way to open a new window is through javascript only. CMIIW.
Hope that helps.

Similar Messages

  • Is there a way to open a new window from the "Go" menu in Mavericks?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?
    First, as others have already stated.....make sure the checkbox is deselected for "open folders in tabs instead of windows" in Finder Preferences.
    If you're like me and don't like tabs very much, there is a way to make folders always open in windows with a simple click (I'm using Mavericks 10.9.5).  Go to a root folder (for example, the Documents Folder), open it, and select View > Hide Toolbar, then all folders within that root folder will open in a new window.
    As an alternative method, any folder can be opened in a new window by holding down either Command Key while clicking the folder. But sooner or later you will forget to hold down that key, and then clicking on a folder will open in a tab (which will automatically resize the window and cause much aggravation).
    The Hide Toolbar trick will also work with any folder present on the Desktop. It will make all folders inside that folder open in new windows.
    To make the Applications Folder open in a new window when opening it from the menu bar at the top of the screen, you will have to open the main hard drive folder and use the Hide Toolbar trick. This will cause all folders inside it to open in new windows.
    Hope this helps.

  • DW CS4 Help with jump menu opening a new window.

    First, I can't believe that Adobe left out an easy to use behavior to do this.
    I have some jump menus, and I would like the selection to open up a new window and have the content appear there.  I saw a couple of old topics here that offered some suggestions, but they didn't work for me.  I could get it to open a new window, but the content was not there.  I saw where you need to add a "GO" button, and add a "Open New Window"behavior to it.  That is what opened the new window with new content.  I do not have the "GO" buttons on the jump menus in this code, but did try it and it didn't work.   If anyone can help and tell me how to do it, and where to place the code, I would greatly appreciate it.
    I know this is long, but here is my code for the page.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Master_Template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Mickey Adams Index</title>
    <!-- InstanceEndEditable -->
    <link href="../twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]-->
    <!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <!-- InstanceBeginEditable name="head" -->
    <script src="../SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
    <link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable -->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/global.css" rel="stylesheet" type="text/css" />
    <!-- InstanceParam name="SecondTitle" type="boolean" value="true" -->
    <!-- InstanceParam name="SecondContent" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegionTitle_2" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegion_2" type="boolean" value="true" -->
    <!-- InstanceParam name="OptionalRegion1" type="boolean" value="true" -->
    </head>
    <body text="#000033" class="twoColFixLtHdr" title="What's New">
    <div id="container">
      <div id="header">
        <h1>Richard Sinkler</h1>
      <!-- end #header --></div>
      <div id="sidebar1">
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../About_Me.html">About me</a></li>
          <li><a href="../Calendars/Calendar_menu.html">Calendars</a></li>
          <li><a href="../What's New.html">What's New</a></li>
          <li><a href="../Equipment.html">Equipment</a></li>
          <li><a href="../Tunings.html">Tunings</a></li>
          <li><a href="../Video_and_Sound/video_menu.html">Sound &amp; Video</a></li>
          <li><a href="../web_gallery.html">Photos</a></li>
          <li><a href="Mickey_Adams_Menus.html">Mickey Adams</a></li>
          <li><a href="../Website_Info.html">Website Info</a></li>
          <li><a href="../Contact Me.html">Contact Me</a></li>
        </ul>
        <p class="justHostReferral">If you would like to get your own website, please click the <span class="justHostItalics">JUST HOST</span> logo below and it will take you the sign up page. I am a <span class="justHostItalics">JUST HOST</span> affiliate and get credit for referring you to their service.</p>
        <p><a href="http://stats.justhost.com/track?ca5fb2154d5aabc236853ccef2513f2ec"><img src="http://affiliates.justhost.com/control/img/banners/justhost_125x125v2.gif" /></a> </p>
    <h3 class="updated">Updated 7/18/2011
          <!-- end #sidebar1 -->
        </h3>
    <p> </p>
      </div>
      <div id="mainContent">
        <h1><!-- InstanceBeginEditable name="PageTitle" -->Mickey Adams Video Index<!-- InstanceEndEditable --></h1>
        <!-- InstanceBeginEditable name="PageContent" -->
        <p class="pageContent">Click a tab to open the category. <a href="Mickey_Adams_Menus.html" class="playbackCtrlMSg">Click to go back to Menu Page</a></p>
        <div id="m_a_video_index" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup">
            <li class="TabbedPanelsTab" tabindex="0">BE</li>
            <li class="TabbedPanelsTab" tabindex="0">BEX</li>
            <li class="TabbedPanelsTab" tabindex="0">BEC</li>
            <li class="TabbedPanelsTab" tabindex="0">Beginner</li>
            <li class="TabbedPanelsTab" tabindex="0">Faux C6</li>
            <li class="TabbedPanelsTab" tabindex="0">Uncategorized</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
            <div class="TabbedPanelsContent">
              <p><strong><u>BE01</u></strong><u>:Beginners: 3 Moves to  Master</u> <br />
                <strong><u>BE04</u></strong><u>: Simple E9 Passage,  Single Note</u> <br />
                <strong><u>BE06</u></strong><u>: 4-5-1 In G, Using ABC  Pedals</u> <br />
                <strong><u>BE07</u></strong><u>: 1-2-5 Single Note+ 3 <strong>Stops</strong></u><br />
                <u>BE  109a Close Intervals in C</u><br />
                <strong><u>BE11</u></strong><u>: Beginner Steel Guitar,  Cold Cold Heart</u> <br />
                <strong><u>BE12</u></strong><u>: Cold Cold Heart Part II</u> <br />
                <strong><u>BE16</u></strong><u>: Waltz Across Texas</u> <br />
                <strong><u>BE24A</u></strong><u> Big City Turnaround</u> <br />
                <strong><u>BE28</u></strong><u>: Your Man, Josh Turner</u> <br />
                <strong><u>BE31</u></strong><u>: Minor Chords-Moondance</u> <br />
                <strong><u>BE34</u></strong><u>: 3 Moves to Master, Part  II</u> <br />
                <strong><u>BE36</u></strong><u> Harmonics, Overtones</u> <br />
                <strong><u>BE40</u></strong><u> 2M-5-1 Faux C6 Moves for  Cherokee Maiden</u></p>
              <p><strong><u>BE41</u></strong><u> Second String Usage</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <p><strong><u>BEX1</u></strong><u>: A+B Repetitious  Excercise, Major Key</u> <br />
                <strong><u>BEX2</u></strong><u> Pick Blocking Dexterity  Excercise II</u> <br />
                <strong><u>BEX6A</u></strong><u>-Pick Blocking Exercise  B+C, F</u> <br />
                <strong><u>BEX7</u></strong><u> Speedpicking Lesson 1  Revision 1</u> <br />
                <strong><u>BEX12</u></strong><u>: G Major, Lesson 2-Pedal  Changes, Chord Forms</u> <br />
                <strong><u>BEX14</u></strong><u>: D7, G Lever  Programming, Speed</u> <br />
                <strong><u>BEX16</u></strong><u>: G Major-Lesson 1</u> <br />
                <strong><u>BEX16a</u></strong><u> G major Descending  Exercise</u> <br />
                <strong><u>BEX17</u></strong><u>: Pick-Blocking 101,  Beginner Steel Guitar</u> <br />
                <strong><u>BEX21</u></strong><u> Faux C6, 1-4-5-1</u> <br />
                <strong><u>BEX21</u></strong><u>-2-5-1 Chord Change</u> <br />
                <strong><u>BEX21</u></strong><u> Alternating Fingering  Excercise</u> <br />
                <strong><u>BEX21</u></strong><u> Glissando Excercise 1</u> <br />
                <strong><u>BEX25</u></strong><u> Faux C6 1-5-1 in D</u> <br />
                <strong><u>BEX27</u></strong><u> C Pentatonic Scale Ex1</u> <br />
                <strong><u>BEX27a</u></strong><u> C Pentatonic Ex2</u> <br />
                <strong><u>BEX27b </u></strong><u>A Blues Pattern</u> <br />
                <strong><u>BEX28</u></strong><u> Pedal &amp; Lever  Excercises for Beginners</u> <br />
                <strong><u>BEX 92</u></strong><u> D7 Exercise</u> <br />
                <strong><u>BEX 93</u></strong><u> 2 String Exercise, Lever  I, Pedal H</u></p>
            </div>
            <div class="TabbedPanelsContent">BEC
              <div id="Accordion1" class="Accordion" tabindex="0">
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 1</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC4:  Blue Eyes Elton John</u> <br />
                      <u>BEC6  Broken Wing</u> <br />
                      <u>BEC15:  Goin Through the Big &quot;D&quot;</u> <br />
                      <u>BEC25:  I Sang Dixie, Take II</u> <br />
                      <u>BEC31:  Beginner Steel-Longer, Fogelberg</u> <br />
                      <u>BEC32:  Longer, Flute Solo, Fogelberg</u> <br />
                      <u>BEC35:  Nobody In His Right Mind</u> <br />
                      <u>BEC41:  Too Cold At Home Intro, Mark Chestnutt</u> <br />
                      <u>BEC45:  Teach Your Children: Intro</u> <br />
                      <u>BEC48:  Take Your Memory With You</u> <br />
                      <u>BEC52  Thinking Thing Intro</u> <br />
                      <u>BEC54:  What A Wonderful World</u> <br />
                      <u>BEC66:  Solo, Look At Us</u> <br />
                      <u>BEC69:  Somewhere Over The Rainbow, Bridge</u> <br />
                      <u>BEC73:  Empty Glass Intro</u> <br />
                      <u>BEC77:  Set-em Up Joe Vern Gosdin</u> <br />
                      <u>BEC78-  So Much It Hurts Me Part 1</u> <br />
                      <u>BEC78a  So Much It Hurts Me Part 2</u> <br />
                      <u>BEC81,  Who Needs You Baby, Clay Walker</u> <br />
                      <u>BEC82  City Lights</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 2</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC83  Save The Honky Tonks, Mark Chestnutt</u> <br />
                      <u>BEC84  Faux C6, Deep Water Intro, Beginners</u> <br />
                      <u>BEC85  There's your Trouble Intro</u> <br />
                      <u>BEC86  Panama Red Intro, Remake</u> <br />
                      <u>BEC88  Diamond Rio One More Day Intro</u> <br />
                      <u>BEC89  Turnaround In C</u> <br />
                      <u>BEC89  Oh Little Town of Bethlehem</u> <br />
                      <u>BEC90  I Had A Beautiful Time, Solo</u> <br />
                      <u>BEC91  White Christmas</u> <br />
                      <u>BEC91a  White Christmas</u> <br />
                      <u>BEC91c  White Xmas, Improvising</u> <br />
                      <u>BEC92  Farewell Party Intro Simplified</u> <br />
                      BEC  92a Farewell Party Solo, Mike Johnson<br />
      <u>BEC93-This  Ain’t My First Rodeo-Intro</u> <br />
      <u>BEC-94  Third Rate Romance Solo</u> <br />
      <u>BEC-95  Crazy Arms Intro, Patty Loveless</u> <br />
      <u>BEC-96  Bar Room Roses Intro Troy Cassar Daley</u> <br />
      <u>BEC-97  Close Up the Honky Tonks-Intro</u> <br />
      <u>BEC98-Turnaround  5-1, BC,+E-lever</u> <br />
      <u>BEC-99  Single Note Run in D</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">BEC pg. 3</div>
                  <div class="AccordionPanelContent">
                    <p><u>BEC  100 Different Light Doug Stone Intro E9</u> <br />
                      <u>BEC  100 When Love Comes Around Intro Alan</u> <br />
                      <u>BEC  100 Take It Easy</u> <br />
                      <u>BEC101  Fourteen Minutes Old Intro Doug Stone</u> <br />
                      <u>BEC101  Bars Of Steel Bridge</u> <br />
                      BEC  101 Beneath Still Waters<br />
      <u>BEC  102 Could I Have This Dance Intro</u> <br />
      <u>BEC  103 Bars of Steel, Bridge</u> <br />
      <u>BEC  106 Legend In My Time</u> <br />
      <u>BEC107  When Did You Stop Loving Me Intro</u> <br />
      <u>BEC  109 Getting Over You Again Intro Gene Watson</u> <br />
      <u>BEC  110 Baby Thats Cold Intro</u> <br />
      <u>BEC  111 Panama Red Solo Part 1</u> <br />
      <u>BEC  111a Panama Red Solo, Part II</u> <br />
      <u>BEC  111 Where Have I Been All My Life Intro</u> <br />
      <u>BEC-112  Help Me Make it Through the Night.mpg</u> <br />
      <u>BEC-118  Faux C6-1-6-2-5.mpg</u> <br />
      <u>BEC-113  Way To Survive, Lesson 1.mpg</u> <br />
      <u>BEC113a  Way to Survive Lesson 2.mpg</u></p>
                  </div>
                </div>
    </div>
            </div>
            <div class="TabbedPanelsContent">
              <p><u>Beginner  Steel Guitar, Cmajor in 3rds</u> <br />
                <u>Beginner  Pedal Steel, Cross Picking, B Pedal</u> <br />
                <u>Beginner  Steel Guitar: San Antonio Rose</u> <br />
                <u>Beginner  Steel Guitar: Wonderful Tonight</u> <br />
                <u>Beginner  Steel Guitar: Oceanfront Property</u> <br />
                <u>Beginner  Steel-When you Say Nothing At All</u> <br />
                <u>Memphis  Tennessee, Beginner Steel Guitar</u> <br />
                <u>Beginner  Steel Guitar, Major Scale Excercise</u> <br />
                <u>Beginner  Steel, Amazing Grace</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <p><u>Walking  After Midnight Faux C6</u> <br />
                <u>All  My Ex's Intro Faux C6 for the E9 Neck</u> <br />
                <u>Faux  C6 Turnaround in A</u> <br />
                <u>5  1 Faux C6, Single note Passage</u></p>
            </div>
            <div class="TabbedPanelsContent">
              <div id="Accordion2" class="Accordion" tabindex="0">
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">Uncategorized pg. 1</div>
                  <div class="AccordionPanelContent">
                    <p><u>Simple  Intro in C</u> <br />
                      <u>Panama  Red Intro E9 Pedal Steel Guitar</u> <br />
                      <u>Danny  Boy, E9</u> <br />
                      <u>Highway  40 Blues Intro, E9</u> <br />
                      <u>Diatonic  Scale Movement In G</u> <br />
                      <u>1-7-4  1-2-4-5-1 Pedal Steel Guitar Intro</u> <br />
                      <u>1-4  Counterpoint Move in F, Very Effective</u> <br />
                      <u>Gene  Watson Intro-Got No Reason Now for Going</u> <br />
                      <u>BIG  CITY! Merle Haggard, Simple, Straightforward</u> <br />
                      <u>Someday  Soon!..Simple, Great Solo!</u> <br />
                      <u>Texas  Tornado, Tracy Lawrence, Intro and Solo</u> <br />
                      <u>Pick  Dragging: Technique, Short Clip</u> <br />
                      <u>Key-A  Turnaround, Blues/Diminished Walk</u> <br />
                      <u>Hello  Trouble-JayDee Maness/ Desert Rose-</u> <br />
                      <u>Memories  To Burn, Solo, Gene Watson</u> <br />
                      <u>When  I Call Your Name</u> <br />
                      <u>Cross  My Heart Solo, George Strait</u> <br />
                      <u>But  For the Grace of God, Keith Urban</u> <br />
                      <u>I  Never Go Around Mirrors, Gene</u> <br />
                      <u>Cryin  My Heart Out, Ricky Skaggs</u> <br />
                      <u>Lonesome  LA Cowboy Solo, Buddy Cage</u></p>
                  </div>
                </div>
                <div class="AccordionPanel">
                  <div class="AccordionPanelTab">Uncategorized pg. 2</div>
                  <div class="AccordionPanelContent">
                    <p><u>Teach  Your Children:Quick Solo</u> <br />
                      <u>1982  Intro:Randy Travis</u> <br />
                      <u>Check  Yes or No</u> <br />
                      <u>Fire  On The Mountain, Marshall Tucker</u> <br />
                      <u>Buds  Bounce, Simplified, Part 1</u> <br />
                      <u>Tonight  The Heartache's On Me, Solo, Dixie Chicks</u> <br />
                      <u>Heartbroke,  Steel Chords</u> <br />
                      <u>Funny  How Time Slips Away</u> <br />
                      <u>Bars  of Steel</u> <br />
                      <u>Blue,  Leann Rimes</u> <br />
                      <u>Supernaw-Wishing  Her well, Intro</u> <br />
                      <u>Look  At Us, Johny Hughey, Intro</u> <br />
                      <u>Over  The Rainbow Verse</u> <br />
                      <u>Discussion,  Right Hand</u> <br />
                      <u>Verse,  Help Me Make It Through The Night</u> <br />
                      <u>Rolling  Pick Technique 2-5-1</u> <br />
                      <u>3  Octave Descending D7 Single Note Run</u> <br />
                      <u>Descending  5-1 Turnaround in A</u> <br />
                      <u>Pick  Blocking Dexterity Excercise 1</u> <br />
                      <u>Alone  In SanAntone</u></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("m_a_video_index", {defaultTab:2});
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    var Accordion2 = new Spry.Widget.Accordion("Accordion2");
    //-->
        </script>
        <!-- InstanceEndEditable -->
        <h2>
          <!-- end #mainContent -->
        </h2>
      </div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
      <div id="clear"></div>
    <div id="footer">
        <p><a href="../index.html" class="footer_links">Home</a> <a href="../About_Me.html" class="footer_links">About Me</a><a href="../Calendars/Calendar_menu.html" class="footer_links">Calendars</a>  <a href="../Equipment.html" class="footer_links">Equipment</a> <a href="../Tunings.html" class="footer_links"> Tunings</a> <a href="../Video_and_Sound/video_index.html" class="footer_links">Sound & Video</a><a href="../web_gallery.html" class="footer_links">Photos</a><a href="Mickey_Adams.html" class="footer_links">Mickey Adams </a><a href="../Website_Info.html" class="footer_links">Website Info</a><a href="../Contact Me.html" class="footer_links">Contact Me</a></p>
        <p class="copyright"><span class="copyright"><span class="circleC"><span class="copyright"><span class="circleC">&copy;</span></span></span><span class="copyright"> Copyright 2011 - Richard Sinkler - All Rights Reserved</span></span></p>
        <p class="copyright"><span class="copyright"><span class="copyright">Website designed by Richard Sinkler</span></span></p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>

    I'm confused by your post and code.  Adobe has a function to do this.  In the Insert Toolbar under the Tab "Forms" there is an option to create a jump menu.  The only options that menu gives you is the same window or a frame on the page (a very outdated action looking at it now).  But with basic knowledge of links you insert the menu and you will get code like:
      <select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('parent',this,0)">
    The "parent" denotes that this will open in the same window.  If you change that to "blank" then it will open in a new window.  A "Go" button is optional and also available in the DW GUI when you set up a jump menu.
    http://www.w3schools.com/tags/att_a_target.asp

  • Since upgrading to FF v4, every time I open a "new window", all other instances of FF windows open, how can I keep this from happening?

    Since I started using FireFox version 4, every time I open a "new window", all other instances of FireFox windows open up. This is annoying as it often covers up instances I am currently using with instances that I don't wish to use right now. I can't seem to find a way to keep this behavior from occurring.

    Try go to '''about:config''' search for '''browser.startup.homepage''' change its value to:
    '''about:home''' - default page<br>
    '''about:blank''' - blank page<br>
    '''url''' - a page that you want
    Also:
    *[https://support.mozilla.org/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in safe mode]
    *[https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems Reset Firefox]
    *[https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware Problems caused by malwares]
    *[https://support.mozilla.org/kb/how-to-fix-preferences-wont-save Preferences won’t save]
    *[http://kb.mozillazine.org/Preferences_not_saved]

  • How to open a new window on click of a button, for printing stuffs in adf

    Hi ADF Experts,
    Jdeveloper 11.1.1.7.0 version.
    I am having a Print Button. On click of this I want to open a new window? how is it possible. Note it should not be a popup or panelwindow.
    Please suggest.
    Thanks,
    Roy

    Check out Frank's article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf which come with a sample at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501393.zip
    Timo

  • When I click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system" and I've tried to shut down and restart my computer but it keeps

    when i click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." and I've tried to shut down and restart my computer but it keeps showing the same message. I've even uninstalled Firefox and then reinstalled in the hopes that the problem would be solved but it this message is still popping up. What can I do to solve this problem?
    == This happened ==
    Just once or twice
    == I was on facebook trying to upload pictures yesterday. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1)

    Do you have a profile lock file in your profile folder? If so, delete it and see if TB runs properly:
    http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file

  • Problem with open in new window for second level tab

    Hi Friends,
    I am using 2 level tabs in my application. In my second level tab when i right click and select *open in new
    window* it is giving Page not found error. But for the first level tabs it is working correctly. How can i fix this so
    that either i can show the page when right click the tab and select open in new window or disable the right clicking
    for the second level tabs. Please help,
    Thanks
    Jeev

    Hi,
    I don't think its exactly possible, as tabs use javascript:doSubmit('somevalue'); and you can not open javascript in a new window, as javascript usually references the current page you are on, and since you open the javascript in a new window, it doesn't know what to reference. The most helpful thread I found was : Re: Open other tab in a new window (ATD reply, third from the bottom).
    Ta,
    Trent
    Edited by: tr3nton on Dec 3, 2009 4:19 PM; Hari beat me to linking to the correct thread, my bad.

  • When I click on an email link it opens in the email window instead of opening a new window, how to get it to open a new window instead

    It's Comcast email, most links are to articles from the Wall Street Journal. Lately an email from Charles Schwab broker with a link to a pdf file has been doing the same. When I click on the link, it opens within the email frame, which is about 1/3 filled up with the toolbar, mailboxes, headings etc. If it opens with 2 bars on the right side to move down, I can see the whole article, but often it opens with only one bar on the right side which will not let me get all the way to the end of the page.
    It's been happening for several weeks. I got a new computer and it's still happening. Comcast sounds like they've never heard of it. Most recently happened today. I tried the same email link with IE and it opened a new window.

    Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.

  • If Firefox is set as the default browser, and any application attempts to open a new window, this fails and I get the error "Firefox is already running..."

    Here is what I am running:
    Microsoft Windows 7, Service Pack 1, Fully updated to 4/10/2012
    Fresh Install of Firefox 11. No add-ons enabled as a result of troubleshooting.
    I am a user with administrator rights
    UAS is disabled.
    To begin, this has been going on Since Firefox 10 or so. A few months now.
    I am able to open Firefox. My add-ons worked (ABP, Flashblock, ABP Element Hiding Helper, IETAB2, Downthemall, Greasemonkey, 4chan extension) had no problems. Firefox is set and has been set for the last two years as my default web browser.
    However Since approximately Firefox 10 or so, maybe before that, If I have a Firefox session open, and any other application attempts to open a session in a new window, I get the Firefox is already running, but not responding error."
    I attempted to follow troubleshooting advice already posted (look for parent.lock files left behind [none present], multiple sessionstore.js files [none present], create a new user profile, attempted to clear out the "read-only" permission in windows 7, however as soon as it is cleared, the read only permission returns.)
    As a last resort, I deleted the Firefox folder, the %APPDATA%/Mozilla directory in its entirety, then utilized CCleaner to remove any and all references to Firefox in the windows registry, then did a full re-install, no extensions installed right now.
    I checked preferences and have the option "open new windows in a new tab" checked off. The problem persists regardless if this option is checked on or off. This problem persists in or out of safe mode, even with the brand new install.
    Test Cases:
    All cases:
    Firefox is selected as the default browser for windows 7
    Case 1: Open a firefox session. Utilize any other program that attempts to open a link to their website in a new browser window or new browser session. Experience "Firefox is already running" error
    Case 2: Open a firefox session. Right click on Firefox on the task bar. Select "open in new window". Experience "Firefox is already running" error
    Case 3: Open a firefox session. Select the Firefox Menu > New tab > New Window. A new window will actually open.
    This is the only method of opening a new window in the same browser session or profile that actually works on my system. Attempting to open a browser session from the task bar "open new window dialog" or opening a new window while a current window/session is running will not open firefox in a new window or a new tab in the current session. The "Firefox is already running, but is not responding" error will occur every time.

    Cor-el's suggestion resolved my problem. Apparently the MOZ_NO_REMOTE variable was set to 1 on my system variables. I never made it, and really have no idea how it got there, but deleting this variable and restarting firefox has resolved the issue. Thanks Cor-el!
    Marking case: Solved
    Solution: Verify the MOZ_NO_REMOTE variable is NOT set to 1. This can be achieved by simply deleting this variable.

  • How do I get firefox to open a new window when i click on a link in a webpage ?

    When I click on a link in a webpage in Firefox, generally it opens the new page in the window i am in (though some times it does not). How do I get it to open a new window (or tab) each time I click a link.
    For example, on www.bbc.co.uk if I click on a link, the new page opens in the same window, if I then click another link in the new window, again, it opens in the same window. To get back to the original window, I have to use the back button twice. Surely there is a setting so that all 3 windows can be open on separate tabs or separate windows.
    I have been to the tabs window in options, but doesn't seem to make a difference.

    Open link/bookmark in new tab in same window:
    *Middle-click (press the mouse scroll wheel) the link
    *Ctrl+left click the link
    *right-click the link, choose "Open Link in New Tab"
    Open link/bookmark in new window:
    * Shift+Enter on the link
    * Shift+left click on the link
    See: http://www.7is7.com/software/firefox/shortcuts.html

  • Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started. How do I set FF back to open tabs in 1 window

    Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started 2 days ago. How do I set FF back to open tabs in 1 window?
    There is no plus sign and going into optins and changing settings has not worked. I have uninstall FF and reinstall-keeping my personalization-and that was no help.
    Right clicking on FF Icon to open a new tab, or going up to FF drop down tab and clicking on new tab both do not work.
    Help everything opens a new window not a new tab. there seems to be no way to reset this or to chose a different optin. I just downloaded new tabs at end addon and it didn't do a thing.

    as a first troubleshooting step - does it work like normally when you open & run firefox in [[Safe Mode|safemode]] by pressing the shift key while you open firefox (all other instances have to be closed before)...

  • Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything.

    Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • Firefox is OPEN and working fine, but when I click a link in Thunderbird I get 'Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.'

    If I click a link on my desktop or in any other program (while Firefox is open and running), I get this message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." There's about a billion links for this if you Google it, but they all say that Firefox wasn't shut down properly. (OK, maybe not ALL of them, but if the needle is in that haystack, I haven't yet found it.) That's not the issue in my case since I haven't shut FF down at all.
    == This happened ==
    Every time Firefox opened
    == IDK

    This began to happen to me when I tried to run two separate profiles simultaneously on the same installation of firefox with -no-remote

  • Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    Update firefox, it asked me to update flash, I tried to update flash but it said I had to close firefox. A box came up and said the Flash install would continue when I closed firefox. I closed all firefox windows and no update of flash occurred. I tried relaunching firefox but got the "Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." message. I rebooted the system, no improvement. I tried to run firefox as administrator and got the same message. Either I find a fix or I won't be able to use firefox and will have to go back to ie.

    -> press '''CTRL''' + '''SHIFT''' + '''ESC''' to Open Task Manager -> Processes tab -> right-click '''firefox.exe''' and click '''End Process Tree''' -> close Task Manager
    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • I deleted the profile and firefox4 and then downloaded firefox4 again. But when i click firefox it says Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process,or restart your system.HELP!

    somehow i couldn't get rid of one website called www.searchqu.com/405 set as my homepage... I tried all solutions given to change the homepage but whenever i restarted firefox that homepage used to come automatically.. So, I deleted the profile (even from recycle bin!!) and deleted the firefox and downloaded it again hoping to get my problems fixed (which didn't happen!) because i'm getting dialog box saying- Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    You don't say which operating system you have installed?
    Assuming it's Windows, right click a blank part of the Windows Taskbar and go to Task Manager. Then click the ''Processes ''tab, find '''firefox.exe''' and then right click it and choose '''End Process'''.

Maybe you are looking for

  • Error: report_attribute_t100_message & set_attribute_property Into table UI

    Hi Experts, I have twice error on Table UI Element into Web Dynpro Abap. When i use this method with lo_el from table row, don´t run. LOOP AT lt_tabla_reserva ASSIGNING e_property-read_only         value          = abap_true. Is there any other Sap C

  • Unable to map actionscripting with java nested objects

    Hi Experts..., Im a newbie in flex and actionscripting..... Im unable to map nested java classes and objects with my front end flex application using actionscript....I have searched everywhere almost to my knowledge on the net but failed to find a fi

  • No Boot Up

    after I turned on my iMac running 10.4.1, all I get is the "gong" audio and a totally blank screen. I tried booting up again holding my finger down on the on button until I heard a beep. This didn't work either. Just a blank screen. Does this indicat

  • Why can't i remove files from my iPhone?

    I have audiobooks and music files on my iPhone and iPod that I would like to remove so that I can put new ones on and I cannot remove them in iTunes.  I never had this problem before iOS 5 and the latest update for iTunes.  I have tried clicking on t

  • How to send forms via Safari on iPad 3?

    I am trying to plan a route on Google Maps. The Safari version, of course. I can type in a search but there seems to be no way to send it. Even after clicking send aftre reading the message saying that the form is not safe.