Passing data to another page loaded in the same window

How to pass data from a page to another when new page loading
takes place ?
I use :
window.htmlLoader.load( new air.URLRequest("app:/" +
htmlfilename));
I tried :
window.htmlLoader.addEventListener(air.Event.CHANGE,
passmonitor)
but it doesn't work !

The problem is in passing the variables . As I mentioned
above,, the following error message gets displayed:
Can't get property window from undefined value
The code I tried is
myloader = window.htmlLoader.load(new air.URLRequest("app:/"
+ filen ));
myloader.window.somevar = "data";

Similar Messages

  • Navigate from one iview to another and open in the same window

    Hi,
    I created two iviews with Visual Composer 7.0 SP8.
    In the first iview I create a button with hyperlink action, that call the URL of the second iview. The two iviews are in separates pages.
    The problem is that the second iview is open in a different window, and I want to open this iview in the same window. I changed the propertie start in new window with "show in the portal content", but It is still open in another window.
    How can I open the second iview in the same window?
    Thanks,
    Ivan

    Hi Marcus,
    I created two iviews, the property of the first iview is window type = primary window, the second iview is defined like window type = nested window.
    Now the problem is that I can not deploy the second iview in the portal.
    Do you know what is happening?
    Best regards,
    Iván.

  • Can I set Firefox to open a page link in the same window (not a new tab) so I can just go back to the page instead of having to close the window?

    When I am on some pages, clicking on a article/picture link opens a new tab instead of continuing in the same window. By staying in the same window, I can back click on my mouse and continue on with other reading/links on the original page without manually having to move the mouse and click to close the tab. For example: on news pages, if I click on a financial article, a new tab opens with that linked article on the website's financial site. If I keep going back to the original page w/o closing tabs, I end up with too many tabs open.

    yeah, instead of using multiple windows, you can use multiple tabs inside one window. That way, you can browse multiple websites at once without having to flick back and forth between multiple windows.
    To open tabs of the websites you want to browse, just right-hand click on whatever website you want to visit (For example a site from your bookmarks or a site from a Google search result) and select 'open link in tab'.

  • I was login a website ,and i have opened cookies , i want to open another window to login the same website use another account , and in the same windows can use the same account , how can i achieve it ? thinks

    i want to use firefox to login a website ,in the same window and different tags can user the same session
    but when i open other window and login the same website use different account .
    how can i achieve it ? thinks

    Your problem has nothing to do with the faults or limitations of a web browser.
    ''There can be only ONE active user logged in on a specific website during a whole Browsing Session. Even if you try to log-in using a new window it will sign-out the earlier User ID from that website. It will keep the most recent logged-in User ID active.''
    This is the general policy on which all websites are built. Even if you try to login the same website from another web browser, you won't be able to login from the second platform either. I just check it. Tried on Mozilla and Internet Explorer.

  • Pass parameter to another page and stay on same page?

    Greeting EveryBody,,,
    as u can see from the subject
    im trying to pass parameter from one page to another but i want to stay on the original page???
    can be done or not? and how?
    examples are welcomed
    thanx in advance
    best regards
    carlito

    i have three pages displayed all by <frameset>
    and i want to pass parameter from one page to another without going to any page!!! i.e. staying on the main page
    hope it clear now....
    best wishes

  • Linking to another page (sheet) in the same workbook?

    Hi,
    Can somebody please confirm that Numbers does NOT offer the possiblity to have a hyperlink linking to another sheet within the same workbook?
    I have a few switchers at my office who couldn't get it to work, and I couldn't find any info about it either, so now they have to work in Office 2003 within Windows, just because of this
    Thanks.

    In the current version of Numbers, hyperlinks are limited to opening web pages in browsers & email messages in email client applications. Even if a new, enhanced version honored a wider range of URL's, say of the "file://" type, they would probably open a new window in an appropriate application.
    As I don't believe individual sheets in a Numbers document have URL's (or URI's?), it is unlikely that an enhanced hyperlink feature would be suitable for what you want to do.
    You can, of course, quickly move between sheets by clicking on their names in the "Sheets" pane, so perhaps a combination of descriptive sheet names & text boxes in selected sheets saying something like "Click 'Sales' to see more' would be an acceptable workaround.

  • Passing date to another form and use the date in sql statement

    hello! to all programmers
    i have some small problem that need some help.
    i want to use date value parameter from the first page in the second page sql statement but i get invalid cursor state error so if anyone can solve this problem or give me a better solution to do this process.
    thanks in advance
    p/s
    EBDATE is define as date data type in my database.
    this is part of my jsp code...
    <---------------------------------------------------------------------->
    SimpleDateFormat sdfInput = new SimpleDateFormat( "yyyy-MM-dd" );
    SimpleDateFormat sdfOutput = new SimpleDateFormat ( "dd/MM/yyyy" );
    String date= request.getParameter("date");
    Date date1 = sdfInput.parse(date);
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:wtmis_db","","");
    Statement stmt=con.createStatement();
    ResultSet set=stmt.executeQuery("select * from ELECTRICBIL where EBDATE="+sdfOutput.format(date1));
    if (set!=null)
    set.next();
         Date bildate =set.getDate ("EBDATE");
         Date sdate =set.getDate ("EBSTARTDATE");
         Date edate =set.getDate ("EBENDDATE");
         int kw =set.getInt ("EBKILOWATT");
         int maxdemand =set.getInt ("EBMAXIMUMDEMAND");
         int days =set.getInt ("EBDAYS");     
    <---------------------------------------------------------------------->

    Try this
    <%
    while(set.next())
    Date bildate =set.getDate ("EBDATE");
    Date sdate =set.getDate ("EBSTARTDATE");
    Date edate =set.getDate ("EBENDDATE");
    int kw =set.getInt ("EBKILOWATT");
    int maxdemand =set.getInt ("EBMAXIMUMDEMAND");
    int days =set.getInt ("EBDAYS");
    %>
    <tr>
    <td width="211"><div align="left"><b>Bill Date :</b></div></td>
    <td width="573"><%=sdfOutput.format(date1)%></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Bill From :</b></div></td>
    <td width="573"> <input type="text" name="textfield" value="<%=sdate%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Bill To :</b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=edate%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b><b>kiloWatt Use (Rm)</b>: </b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=kw%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Max Demand kiloWatt (Rm):</b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=maxdemand%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Days In Billing :</b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=days%>"></td>
    </tr>
    <%
    %>
    i hope. Now u wouldn't get any error message...but...u wouldn't get results as well...Check ur date format with access date format....
    Revert back

  • Retrieve data from other context node within the same context

    Hi Experts,
    I want to redefine method BUILD_TABLE for a table context node and I need to access data from another context node within the same context. I have looked through the methods of class CL_BSP_WD_CONTEXT_NODE_TV but could not find a mean of retrieving the other context nodes.
    Any ideas?
    Thanks a lot. Your help is appreciated.
    Cheers,
    Jens

    Hi Jens,
    Check this [wiki|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=201066680] it should be helpful.
    Regards,
    Shobhit

  • I wish an Ipad. Is it possible to work on the screen with 2 application toghether (2 Pages file in the same screen view) ?

    I wish an Ipad. Is it possible to work on the screen with 2 files toghether (ex: 2 Pages files in the same screen view) ?
    I need to make some transalations and so it's important for me to have the english text and the italian version that I am making, on the same screen view.
    Thank You.

    No. You cannot work on two Pages files in the same window. It is not possible to have multiple windows on the screen at the same time in iOS.

  • Window.open() will open separated windows even using the same window name?

    Hi, I have below two test html pages as below(could not find a way to insert a attachment, so paste the content below). The reproduce step is as below: (My environment is Win8.1 with IE11)
    1. Open print_test.html page in IE, here we call page1.
    2. Click "File -> New Session" menu from IE menu bar, which will open another new IE window which display another " print_test.html" page, here we call page 2.
    3. Click "Print" hyper-link in page1, and a popup window which display "print_test_open.html" page, counting begins from 1, here we call it page 3.
    4. Click "Print" hyper-link in page2, and another popup window which display "print_test_open.html" page, counting begins from 1, here we call it page 4.
    However, the behavior above is totally different on my Win7 (64 bit) with IE 10, which is in step 4, when I click "Print" hyper-link in page2, instead of open a new popup window, the window for page 3 will be reused and counting will restart from
    1.
    I googled and know from MDN for window.open() and get below information to indicate that in my test pages, I use the same window name, so that the existed window with the same name will be reused is as expected, but however, why IE behave differently in
    Win8.1 with IE 11? Why the existed window could not be reused anymore?
    If a window with the name strWindowName already exists, then, instead of opening a new window, strUrl is loaded into the existing window. In this case the return value of the method is the existing window.
    The behavior in Win8.1 + IE 11 is similar with what Google Chrome does, and Chrome's explanation is that two separated window using separated processes which do no share information, so that even using the same window name. twp separated windows will
    popup.. So I am confused here, IE 10 and IE 11 are both using multi-process mechanism right? I saw from the Windows Task Manager, when using "File -> New Session" to open another print_test.html page in step 2. both IE 10 and IE 11 are opening
    4 iexplore.exe processes, two of them are 64 bit, and two of them are 32 bit. I can't see any configuration difference between these two envs, but why the behavior is so different? 
    Could anyone give some help and clarify here? Great thanks in advance.
    Oh, btw, another colleague can reproduce the issue (open separated windows even using the same window name) in his Win7 64 bit with IE 10 env, but could not reproduce in his Win 32 bit with IE 10 env... Hope this information could also do help.
    ======================== Test pages ===============================
    (1) print_test.html
    <!DOCTYPE html>
    <html>
    <head>
    <title>Print test</title>
    <head>
    <body>
    <h1>Print test</h1>
    <p><a href="javascript:void(0)" onclick='window.open("print_test_open.html", "test");'>Print</a></p>
    <p><a href="javascript:void(0)" onclick='window.open("print_test_open.html", "test"); myWindow.location.reload(true);'>Print (force refresh)</a></p>
    </body>
    </html>
    (2) print_test_open.html
    <!DOCTYPE html>
    <html>
    <head>
    <title>Open</title>
    <head>
    <body>
    <h1>
    <div id="count">Test</div>
    </h1>
    <p>Test</p>
    <script type="text/javascript">
    var e = document.getElementById("count");
    sessionStorage['count'] = 0;
    function timedCount() {
        i = sessionStorage['count'];
        i++;
        sessionStorage['count'] = i;
        e.innerHTML = "Count: " + i;
        setTimeout(function(){timedCount()},100);
    timedCount();
    </script>
    </body>
    </html>

    Hi,
    please try in noAddons mode and with the IE Popup blocker turned off. Also ensure you are using the default IE Security zone settings. Internet Options>Security tab, click "Reset all zones to default"
    To debug your scripts in IE11.
    Tools>Internet Options>Advanced tab, check "Always record developer console messages".
    start your test and display the developer tool console to display suppressed errors and warnings.
    (I don't see where myWindow is assigned).
    "If a window with the name strWindowName already exists, then, instead of opening a new window, strUrl is loaded into the existing window. In this case the return value of the method is the existing window."
    window.open has an optional 'replace' parameter...
    http://msdn.microsoft.com/en-us/library/ie/ms536651(v=vs.85).aspx
    to reuses a tab or window
    window.open({url},[name],[placement],[replace])
    If possible can you please provide a publicly accessible link to your test pages as we need to inspect the response headers to monitor what is cached.
    or
    f12>Networking tab, click 'Start' button, then proceed with your test plan.
    Regards.
    Rob^_^

  • IStore Config opens new window when done instead of the same window

    Hi,
    We are upgrading iStore from 1155 to 11510. Currently I am facing the issue that when I click on Done button in Configurator Screen, it opens up the returning page in a new window rather than the same window. This is not the expected behavior. Can someone help me understand how to suppress the new window and instead help the page appear in the same window?
    Thanks in advance.
    Arun G
    Oracle.

    Does it work if you drag the tab slightly downwards in the browser window?

  • Need help in passing data from one page to other page in oaf

    Dear All,
    I have a requirement as below.
    I am doing some selection in one page and populating the data in another page table region, next time when i am selecting another row and pressing the button i need to display the previous row as well as new row, how can i achieve this, currently i am able to see only the first row what i selected first.
    Ex: 1 st scenario: after passing the selected data from one page to base page the data looks like below in base page.
    1 test desc
    2nd scenarios: when i am again selcting data and passing to the base page it should be like that
    1 test desc
    2 test desc
    but currently it is showing
    1 test desc only for the 2nd case, can any one please help me on thsi , its little bit urgent
    Thnaks

    How are you passing the values to the base page? Are you using setting the retainAM parameter to true while doing a forward.

  • Javascript: to pass values to another page

    hi all,
    i hav an interactive report. if i clik on a particular row, that row values must be passed to an another page (via javascript)
    i found this forum https://forums.oracle.com/thread/2467579 in which they hav used it for sending mail.
    but i wanted to pass those values to another page throug javascript bz, i hav installed a plugin nd wrking from it under right clik.
    ma  javascript function  is,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+ $(el).children('td[headers="EMPNO"]').text() +  ',' + $(el).children('td[headers="ENAME"]').text()";
    here i hav redirected it to the 2nd page and in the 2nd page i hav used 2 items to get these values.
    $(el).children('td[headers="EMPNO"]').text() +        ------->  this is to fetch the empno of that particular row and similarly for the name.
    but if i click on the right clik button , no action is happening... 
    but its working fine, if i use the function as,
    function func(action,el, pos)
       window.location ="http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.";
    so somewhere is going wrong in passing the values in URL i suppose....
    and i hav used al d above things in
    http://apex.oracle.com/pls/apex/f?p=71510:1 (username: test / paswrd: pex14gm)
    pls help me out.....
    thanks in advance

    Try like this.
    function func(action,el, pos){
        var empNum = $(el).children('td[headers="EMPNO"]').text();
        var eName  = $(el).children('td[headers="ENAME"]').text();
        window.location ='http://apex.oracle.com/pls/apex/f?p=71510:2:&SESSION.:::2:P2_X,P2_X2:'+empNum+','+eName;
    It looks simple and neat.
    If you still didn't get post me workspace details.

  • Process - Pass values to another page

    Procedure for passing parameters.
    Hi
    I have a report region on my page, where the each record have a checkbox to reference a Identifier..
    I want to pass all identifiers referring to the checkbox selected to another page.
    For this I created an item called: P20010_NIVEIS_SEL .. I put the values in it and his step to another item on another page.
    But is not working.
    The process is this:
    DECLARE
    BEGIN
      IF htmldb_application.g_f01.COUNT <= 1 THEN
          : P20010_NIVEIS_SEL: = htmldb_application.g_f01 (1);
      ELSE
        FOR i IN 1 .. htmldb_application.g_f01.COUNT LOOP
          : P20010_NIVEIS_SEL: =: P20010_NIVEIS_SEL | | ',' | | htmldb_application.g_f01 (i);
        END LOOP;
          : P20010_NIVEIS_SEL: = SUBSTR (: P20010_NIVEIS_SEL, 2,: P20010_NIVEIS_SEL.LENGTH);
      END IF;
    END;It´s importante say that to pass the parameters I created a branch to another page, where while the contents of an item to another.
    This giving an error:
    ORA-01008: not all variables are limitedthanks

    Hi,
    Quickly I noticed few mistake. I did not test this, but you could
    DECLARE
    BEGIN
      IF apex_application.g_f01.COUNT <= 1 THEN
          :P20010_NIVEIS_SEL := apex_application.g_f01(1);
      ELSE
        FOR i IN 1 .. apex_application.g_f01.COUNT LOOP
          :P20010_NIVEIS_SEL := :P20010_NIVEIS_SEL | | ',' | | apex_application.g_f01(i);
        END LOOP;
          :P20010_NIVEIS_SEL := SUBSTR(:P20010_NIVEIS_SEL, 2,LENGTH(:P20010_NIVEIS_SEL));
      END IF;
    END;Br,Jari

  • Image Conditional on Data in Another Page

    Goal is to have an image associated to a gallery, that toggles between one of two images based on a data state on another page.
    This description is way over-simplified. Will do my best to explain (Images below may help) ...
    Description: This app is an In/Out Log book. Like what you would find at the reception desk of an office building. For the demo I have use the images of a few celebs.
    What you see on Page one below are two Galleries. The Gallery1 for the Directory & Gallery2 for the (AtoZ) filter. (That works great by the way.) Notice the small secondary image inside Gallery1 that says "In" ... that the one giving me trouble.
    That image needs to toggle based on the status of Page two.
    PAGE 1
    Notice the same image on Page two. I was able to get it to toggle between In/Out fairly easily based on an Update!Context state of the individual images below for In/Out/In/Out by assigning them a number 1 or 0. You will also note that the time is collected
    when the person selects the image.
    PAGE 2
    So the question is: How do I get this in/out state image to reflect correctly on individual results back on Page 1?
    I realize this is way complicated and I hope that I have explained it well enough. Feel free to ask questions. 

    Hi Michael,
    Thanks for detailing the behavior of your App. For this, you probably want to use a collection to track who is In (or who is Out). Clicking on the image will either Add to the collection if the person was not already in and conversely will remove
    from the collection if he was in.
    I will assume that in your scenario the table of people has a column named Name. The formula for the Image property of the Image visual in your first Gallery becomes:
    If(ThisItem!Name in Collection1, InImage, OutImage)
    For the image visual of your second Gallery, you will want the same formula for the Image property and you will want the OnSelect to be:
    If(Name in Collection1, Remove(Collection1, Name), Collect(Collection1, Name))

Maybe you are looking for