Problem in generating a new window

Heiii is it  possible to generate a new window at the bottom-right of a  Window after a specific interval of time like happens in o-desk (using  flex or Air).

Are you talking about a popup, a new frame or a completely new window instance?
Just off the top of my head:
The timing set in Action Script could reveal a hidden frame. trigger a popup or open a new url with your specs.
Couldn't you layer items and using timings change the properties of which one is showing?
I hope this helped.

Similar Messages

  • Problem Opening document in New Window

    Hai all,
    in my JSP page i have a link. the link path i am getting from database which is actually a word document present in a local drive. to open the file in a new window i have written the code like this
    <a href="<%=docPath %>" target="_blank">Open New</a> Now problem is in IE file is opening in a new window but in Mozilla FireFox it is not opening.
    Thanks in Advance

    Here are some thoughts on this kind of thing: http://www.trilithium.com/johan/2005/03/target-blank/

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

  • Problem in opening a new window

    Hi,
    I have a search region and a results table based on search parameters entered in search region.
    In results table, I have a button in each row, on click of which I need to open a new window.
    To this new window, I need to pass one of the attributes in results table and 2 search parameters.
    To open a new window, I used _blank in target frame. Now I cannot use destination URI as I need to send 2 search parameters which are not part of VO.
    So I used partialAction, and in processFormRequest I’m getting search parameters and passing to new page.
    But even though I used target frame, new page opens in same window.
    This is because of partial action. If I use destination uri without passing search params it opens in new window.
    Please let me know of any solution.
    Thanks

    Hi Harshad,
    Create an item of type link and set it client Action property.
    In the controller Process Form Requrest handle its event like :--
    if ("newPageNavigationEvent".equals(pageContext.getParameter(EVENT_PARAM)))
    String empNum1= "13798"; // Your value to be send to another page
    HashMap pageParams = new HashMap(1);
    pageParams.put("partyNumber",empNum1 ); // partyNumber is a dummy Name it could be anything
    pageContext.setForwardURL("OA.jsp?page=/exl/oracle/apps/per/eexit/webui/TestPG", // Give here the path of page you want to open
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    pageParams,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    In the New page controller Process request capture the value and depending upon the value do whatever you want. Like..
    String employeeNumber = pageContext.getParameter("partyNumber"); //Name of the parameter of last page
    if (employeeNumber !=null) // Depending upon the value do your logic
    else
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem with openning a new window when click news tiltle link

    After create a news item using News form created by XML form builder, i try to click title link, It always opens a new window, what i want is keep it in same window when i click the title link, not open a new one. Is there anyone know how to do that? thanks

    Hi,
       I think its not possible in case of XML Form Builder. Bcoz,
    <b>Edit Form</b>:it is for authoring like creating News
    <b>Render list Form</b>:It is for Publishing the News
    <b>Show Form</b>:It is for showing the whole content of the News
    In XML Form Builder, by default when you create a new form these forms ie. Edit Form (You will design the Form here, only authorised person or the owner only view this).
    The Second Form(Render List Item) is the one will be shown to everyone with brief information.
    The Third Form(Show Form) is the one when you click on the News page, it will show you one more screen, there you can see the detailed description about the News.
    So, when you click on the Rendered List Item Title, it will open only in the separate window.
    Regards,
    Venkatesh. K

  • Problem installing cs4 on new windows 8 laptop

    Hi i had to buy a new laptop after my old one stopped working. I have been trying to install cs4 onto it . It runs as if it is installing asks for the serial number its ok . It says it has been succesfull and when i hit close it has a window that says error contact customer support. i try to find cs4 icon on my laptop but it is not installed. can any one help please ...

    install using compatiblity mode (xp sp3 or vista).

  • TS2972 Anybody having problems sharing homes with new windows 8

    I don't know how to turn off fire wall to get iTunes home to share?

    What is your technical support question for these user to user technical support forums?

  • New window everytime when submit button clicked in JSF

    Hi all,
    I am facing an issue where I need to popup a new window everytime the submit button on my JSF form is clicked.
    I have tried several methods but none is working to my purpose.
    1. Add a target="_blank" attribute in the JSF form. The problem is that even if any of my ValuechangeListeners get invoked, the page is rendered in a new window. My ValuechangeListeners work on onchange="submit()".
    2. Invoke a new window from javascript and name the window as say" new" . Also name the form's target as "new" but this does not generate a new window everytime and also problem 1 persists.
    3. If i use actionlistener and onclick event on button in the form, then the new page is rendered in both current page and new window.( javascript for new window is written).
    What I need is when a person clicks on submit button in the form, a new window should always popup up and the page should be rendered in the new window. The original form should remain as it is so that a user can again do a submit and get a new window.
    Please suggest.

    devayani wrote:
    Thanks all for the replies.
    Try onchange="this.form.target='_self';submit();"This works fine if all the valuechangelisteners are invoked. Suppose,if I dont select the radio
    button and dont select any values in list box. Now if i click submit, since the target=_blank,
    the page giving validation errors (for not selecting the list box)
    renders in a new page. As expected behavior, not my solution.
    If you need validation to remain in the same window (and that seems like the best for the user experience you have described), then delay the creation of the new window until after the request finishes. I.e., your page should always go back on itself. Under the right conditions (which you can set in your action method) it conditionally writes JavaScript which targets the new window.
    >
    Try returning false from the onclick event.I had tried it long back, so I just messed it up while writing, there were no actionlisteners.
    sorry about my third solution, lets consider solution 2 as below:
    Javascript
    <script type="text/javascript" >
         function newWindow(){
              window.open('','mywindow','width=400,height=200');
              return false;
         </script>
    JSF
    <h:form id="Frm_New" target="mywindow">     
    <h:commandButton id="btn_submit" disabled="false"             
                  action = "#{TestBean.submitValues}"
                  value="#{bundle.SC_SUBMIT}"
                  onclick ="newWindow()">But again this approach has above problems and also no new window everytime. For new window you said:
    Append a time stamp or random number to
    the end of the window name.This solution will not work as I have to reset the target for my form everytime to this new window name.You can remember the name of the window if necessary. Although you seem to be changing things on the fly; earlier the problem was you didn't get a new window every time. Or are you just confused on how to set the target?
    onclick="var wname = getWindowName(); createNewWindow(wname); this.form.target = wname; return true;">
    I was trying to actually set the target of the form as _blank at runtime during one of the phases of JSF lifecycle ( by using phaselistener). Although its not working as of now. Does this sound a good approach
    This is because I dont think that setting it on jsf would work as the page rendering on a new window( in my case) not only depends on clicking the submit button only but it depends on whether the user is done with all vaildations and now has to see the final result into new window.This would be addressed by the conditional JavaScript solution above.

  • Very slow to open new window

    How to fix very slow opening window. I have vista 64. Since the last foxfire update it is very slow to open new windows. It can take some windows opening over a minute to open. (yes minutes not seconds)
    Once a window is open I can open in new tab with no problem, but not with new window. (I like to have many windows open at a time)
    When l click to open a new window either from a link or new window, it seems that nothing is happening. Then clicking to open another one which seems to open faster. Then all of a sudden the first window decides to open after about a minute or so. Sometime it seems to hang longer than other times.

    I did try the safe mode and didn't work. I did make iexplorer my default and then back again to foxfire and it somewhat worked. It was work not bad (but not as good as before) until I rebooted and it seemed the more I used it the better it became. Go figure :)
    Well I just did another firefox update to 4 and it works perfect and maybe even better than before. (or I got use to how slow it was :) )
    Thank You for you quick reply and I'm very happy for the new update... So far so good.

  • Hiding/changing URL when opening new window

    Any guidance on the following would be greatly appreciated.
    I have a club website which is hosted on my freespace and addressed by redirection.
    All the main pages show the URL at the top with the name of the club - as I would want.
    However, if I set a link within one of those pages to open in a new window, then the URL shown at the top is the url to the page's location in my freespace and not the club.
    Is there any way to specify what is shown in the URL area when opening a link in a new window in this way?
    Thanks for any thoughts.

    I have the the same problem bulvide has with version 3.6.9 (and with 4 beta 5). Instead of the gray page problem, now sometimes a new window won't open after clicking on the firefox icon on the taskbar (in the case of windows 7 64 bit, middle clicking, in vista left clicking). This only happens when I am watching a flash video stream from ustream for example.
    A temporary fix for the problem is to disable OOPP in about:config. You can do this by typing about:config in the URL bar, typing dom.ipc in the filter bar and toggling the 4 true values to false.
    Unlike bulvide, I don't have an issue with the speed of flash.

  • New Window to specific size

    I did a search through the forum and found what I thought was
    the perfect answer to my problem - to have a new window open to a
    certain size etc.
    Attached is the code. Can anyone see what may be going wrong.
    Thanks
    Dave

    Couple of things I noticed.
    1. You are not concating your strings together correctly. You
    need to use the "+" to do that.
    2. Why define a JS function in the getURL call. Just use the
    window.open command directly.
    try using this in your getURL: (by the way, you do realize
    that this will only attach this script to your button then you will
    have to click on the "panel.thumb_12" to launch the window)

  • Jsp dyn page open form results in new window

    Hi everybody,
    I have a problem dispaying results in new window.
    My portal component is a dyn page that dispay several jsp pages based on a integer switch parameter checked in the
    doProcessBeforeOutput method.
    One page is a form with a button that call onSearch custom method inside my component; this method process the request,
    fill the bean and set the integer switch that doProcessBeforeOutput check then get the right jsp.
    All works fine but I want to display the onSearch method results in a new window.
    What I have to do?
    Thanks,
    Andrea

    Hi Andrea,
         I am also facing the same issue.
    Were you able to call the component method from the JavaScript code.
    I have to display the results in a new page.
    Will all the methods like doProcessBeforeOutput() be executed when we traverse after the search button is clicked ?
    Thanks in advance,
    Brian.
    Edited by: Brian Fernandes on Mar 30, 2010 12:34 PM

  • How to get generated HTML file to display in new window from FileDownloadActionListener?

    Hi,
    I am using Jdeveloper version 11.1.1.5.
    I have a use case where the user can produce a report upon the click of a command button. They can generate 3 types of reports, HTML, PDF or Excel depending on which option they select in the radio buttons preceding the 'generate report' command button.
    The files are created in the background (XML file created based on View Objects which is then transformed using the relevant API for the report type and then produces a file which is held in servers temp directory) and is served out through a FileDownloadActionListener component programmatically, which itself is surrounded by a Command Link with visibility property set to 'false' (as per this blog:http://www.jobinesh.com/2010/01/customizing-execution-of-to-validate.html).
    Everything works fine in that the reports generate correctly and after clicking on the 'generate report' button the browser's 'Open/Save' dialog box appears asking the user what they would like to do with the file. I am using Internet Explorer as that is what most of the client users will be using.
    The issue I'm having is as follows. For PDF and Excel types when the user clicks on 'Open' the file opens in separate Adobe Reader or MS Excel application windows respectively, which is as expected and required. However, the HTML document opens within the same browser window within which the application is running and from where the 'generate report' button was clicked. The issues this presents is that if the user closes the browser window displaying the report then they will need to open a new window to re-establish connection to the application. If they click the browser 'back' button then it takes them back to the original page but not in exactly the same state as it was before the report was launched i.e. there are some components missing and the page doesn't display correctly.
    Is there another way for me to achieve this or is it even possible? I tried setting the 'useWindow' property of the invisible command link surrounding the FileDownloadActionListener to 'true' which didn't work. I tried to surround it with a Go Link instead of a command link but that gave me NullPointerException's, I think because you can only use a component which has an 'Action' property?
    I appreciate your assistance as always.

    Hi,
      I'm not sure if this solution is appropriate to your situation, but I had the same problem with trying to redirect from a commandLink to a new window.  In the method that is called by the links action I used the following:
    // Open the url in a separate browser window
    ExtendedRenderKitService erks =
      Service.getRenderKitService(fctx, ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append("window.open('" + url + "', '', '');");
    erks.addScript(FacesContext.getCurrentInstance(), script.toString());

  • How do I make this program generate a new problem once the button is hit

    Here is the code... appreciate any help given
    How do I make this program generate a new set of problem when the "NEXT" button is clicked and continue until the END button is hit
    package javaapplication3;
    import java.awt.GridLayout;
    import java.awt.Window;
    import javax.swing.*;
    import java.awt.event.*;
    * @author Sylvester Saulabiu
    class Grid extends JFrame{
        final int score = 0;
        final int total = 0;
        Grid(){
            //Set Layout of Flashcard
            setLayout(new GridLayout(4, 4, 2 , 2));
            //Create Panels
            JPanel p2 = new JPanel();
            JPanel p3 = new JPanel();
            final JPanel p1 = new JPanel();
            //Create Radio buttons & group them
            ButtonGroup group = new ButtonGroup();
            final JRadioButton ADD = new JRadioButton("Addition");
            final JRadioButton SUB = new JRadioButton("Subtraction");
            final JRadioButton MUL = new JRadioButton("Multiplication");
            final JRadioButton DIV = new JRadioButton("Division");
            p2.add(ADD);
            p2.add(SUB);
            group.add(ADD);
            group.add(SUB);
            group.add(MUL);
            group.add(DIV);
            p2.add(ADD);
            p2.add(SUB);
            p2.add(DIV);
            p2.add(MUL);
            //Create buttons
            JButton NEXT = new JButton("NEXT");
            JButton END = new JButton("End");
            //Create Labels
            JLabel l1 = new JLabel("First num");
            JLabel l2 = new JLabel("Second num");
            JLabel l3 = new JLabel("Answer:");
            JLabel l4 = new JLabel("Score:");
            final JLabel l5 = new JLabel("");
            JLabel l6 = new JLabel("/");
            final JLabel l7 = new JLabel("");
            //Create Textfields
            final JTextField number = new JTextField(Generator1());
            final JTextField number2 = new JTextField(Generator1());
            final JTextField answer = new JTextField(5);
            //Add to panels
            p1.add(l1);
            p1.add(number);
            p1.add(l2);
            p1.add(number2);
            p1.add(l3);
            p1.add(answer);
            p1.add(l4);
            p1.add(l5);
            p1.add(l6);
            p1.add(l7);
            p3.add(NEXT);
            p3.add(END);
            //Add panels
            add(p2);
            add(p1);
            add(p3);
            //Create Listners
      NEXT.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
             int answer1 = 0;
             //Grab the numbers entered
             int numm1 = Integer.parseInt(number.getText());
             int numm2 = Integer.parseInt(number2.getText());
             int nummsanswer = Integer.parseInt(answer.getText());
             //Set the score and total into new variabls
             int nummscore = score;
             int nummtotal = total;
             //Check if the add radio button is selected if so add
             if (ADD.isSelected() == true){
                 answer1 = numm1 + numm2;
             //otherwise check if the subtract button is selected if so subtract
             else if (SUB.isSelected() == true){
                 answer1 = numm1 - numm2;
             //check if the multiplication button is selected if so multiply
             else if (MUL.isSelected() == true){
                 answer1 = numm1 * numm2;
             //check if the division button is selected if so divide
             else if (DIV.isSelected() == true){
                 answer1 = numm1 / numm2;
             //If the answer user entered is the same with th true answer
             if (nummsanswer == answer1){
                 //add to the total and score
                 nummtotal += 1;
                 nummscore += 1;
                 //Convert the input back to String
                 String newscore = String.valueOf(nummscore);
                 String newtotal = String.valueOf(nummtotal);
                 //Set the text
                 l5.setText(newscore);
                 l7.setText(newtotal);
             //Otherwise just increase the total counter
             else {
                 nummtotal += 1;
                 String newtotal = String.valueOf(nummtotal);
                 l7.setText(newtotal);
      //Create End listener
    END.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            // get the root window and call dispose on it
            Window win = SwingUtilities.getWindowAncestor(p1);
            win.dispose();
    String Generator1(){
         int randomnum;
         randomnum = (1 + (int)(Math.random() * 20));
         String randomnumm = String.valueOf(randomnum);
         return randomnumm;
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            JFrame frame = new Grid();
            frame.setTitle("Flashcard Testing");
            frame.setSize(500, 200);
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
    }Edited by: SirSaula on Dec 5, 2009 4:39 PM

    Extract code into methods, so that when an action is performed a method is called. That way you can reuse the method for purposes such as resetting textfields to their default values, scores to default values, etc.
    You can go one step further and seperate the GUI layer from the processing layer, by deriving classes that for example maintain and calculate a score.
    Mel

  • 'New Window' does not work while generating HTMLhelp

    Hi team,
    I have created a RoboHelp project and assigned the property 'Open in a New Window' for a particular page.
    When I generate HTMLhelp format, and I click on the page, it opens in the same frame, but does not open in a new window.
    However, this feature works fine when I generate Webhelp.
    Is there any workaround?
    Any assistance will be appreciated!!!
    Santosh.

    Hi Thomas,
    thanks for the hint, it helped the find the source of the problem.
    Our Portal Framework is highliy modified - actually it is more a own developed Framework than a modification to the SAP Standard framework.
    Opening the WebDynpro in a new window with the SAP Standard Framework does work perfectly. With the own developed Framework, the system behaviour is like described in my original post.
    Thus back to the roots: We have to check our portal framework again :-(.
    Thanks for your help.
    Cheers,
    Stepahn

Maybe you are looking for

  • HT201318 How do I get a refund for iCloud storage (downgrading) ?

    Hi there, saw my annual iCloud storage billed yesterday and went to downgrade and get a refund. Couldn't find any links(s) that spoke clearly and concisely on how to get a refund. My iPhone says to contact support for a full refund within 45 days. Us

  • New EDI Output Message for Existing Purchase Order

    Hi Everyone, We have existing POs in our system for vendors that we are turning on SRM Supplier Self Services for.  When we configure the new output type, and then we change the purchase order, we are looking for the first SUS output type to come out

  • How to attach a file to the mail in jsp

    hi.i would like to send mails with in local server with files as attachments.i wrote this code but its not working.please help <%@ page import="javax.mail.*,javax.mail.internet.*,java.util.Date,java.io.*,java.net.InetAddress,java.sql.*,java.util.Prop

  • Can't export or share in Final Cut Pro X

    Hi. Brand new to FCPX, this is my first project. I imported a project from iMovie, finished editing it in FCPX, and wanted to export/share it. The menu is completely grayed-out, and the keyboard command (Command-E) does nothing. What am I missing?

  • Not able to connect iPlanet Proxy on ADMIN port with windows 2003

    I have configured iPlanet 3.6 on Windows 2003 server with admin port as 10000 and Client connection on port 8000. I m Able to use client port thru 8000 but when i goto particular URL i.e http:\\I.P:10000 it do ask for admin user name aND password.. a