Load event page which passes twice

Consider the following code:


    
    
    
    
        

this is a test

the "page load event, context is [object event]" will be printed twice.  This causes havoc in my application. This only happens in the emulator to ripple, not in any other browser.

Is there a work around for this? I found that if I wrap it in a setTimeout I am ok, but sounds a little hokey...

It's a quirk with ripple and how it loads pages. You can use your during your dev setTimeout function and take it out when you test the device or submit.

Tags: BlackBerry Developers

Similar Questions

  • QML page load event

    Is it possible to attach some JavaScript for the load event of the page in QML?

    See onCreationCompleted.

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__uiobject.html#creationcompleted

  • Event scripts FDM shot twice during data loads

    Here's an interesting question. I added the following three scripts to different event (one at a time, ensuring that one of them is both), clear data before loading to Essbase:


    Script event content:
    ' Declare local variables
    Dim ObjShell
    Dim strCMD
    «Call MaxL script to perform data clear the calculation.»
    Set objShell = CreateObject ("WScript.Shell")
    strCMD = "D:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient\bin\startMAXL.cmd D:\Test.mxl"
    API. DataWindow.Utilities.mShellAndWait strCMD, 0


    MaxL Script:
    Login * identified by * on *;
    run the calculation ' FIX("Member1","Member2") CLEARDATA "Member3"; ENDFIX' on *. *** ;
    "exit";




    However, it seems that clear is performed twice, both before and after the data has been loaded to Essbase. This has been verified at every step, checking the newspaper of Essbase applications:

    No script event:
    -No Essbase data don't clear in the application log

    Above to add the script to the event "BefExportToDat":
    -The script is executed once when you click Export in the customer Web FDM (before the "target load" modal popup is displayed). Entries are visible in the log of Essbase applications.
    -Script is then run a second time when you click the OK button in the modal pop-up "target Load System". Entries are visible in the log of Essbase applications.

    Above to add the script to the event "AftExportToDat":
    -The script is executed once when you click Export in the customer Web FDM (before the "target load" modal popup is displayed). Entries are visible in the log of Essbase applications.
    -Script is then run a second time when you click the OK button in the modal pop-up "target Load System". Entries are visible in the log of Essbase applications.

    Above to add the script to the event "BefLoad":
    -Script only runs that after you click Export in the FDM Web Client (before 'target system load' modal popup is displayed).
    -Script is run AFTER loading to Essbase data when the OK button is clicked in the modal popup "load the target system". Entries are visible in the log of Essbase applications.

    Some notes on the above:
    1. "BefExportToDat" and "AftExportToDat" are both performed twice, before and after the modal popup "target Load System". :-(
    2. "befLoad" is executed WHEN the data is loaded to Essbase. :-( :-(

    Someone please any idea how we could run a clear Essbase database before the data is loaded, and not after we have charged for up-to-date data? And maybe about why event scripts above seem to be fired twice? It doesn't seem to be any logic to this!


    BefExportToDat - entered in the journal Application Essbase:
    + [Sea 16 May 16:19:51 2012]Local/Monthly/Monthly/admin@Native Directory/140095859451648/Info (1013091) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:19:51 2012]Local/Monthly/Monthly/admin@Native Directory/140095859451648/Info (1013162) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:19:51 2012]Local/Monthly/Monthly/admin@Native Directory/140095859451648/Info (1012555) +]
    + Erasure of the data in the partition [Member3] with fixed member [Period (Member1); Scenario (Member2)] +.
    +...+

    + [Sea 16 May 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info (1003037) +]
    Updated load cells [98] data

    + [Sea 16 May 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info (1003024) +]
    Data load time: seconds [0.52]
    +...+

    + [Sea 16 May 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info (1013091) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info (1013162) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info (1012555) +]
    + Erasure of the data in the partition [Member3] with fixed member [Period (Member1); Scenario (Member2)] +.


    AftExportToDat - entered in the journal Application Essbase:
    + [Sea 16 May 16:21:32 2012]Local/Monthly/Monthly/admin@Native Directory/140095933069056/Info (1013091) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:21:32 2012]Local/Monthly/Monthly/admin@Native Directory/140095933069056/Info (1013162) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:21:32 2012]Local/Monthly/Monthly/admin@Native Directory/140095933069056/Info (1012555) +]
    + Erasure of the data in the partition [Member3] with fixed member [Period (Member1); Scenario (Member2)] +.
    +...+

    + [Sea 16 May 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info (1003037) +]
    Updated load cells [98] data

    + [Sea 16 May 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info (1003024) +]
    Data load time: seconds [0.52]
    +...+

    + [Sea 16 May 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095928858368/Info (1013091) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095928858368/Info (1013162) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095928858368/Info (1012555) +]
    + Erasure of the data in the partition [Member3] with fixed member [Period (Member1); Scenario (Member2)] +.


    BefLoad - entered in the journal Application Essbase:
    + [Sea 16 May 16:23:43 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info (1013091) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:23:43 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info (1013162) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:23:43 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info (1012555) +]
    + Erasure of the data in the partition [Member3] with fixed member [Period (Member1); Scenario (Member2)] +.
    +...+

    + [Sea 16 May 16:23:44 2012]Local/Monthly/Monthly/admin@Native Directory/140095929911040/Info (1003037) +]
    Updated load cells [98] data

    + [Sea 16 May 16:23:44 2012]Local/Monthly/Monthly/admin@Native Directory/140095929911040/Info (1003024) +]
    Data load time: seconds [0.52]
    +...+

    + [Sea 16 May 16:23:45 2012]Local/Monthly/Monthly/admin@Native 140095860504320/Directory/Info (1013091) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:23:45 2012]Local/Monthly/Monthly/admin@Native 140095860504320/Directory/Info (1013162) +]
    + Received order [calculate] user [directory admin@Native] +.

    + [Sea 16 May 16:23:45 2012]Local/Monthly/Monthly/admin@Native 140095860504320/Directory/Info (1012555) +]
    + Erasure of the data in the partition [Member3] with fixed member [Period (Member1); Scenario (Member2)] +.

    James, the scripts export and the Load event will fire four times, once for each type of file: the. DAT file (main TB file),-A.DAT (log file),-B.DAT and - c.DAT.

    To work around this problem, then only run during the loading of the main TB file, add the following or something similar at the beginning of your event scripts. This assumes that strFile is in the list of parameters to the subroutine:

    Select Case LCase(Right(strFile,6))
         Case "-a.dat", "-b.dat", "-c.dat" Exit Sub
    End Select
    
  • Stop loading the page function does not work

    When you try to stop loading a defective or incomplete url the browser still loads a page or load a search engine. Only one I've found to get around this undesirable feature is to press the stop loading shortened the page several times.

    The problem probably lies in the browser making the request to load TWICE (or more) instead of once. Which means that just hit the stop button once has no effect, because you stopped only one application, the other is leaving still active...

    So my question is: how to stop this annoying behavior?

    Hello

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you.

  • is it possible to make a Web page expires? Is there a setting in dreamweaver or html text that will make a site Web do not load a page after a certain date?

    is it possible to make a Web page expires? Is there a setting in dreamweaver or html text that will make a site Web do not load a page after a certain date?

    You should probably give us more info on what you are trying to reach.

    I have Web sites that display information on the courses, with the possibility to register online. We do not want the announced course when their departure date has passed, so they are automatically removed from view. In this way, we have thousands of courses by year announced without worrying that the old courses are still on Web sites.

    To do this, the PHP and a database are used. Registration of database includes the date, which is verified by the query sent by PHP.

  • Safari for Mac OS does not load certain pages

    After upgrading to Mac OS on my Mac Mini (end of 2011), everything seems to work properly. I rebooted the Mini just to be on the safe side. Everything went well. It was Tuesday night.

    Thursday morning, the first opportunity, I get to mess with it, I opened Safari, try to connect to my router Asus RT-N66U (with the latest firmware), but somehow Safari doesn't seem to like https, nor does it like .asp pages. Here is a screenshot of what's on my Mac Mini Safari:

    I then decided to download Google Chrome. I installed (never had on this Mac Mini), but the page works perfectly and quickly.

    I have reset everything I could on Safari, including clear them cache, clear history, tried the developer mode (no matter WHICH mode in there still gives the same results)... on the cable connections and wireless. Chrome works without a hitch, as Safari before Tuesday. Now, nothing...

    ... However some pages such as Google.com or Apple.com loading properly. I haven't checked if there are applets missing in the back or a dark rendering problem.

    Any ideas how to solve this problem? (I'll use Chrome until it is.)

    Safari - no support for third-party modules can cause Safari to suddenly quit, or have performance problems

    Safari does not load a page or webpage elements are missing

    Safari / other browsers - Web site does not

  • Is there a way to change/modify the logo of spinning during the loading of pages?

    I want to customize my browser Firefox, but the only thing that I found can be changed, it is the "Persona", which is only background images. I was wondering if there is a way to change the rotation icon that appears when loading a page and maybe even the buttons next and previous. Do you know if this is possible?

    Do not use the chrome: / / prefix with the images.
    Just use the name of the file that I posted above.
    This will work if the images are in the chrome folder.
    The chrome Protocol is used to access internal files and files that are contained in an extension.

    .tab-throbber[busy] {
      list-style-image: url("r.png") !important;
    }
    
    .tab-throbber[progress] {
    list-style-image: url("r.png") !important;
    }
    
  • Need a way to stop loading while loading a page, some are too slow, used to have this option?

    I just upgraded to the latest version of Firefox and noticed that there doesn't seem to be a way to stop loading completely while he is in the process of loading a page. Older versions had this feature and I use it often. One site in particular that I deal with on a daily basis, has tons of advertising which can sometimes take forever to load, while making my every move unnecessary. I found that by stopping the entered page EQUIPPED does not affect the parts of the page that I had to do what I had to do, in other words, all the information that I needed the list of my articles were there long before all responsible ads. So rather than wait a minute or two, while the ads all charges, I could click on 'stop' and then do my work. Maybe I'm just missing where this feature is? I should mention that I have really problems to this place but I use it every day. For any help or suggestion would be greatly appreciated. Thank you for your time:
    Denny

    I suggest an anti-ad like Adblock Edge addon

  • Firefox is extremely slow to * start * loading a page

    Hi all
    I love Firefox on the desktop and it is the only browser I want to use on mobile as well, but it is unusable.

    Load application is fast, which works very well. It is when I go to load a page, that I have to wait 5-10 seconds for anything to happen. It is * not * associated network. I tested this by opening a local file on my phone. Firefox opens quickly, but shows the pan for about 6 seconds before displaying the content. It's the same for remote pages. I enter a url, and again, I have to wait. Once past the first delay, the loading bar appears and the downloads page and renders quickly.

    There is something going on between application load, download and rendering of the page that really takes a lot of time. It's driving me crazy. Any ideas?

    I use firefox on Android on an HTC 4.2.2 27 X. thanks!

    It is not normal for Firefox for Android to take 10 seconds. It is a symptom of Adblock Plus. Currently, we know that PDB will cause times of several seconds.

  • Firefox beta 18 'unresponsive' whenever I load a page. This didn't happen as well with FF3.5.4.

    I tried various updates/upgrades (4 and higher) Firefox updated. I currently have beta 18 of the combustion chamber. Whenever I load a page, the browser always crashes and I get "Not responding" in the status bar. The blocking time is usually longer than a few minutes or I leave the program via the Task Manager. Sometimes after the Frost, I get a "warning: script was insensitive" popup and then it will freeze again (I can't even press 'stop the script' or 'continue') because the popup is "not responding".

    I don't seem to have this problem with FF3.5.4 (only this version has found to be compatible) but I can't display flash plugins/media or certain features of a webpage because it is not updated. I would therefore not downgrade to 3.5.4 because there is no point if I can't see half the things on a page...

    If you have updated from version as old as 3.5.4, then you run the risk to be faced with problems. You should start with a fresh profile to ensure old preferences, the data files and the changes made by the extensions do not interfere.

    Start by creating a backup copy of your file profile, just to be sure.

    Then use the reset Firefox feature.

    If the problem persists, see the following article.

    Do not reinstall the older versions of Firefox. They contain security flaws and should not be used. Very old versions may be also unable to manage data files in your folder for profiles in their new formats, which can lead to all sorts of problems. And finally, many sites Web requires a modern browser to work properly.

  • Internet connection fast but slow to load web pages

    I have a relatively fast internet connection: speed download - 60.5 Mbps; Download Speed - 6 Mbps.

    I get the same results on my MacBook Pro running on the wifi and my iMac which is directly connected to the Ether. On the iMac, however, it is now holding always load web pages.

    I've read elsewhere that changing the DNS can eliminate some of these problems.  All this is a little above my pay grade.

    I know just enough to make me stupid, but I am a good listener and I can follow directions well enough.  Any help would be most appreciated!

    Thank you

    KLOS

    Hello, KLOS,.

    Thank you for using communities Support from Apple!

    I understand that Web pages are slow to load on your iMac, but not on your MacBook Pro, while they are connected to the same network. If you use Safari, I suggest to work through the following steps on your iMac to see if you can alleviate the slowness.

    If Safari is slow, unresponsive, which closes unexpectedly, or has other issues - Apple Support

    See you soon!

  • BlackBerry smartphones does not load web pages

    Hi could someone help me comes whenever I go on the internet, it does not load the entire page, a part of the text is missing any pages but some bookmakers William Hills Sickipedia if I go on my O2 account, it is the same. But twitter loads ok even with Facebook suggested his because im running old software which does not update past the 6.1.0 is the problem someone has any ideas

    Hello davideastwood

    Please try this:

    On your home screen, open your browser > press the Menu key > Options > scroll down to clear browsing data (mark all fields) and then click clean now.

    Once it's done perform a battery pull reboot by removing the battery while your unit is powered on wait a minimum then reinsert back. After restarting your browser try again and if it loads web pages.

  • Failed to load Web pages

    My laptop says it's connected Internet but I can not load Web pages, but I can ping.

    This problem appears after about an hour of use my laptop so I have to restart the laptop for internet to work again.

    Hello Ali,.

    Thanks for you quick response.

    As you mentioned that the problem is the same on all browsers. It is possible that some third-party application program\ is in conflict.

    I suggest you to follow the steps below and check.

    Step 1. Try to go to safe mode and check.

    Start the computer in safe mode and check if the problem persists. Safe mode is a diagnostic mode in which you are connected with only the minimal necessary services and active pilots. Check if the number is reproduced.

    To switch to safe mode see the link given below

    Try to go to safe mode with networking and check.

    http://Windows.Microsoft.com/en-us/Windows-8/Windows-startup-settings-safe-mode

    If the problem does not exist in safe mode, try to perform a clean boot and check.

    Step 2: Perform the clean boot.

    Place your system in the clean boot state helps determine if third-party applications or startup items are causing the problem. Check this question in the clean boot state.

    Reference: How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, read the sections "How to reset the computer to start as usual after a clean boot troubleshooting" in the link provided to return the computer to a Normal startup mode.

    Put us up-to-date with the results after you perform these steps. We would be happy to help you further on this issue.

  • Links to recorded webinars are landing on an events page.

    Links to recorded webinars/seminars which were working until yesterday (July 21, 2015) are landing on a today's EVENTS page that lists only the events of April 2015.

    In fact, the recorded webinars page (I have a filtered link) also of the land on the EVENTS page:

    https://www.Adobe.com/cfusion/event/index.cfm?event=list & loc = en_US & type = ondemand_seminar & product = FrameMaker & interest = & audience =

    Adobe blogs links, for example, "do you Miss Framemaker 101 Summer School" also landed on the EVENTS page.

    http://Adobe.LY/16LzXQQ

    Adobe has removed access to all recorded webinars?

    I'm looking for webinars on Framemaker by Rick Quattro, Tom Aldous, Barbara Binder, Matthew Sullivan, Bernard Ashwanden, Russ Ward and, of course, Maxwell Hoffmann.

    Thank you.

    Adobe has changed the approach to this. You must now register for each video so that they can collect marketing information. Then we'll send you a link to the video.

    You can direct the appropriate comments to the Evangelist Maxwell Hoffmann (mhoffman on adobe.com) or the techcomm products Manager Kapil Verma (kverma on adobe.com).

  • Live Preview error: could not load the page Live Development

    When I click on live preview.  Cromemo open without images to http://127.0.0.1:49836/Edge%20Code%20Assets/Start/index.html

    Can I get the Preview Live error message: could not load the page Live Development

    What should I try to fix this.

    Dean

    It is now defective due to a change in API with Chrome v34. We are currently working on a change which will be published shortly. She will work in Chrome v33, but I don't know if there's a way to go back.

    FYI, edge Code is based on media (http://brackets.io) that has the fix for this problem, so you can also try with strips.

    Randy

Maybe you are looking for