Problem with BBUI / Web database / asychronous timing: untreated by BBUI.js query in HTML format

I think I solved most of my problems with getting my data to be used in various functions, etc... but the problem now (which may have been the problem basic all along) is related to the asynchronous nature of the treatment of Web database.

I get my markup returned as a

with all the 'data-bb-type' attributes etc, but based on the statements of 'alert' I sprinkled throughout my code, database results are processed after the 'onscreenready' event is over and "ondomready" began.

I know that if you generate markup for use with BBUI.js, he must enter the screen "" before the screen "" is passed to BBUI.js BBUI can do everything it's the stuff of fantasy for her.

I tried to make sense, but it escapes me. Maybe someone could point me in the right direction for a good tutorial that explains clearly what is happening behind the scenes, and then I guess I'll have to rip my code share and put back... or at least call functions in a different way or from a different location or use the callbacks more liberally (I'm not exactly clear on the use of reminders either).

The approach you describe would be necessary in the sense that an asynchronous call in the onscreenready function will allow this function to progress / probably finish and BBUI continue on treatment until you can completely change the elements with the data returned by the database.

Content, while not ideal, front-loading is a valid route.

The other option, depending on which time of control you're filling, would wait for ondomready and then use the JavaScript APIs for the control (if any) to be completed after the fact. For example, the ImageList controls have JavaScript APIs to refresh their content with an array of elements, once the element has been created / BBUI-means.

Tags: BlackBerry Developers

Similar Questions

  • There was a problem with this web page, so it has been reloaded. Started happening right after the last security update.

    Since the last update security update some says there are. "There are several sites that I get the error" there was a problem with this web page, so it has been reloaded "and it does not load the site ultimately. It is in Safari. Sites will open in Chrome very well. I tried to delete the cookies and cache. Restart the browser.

    Version OS X 10.9.5

    It can happen if you have third party advertising blockers installed as extension Safari or third party plug-ins.

    How to troubleshooting instructions here.

  • message keeps coming up ' is a problem with this Web page then it has been reloaded.

    My woman keeps getting the message on his ipad when she tries to use the internet "is a problem with this Web page then it has been reloaded. What happens whenever she tries to go to a Web page. It all started last night when she tried to open a file attached to an email zip. Could not be linked. What should she do?

    Do a restart forced his iPad: press and hold the home button and sleep, wait for the Apple logo, release the buttons. While waiting for the reboot also restart the WiFi router by pulling on the power of him, wait a minute, then plug it in again.

  • "There is a problem with this Web page then it has been reloaded" in Safari on my Mac.

    When I go to Google Docs, the page may not load and the message "is a problem with this Web page then it was recharged" keep appearing until page reads "a problem several times occurred with xxx. It is also accompanied by a message saying "web content Safari quit unexpectedly. This problem occurred only when I try to access a document on google docs, and google no drive. It happens on multiple google accounts, so I guess that the problem is not in the account.

    I tried to remove the plug-ins, extensions, modules, clear my cache, erase my browser history and go on a guest account, start up and none of them worked. I have a macbook air.

    Does anyone know the solution to this? Thank you.

    Hi, it happened to me as well and made me mad, I've sorted this problem out by updating FontExplorer XPro (from version 2 to version 5.5), check your font app situation, if it is old, if you corrupt fonts etc.

    If you use font book, select the fonts and post them and if the problem persists then go to FILE) restore the Standard fonts.

    It seems that this is a problem caused by your application of policies or corrupt fonts, to give it a try.

    Good luck


  • When I try to connect it to my youtube account it reads as follows: there is a problem with this Web site's secure certificate.

    Site Web Cecurity certificates

    When I try to log into my youtube account it reads:

    There is a problem with this Web site's secure certificate.
    The security certificate presented by this website has expired or is not yet valid.
    A site address different Web issued the security certificate presented by this website.

    Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.

    Anyone know how I can fix this problem?

    There is a useful article at this address on how to solve this problem. Good luck.

    Tim at the Ingenyes

  • Whenever I connect to my hotmail account using Windows Live, I get a warning, "there is a problem with this Web site's secure certificate. »

    original title: security

    Whenever I connect to my hotmail account using Windows Live, I get a warning, "there is a problem with this Web site's secure certificate. »

    Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
      We recommend that you close this webpage and do not make this Web site.
      Click here to close this webpage.
      Continue to this website (not recommended).
    More information
    • If you arrived at this page by clicking a link, check the Internet address in the address bar to be sure this is the address you've been waiting for.
    • When you go to a Web site with an address as, try to add the "www" in the address,
    • If you choose to ignore this error and continue, don't get personal information on the Web site.

      For more information, see "Certificate errors" in Internet Explorer Help.

    Some things you can try:

    You can have old certificates root on your computer.  Try to update your root certificates from the link provided in the paragraph "Root Update Package (intended for Windows XP only)" in the following article:

    "Members of the certificate program root Windows.
      <> >

    Depending on which version of Internet Explorer and Service Pack level of your machine, one of the following articles might help you:

    ' "There is a problem with the security certificate from the website" when you try to visit a secure in Internet Explorer Web site.

    "Certificate error Web page is displayed when you try to visit an SSL Web using Internet Explorer 7:"There is a problem with the security certificate from the Web site""
      <> >

    It is also possible that indeed, you will be redirected to a false site.  Check your file C:\Windows\System32\drivers\etc\hosts ensure that there is not a bogus entry for your hotmail login.  Generally, the only line that is required in this file does not begin with a character ' # ' is ' localhost '.


  • EA4500: There is a problem with this Web site's secure certificate.

    When I navigate to the Web page of the router, I get a message that "there is a problem with this Web site's secure certificate."

    I'm using https.

    Does this mean that https does not work on the EA4500?

    N °, this means that the browser does not trust the certificate sent by the router. The connection is always encrypted.

  • error message "there is a communication problem with the web server."

    I'm trying to connect to three rivers FCU website and I get the message error "there is a communication problem with the web server." I am running Windows 7 on Toshiba laptop. No idea how to solve this problem? Something in the settings?

    Hi, Mayhem15,

    See if this troubleshooting help.  It was written for Windows XP, but in many cases, these documents still apply for more recent versions of Windows.

    How to troubleshoot possible causes of Internet connection problems in Windows XP

  • When I open IE msg said "a problem with this web page caused IE to close and reopen the tab."

    I have a Compaq CQ60-202US about 3 years and all of a sudden, without making any change in the software that I am aware, whenever I try to open Internet Explorer, it gives me this message, "a problem with this web page caused IE to close & reopen the tab."  I can open Google without any problem. I upgraded to IE 9, but that made no difference. I don't really know what it takes to solve this problem.


    You can try resetting Internet Explorer as follows: be aware that this will remove bookmarks and saved passwords etc

    Open windows control panel, open Internet Options, click the Advanced tab, and then click the reset button.  Click 'Yes' or 'Ok' for all additional guests needed to complete the process.

    In case of failure to correct the problem and you are using Windows 7, follow these steps.

    Click on the Start Menu and select Control Panel.  Open programs and features, click on "Windows turn features on or off" and remove the check mark next to Internet Explorer 9 click Yes, then OK and then when restart the laptop.

    When Windows has restarted, click the Start Menu and select Control Panel.  Open programs and features, click on "Windows turn features on or off" and re-enter the checkmark next to Internet Explorer 9.  Click Yes and then OK and when it is finished installing, restart the computer again.

    Kind regards

    DP - K

  • A problem with the web by launching the EAS console - Urgent!

    Hello Experts,

    One of my clients has a problem with the web by launching the Regional service console. When tried to start, was inviting to install a .jnlp file. Customers already have Java 2 Platform SE Version 1.5.0 (build 1.5.0_13 - b05) installed on the computer. Make it necessary to install more than that?


    Please notify. Thanks in advance

    Kind regards

    Published by: 637223 on January 14, 2009 03:09


    They should be able to execute it, it took Java Web Start, which was part of the installation of the JRE from version 1.4
    If you go into control panel - java then java Control Panel click the java tab, under the JNLP section click the button show, if everything is correctly installed, it should show the versions and whether they are enabled or not.

    If they are enabled, then JNLP should work automatically, you may need to reinstall the JRE.

    See you soon


  • problems with some Web pages won't load does not correctly

    I have had problems with pages loading correctly but have not been able to solve the problems. I also tried to create a screen shot without success apparently. It is with all Web sites are not only some here and there. Sometimes if I navigate to the power and return to this page, he can solve the problems but more often than not, it does not solve the problem. I also use another browser such as google chrome or firefox and not met the same problem. The same page loads correctly and as expected. I appreciate your help in this matter and I did some of the steps in the frequently asked questions and what you all have suggested to solve the problem as clear the cache, etc. in case of problems, but it does not permanently fix

    my Firefox isn't properly loading page please solve... example

  • "There is a problem with this Web page, so it has been reloaded. Try using the Duolingo Web site.

    I recently started to get this message when I try to do exercises on the site Doulingo.  The site loads up to the time when I hit enter to begin an exercise then I get the exact massage indicated above to the upper left of the Safari screen, same thing happens with Chrome.  It only happens on this site and only when you ask for an exercise.

    I tried all the usual suggestions: compensation historic site and the data, a complete reset of the iPad reboots, stops.  So far, nothing works.

    I use a mini iPad 1st Gen with iOS 9.2.1.

    In my house I also got an iMac and iPad 4 and do not have this problem with these devices, it seems specific to iPad mini.

    I have the Doulingo app and it works, but does not offer the same functionalty than the Web site.

    Hi FrenchApples,

    Thank you for using communities Support from Apple! I'm sorry to hear you're having such problems with Safari on your iPad. If you continue to have problems with this specific site, you can find the troubleshooting steps in the following article useful:

    If Safari does not load a page or a page Web elements are missing - Apple Support


  • I get errors saying that there is a problem with this web site security certificate.



    Do not do no matter what (in fact, you can't), and you didn't do anything wrong.  This warning message simply means the administrator of the web site that you visit not bothered to renew its web site in due course certificates.  If it's a web site that you know and trust, you can select the option "Continue (not recommended)" will continue beyond the warning.

  • Problems with the WEB BROWSER blackBerry Smartphones, use not wifi network to open some Web sites

    Hello I'm owner of BB BOLD 9900 OS 7.1... for the last two days I am facing a pretty annoying problem with the BB browser.

    It means not affects the device... it just annoys me.

    When I TURN ON my WiFi on my BB with the network carrier Sim already homepage active who has a Active on it and open the web browser BB, according to the website on which I open the web browser chooses between the internet Wi - fi OR internet BIS carrier which is weird. BECAUSE a default if the wifi is enabled, then the web browser MUST use internet wifi network carrier for navigation. YOU TUBE, FB and all use my carrier netwrok to open bt soon I open or CNN or any other site the wifi symbol appears on the right side and so it uses the wifi network... and disappears when I opened THE 3 SITES you tube FB n twitter.

    My knowledge is that when you activate THE wifi network, the WEB browser is intended to USE the wireless internet, NOT the internet carrier

    The next time I switchd off the the carrier signal, and then Turned ON one internet WI - FI and then opened the web browser of BB. so now all the opend website with wifi internet bt as soon as I open YOU TUBE or FB or it post a comment... .that cannot visit the web page when the carrier is off. Please turn on the radio n try again... I mean IT SHOULD OPEN with internet wifi? WHY do network carrier sim to open the web page?

    I have checkd my browser settings and they are default and also my wifi settings I have reset the... the problem still persists?

    any idea wats going on?

    Please help is needed I'm annoyed about this problem...

    Thank you

    MR. KIWI... Good news... .i went to my carrier service center... Solvedo Problemo!

    Go to your service books and remove directories of service WAP browser in all directories of service WAP 3 I don't know the exact name, but all are related to the browser... WAP config something like dat... Just remove dem... .and HARD restart your fone... and try to use only wifi on your device with your carrier network off...

    mine worked... Let me know on urs... so now, the browser uses my wifi instead of my network provider when both are running...

  • Creative sync cloud app. problem with the web application


    I have some problems with the synchronization of files in the creative Cloud Files folder on my computer (I use a Mac) and the Creative Cloud Web App. practically the files I have on my computer folder do not appear on the web (and I can't create links of sharing for them) and vice versa. We have a team account and we can exchange files between us, but nothing appears on the web application. The problem applies to all members of the team.

    There is a problem with the service or it could be a local problem?

    Thank you


    @ursuss - what you see in the creative Cloud Files folder on your computer must match what you see on the site Active CC to

    Use the collector for the Adobe Log tool to and newspapers as well as the explanation of the problem by e-mail at [email protected]. Please provide additional information indicated by Warner Harress in this Adobe forum post

Maybe you are looking for