Opening new window without using javascript..

Hi,
This is the second time iam posting this question. I didnt get satisfactory answer to my previous post..
Is there any possibility of displaying a new window on button click using only JSF and without using javascript? if yes please tell me how to do..
Thanks...

Yes, with target="_blank" in a link or a form.Thanks for ur valuable suggestion. I changed the button to link.
Its working fine now without JavaScript.
Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
Is this possible? Please give me an idea to do this.
Thanks.

Similar Messages

  • How to open new window without loosing pageFlow context?

    I am using 8.1 SP 3.
    Here is what I need to do. I have a an anchor link in a jsp that needs to open a new window after executing an action in a page flow. That action forwards to a jsp that needs to be able to access pageFlow variables.
    So, I have the following:
    <netui:anchor target="_blank" action="timesheetSubmitView">
    Everything works fine, that is it opens a new window and keeps the pageFlow content, BUT the new window contains all of the portlets that were on the original page. What I need is a new window that just contains the jsp that my action forwards to.
    I looked through the various topics on this forum, but the recomended approach posted by someone to enable redirect does not work because weblogic is loosing the pageFlow context, so jsp errors out due to the fact that variable on a pageFlow is null.

    I had the same issue. A couple different things to try -
    1. There is a property called redirect in the action. Set it to true.
    That did not work for me, so I just used pageFlow variables and put things into the session. Bad way of doing it, but works :)
    In the action that loads the first JSP, put things into the session. Then in the timesheetSubmitView action get the stuff from the session.
    Write an onDestroy method that deletes the session stuff, when u are done with it.

  • Opening New Window on button click

    Hi all,
    On click of a <h:commandButton> i want to display a new window which is containing datatable. Is there any possible way to do this with out using javaScript? Is there any possible way of doing it inside bean?
    If javascript is the only way tell me how to do that.
    Thanks...

    If you want to do it without Javascript, use links instead of buttons. A bean or a servlet cannot push a new window. Using Javascript it's fairly simple:onclick="window.open('foo.jsp');"

  • Runtime exec opens new window

    Hi, I am using Runtime.exec to run an external application in Windows2000. � can read its output and i can destroy it without any problems.
    But when i run my java application with javaw , the external application i run with rt.exec opens new window(without output texts, empty) . just output command windows which opens when i run the external app. from a command prompt.
    If i run my java application with java.exe then then external application DO NOT open new window and run correctly. But this time my java window stays on desktop, and that's not any good for a Windows Application.
    In both cases everything runs OK. The only problem is the command prompt windows.
    Is there a solution when working with javaw.exe ? or hide the window when running with java.exe
    Thanks all.

    bug with ID: 4244515

  • Links opening new Windows

    Is there a global setting that controls whether links in Portal
    open new IE Windows. I know how to edit this attibute for URL
    items in content areas, but our portal pages and portlet links
    have recently began to open new windows without any explanation.

    iBod:
    Thanks! That did indeed solve the problem. I knew the solution was simple, I just couldn't find the right "Preference" to adjust. It is certainly non-intuitive to have it under the "Tabs" preference panel -- I must have looked right at it and dismissed it as not relevant to my problem. I have now marked this question as "Solved."
    Mulder:
    I have given tabs a try -- many times. It just isn't my style. Now with this preference properly adjusted, I vastly prefer using windows-style browsing. Also, I can scroll through all the open windows in a breeze using "Command-tilde (~)", which is like riffling the pages of a magazine. Very convenient. Another problem with tabs is that all open pages have a tab visible in the top window, which means that anyone seeing the screen can see the names of all currently open Web pages. In my work environment, that is not acceptable -- I only want the top window to be visible at any given time, as it would be a security issue if random passersby walking behind my work area could see exactly which windows I have open at a particular time. In any case, I marked your answer as "Helpful" as well, since the question was already "Solved" by iBod's answer, which was posted first here chronologically.

  • Pop-up display Using JSP (or JSTL) without using JavaScript

    Please tell me how to display a pop-up window , without using Javascript code.'
    Thanks
    Amarshi

    Remember that Java - on the web - is mainly used for server-side programming and applets. If you want client side activity to occur, you must use languages like javascript or vbscript.
    Vincent

  • Any way to open new browser window without using image maps?

    Is there any way to open new browser window without using image maps? My code works fine in Firefox, but not in IE. There are 2 problems in IE: 1st is that the thumbnail images move up within their own borders & 2nd that when you click on an image it does open up a new browser window, but also redirects to the index page (in this case it's just a placeholder index page - the new one I've called index_new.html for the time being).
    Here is the link:
    http://www.susieharperdesigns.com/gallery_beads.html
    Any help is greatly appreciated.

    Your missing a value on the HREF.  In your code you have this:
    <area shape="rect" coords="-24,-9,106,144" href=" " onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    and it should be this:
    <area shape="rect" coords="-24,-9,106,144" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    If you fix the code on all your beads, it should work.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Opening new window on button click from pdf without loosing session

    Hi,
    In my Java web applicaion on click of a link, we are opening a new window in which we are displaying a pdf. There are 5 buttons on this pdf.
    On clicking of this button again we are opening a application link in new window. But in this window we are not gettting our session, which is there in first two window.
    For opening new window from pdf button click we are using
    var dynamicUrl3 = myappurl;
    app.launchURL(dynamicUrl, true); 
    How can i open new window with the same sesion from the pdf button.
    Please help for the same.
    Thanks,
    Abhijit Mohite.

    Yes, with target="_blank" in a link or a form.Thanks for ur valuable suggestion. I changed the button to link.
    Its working fine now without JavaScript.
    Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
    Is this possible? Please give me an idea to do this.
    Thanks.

  • Opening new window from a pdf using Formcalc and gotourl

    Hello,
    I am trying to open a new browser window using Formcalc and gotourl.  We are using Livecycle Designer ES2 9.0
    Previous versions of Designer had an extra parameter at the end such as :      
         xfa.host.gotoURL(<url>, 1)  or  xfa.host.gotoURL(<url>, 0)
    But in 9.0 the second parameter is removed , so I'm left only with
         xfa.host.gotoURL(<url>)  and this replaces my form rather than opening a new window.
    Our company restricts the use of Javascript with Adobe so I am left with Formcalc to accomplish what I need.
    Does anyone know why the second parameter was removed in 9.0  and/or if there is a way to accomplish what
    I need in 9.0 without using Javascript?
    Thanks,
    Norm.

    Hi,
    if you cannot use JavaScript because it is deactivated, then FormCalc won't work also.
    I don't know why the 2nd optional parameter has been removed. Here is an explaination of it.
    http://help.adobe.com/en_US/livecycle/8.2/lcdesigner_scripting_reference.pdf#page=382

  • Firefox 31 (Ubuntu) won't open new window or Javascript pop-ups

    Hi, I am running Firefox 31.0 in Ubuntu 14.04 having the following problem:
    1) When I click on New Window or New Private Window in the File menu, nothing happens, same with pressing Ctrl-N.
    2) Certain websites are not able to open new windows or pop-up windows through Java or Javascript
    (e.g. the command: javascript:popup_imp(...) does not produce anything)
    I did try safe-mode and there everything works fine. Then I restarted firefox (several times) with all plugins disabled but still had the same problem, so I don't know what causes the difference between safe-mode and no plugins.
    (By the way, there is no problem opening a New Tab by pressing Ctrl-T or from the file menu, the issue is only the New Window and New Private Window).
    Is there any other way to narrow down what is preventing the new windows?

    Hi cor-el,
    thanks for your answer, however as I explained in my post, safe-mode does not present the problem, but disabling the extensions on its own does not help (i.e with all extensions disabled the problem still is there).
    Also, I did not have this problem in the past and I did not change anything graphics related (unless something was changed software-wise internally and I did not notice).
    And yes I am currently using the default theme.

  • How to open WD- Adobe form open in new window -without Portal header

    Hi,
    In my WD application -MAINVIEW , I made 2 different groups under ROOTUIELEMENTCONTAINER
    GROUP1 -Selection fields with search button - with ROW LAYOUT
    GROUP2 -INTERACTIVE FORM - with FLOW Layout
    Basically when we click the Search button I get the form in the same view underneath GROUP1.
    I am calling this WD application in Portal by giving the hyperlink via BSP application.So when they run the WD application now With portal headers it is still becomming heightwise small area.
    Is there a way with which we can open form in completely new window  without the Portal Headers?
    Rgds
    Vara

    yes.. you can launch the form from a selection screen into a new window...
    I am using this to launch an editable PDF from a selection screen into a new window. This code is placed on the event handler of my Create button on the selection screen.
      DATA: str TYPE string,
            l_window1 TYPE REF TO if_wd_window_manager,
            l_cmp_api TYPE REF TO if_wd_component,
            result TYPE REF TO if_wd_window,
            lt_parms TYPE TIHTTPNVP,
            ls_parms like LINE OF lt_parms.
      ls_parms-name  = 'OPERATION'.
      ls_parms-value = 'C'.
      APPEND ls_parms to lt_parms.
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'your_wd_application_here'
          in_parameters = lt_parms               " <- any URL parameters you need to send
        IMPORTING
          out_absolute_url     = str.
      l_cmp_api = wd_comp_controller->wd_get_api( ).
      l_window1 = l_cmp_api->get_window_manager( ).
      result = l_window1->create_external_window(
        URL = STR ).
      result->open( ) .
    You have to be aware, though, that you will lose ALL your context data b/c you are opening a new user session. That's why I had to use url parameters to pass data to my form.

  • When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs

    When I open a new window, the current window is closed. I would like to keep the current window and open the new window without losing my current window. I checked "Open new window in a new tab instead" under tabs
    == This happened ==
    Every time Firefox opened
    == Noticed yesterday, June27, 2010

    i just went into preferences, deleted what was in the home page, and entered a new home page address which solved the problem, 

  • Since the latest update of 3.5.11, firefox opens links in a new window. it used to open links in a new tab. how can i fix that?

    since the latest update of 3.5.11, firefox opens links in a new window. it used to open links in a new tab. how can i fix that?

    The setting in "Tools > Options > Tabs" only works for links that would open in a new window.<br />
    That option allow you to divert such calls to a new tab.<br />
    For other links you either have to use a middle click or a Ctrl + left click or use the context menu.
    Tabberwocky: https://addons.mozilla.org/firefox/addon/14439

  • Force iView to open in a new window when using NavigationTarget

    Scenario - Portal Version 6.0 - NW2004  SP16 - WAS 6.40
    A Custom iView is used to gain access to an application running outside of the portal.  The user's credentails to the target application are recorded in the portal's UME via user mapping.  
    I want a user to be able to click a hyperlink to this iView that has been embedded in an email, and have the user gain access to the target application by 'going via the portal'.  The url that I use is of the form:
    http //<my_portal_server>/irj/portal?NavigationTarget=navurl://49a8add355f836061e6279f389cdc72e&open=/page&id=100&proc=10067&flag=1
    This is working, the user is first taken to the portal's login page, and upon successful login to the SAP portal, user is then directed to the target iView, and is logged in automatically to the target application, and able to use the target application.
    >BUT EVEN though the iveiw is configured to open in a new window it does not. It always opens in the main content area, and it always opens in this area in a height of about 40 pixels.  The iView properties are set to FULLPAGE.
    >If I invoke this iView using the portal's standard built in navigation, it does open in a new window
    >It just won't open in a new window when using direct URL to the iView WHY?
    How can I get the target iView to open in a new window under all circumstances?
    Do I need to pass more information in the URL?
    Are there a standard list of URL parameters somewhere that influence the behaviour of the NavigationTarget?  I have seen reference to 'context', 'mode' etc but can't find a list of valid parameters?

    Hello justaquestion1112,
    Thank you for your post.
    You should know that these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Please visit the following Acrobat forums for any questions
    related to the Acrobat family of desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Cheers,
    Pete

  • I have iPad new 3rd gen with OS 7.0.4.  I cannot open SEARCH window by using maneuvers noted in manual.  how can I open SEARCH?

    I have iPad new 3rd gen with OS 7.0.4.  I cannot open SEARCH window by using maneuvers noted in manual.  how can I open SEARCH?

    Swipe down from the middle of the home screen - not from the top of the screen - move down a little bit and swipe down. The Spotlight Search field should appear at the top.

Maybe you are looking for