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

    Gabriel

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

    http://answers.Microsoft.com/en-us/IE/Forum/IE8-windows_xp/security-certificate-errors-the-security/89a2a3d9-337b-4FA9-b10c-36caa78d5ab0

    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 https://example.com, try to add the "www" in the address, https://www.example.com.
    • 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.
      <>http://support.Microsoft.com/kb/931125 >

    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.
      <>0 http://support.Microsoft.com/kb/93185>

    "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""
      <>http://support.Microsoft.com/kb/950067 >

    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 ' 127.0.0.1 localhost '.

    HTH,
    JW

  • 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 www.3riversfcu.org 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

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

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

    Hello

    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?

    Version: 11.1.1.1.00

    Please notify. Thanks in advance

    Kind regards
    Jingle

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

    Hello

    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

    John
    http://John-Goodwin.blogspot.com/

  • 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

    Concerning

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

    original title: IT SECURITY of IS a PROBLEM WITH THIS CERTIFICATE WEB SITE,.

    WHAT IS... THERE IS A PROBLEM WITH THE SECURITY CERTIFICATE OF THE WEB SITE, WHAT I DO, WHAT I DOING WORNG?  I'M A 60 +. I HAVE THIS PC for a long TIME, I HAVE CHANGE? Thank you

    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 TWITTER.com all use my carrier netwrok to open bt soon I open BBC.com 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 TWITTER.com 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

    Hello

    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

    Florin

    @ursuss - what you see in the creative Cloud Files folder on your computer must match what you see on the site Active CC to https://assets.adobe.com/files.

    Use the collector for the Adobe Log tool to https://helpx.adobe.com/creative-cloud/kb/cc-log-collector.html 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 https://forums.adobe.com/message/8385752#8385752.

Maybe you are looking for

  • How can I buy the iPhone Unlocked 7?

    I'm in the United States at the moment and I have to go back to my country soon and I want to buy the iPhone 7 from the site of the apple store, but I can't choose the sim-free option, I have to choose between the 4 carriers as the only means of paym

  • Verizon computed using data differently than the iPhone 6 Plus

    Verizon seems to count on me by using more data than my iPhone 6 more fact. My iPhone was at 1.8 GB, Verizon already had 2 GB, my iPHone was at 2.7 Gb, Verizon has already shown/3 Gb. Nobody noticed this discrepancy? I called Verizon tech support and

  • try opening a thaat file will work as administrator and password. Itstarts to run and then loops back to error repeating run as administrator

    I am trying to open a program that must run as an administrator, but the administrator and the password do not work. It starts, then the shows and the error message indicating the need for authorization and loops back to 'run as administrator'.

  • Faulty CD drive!

    Hey guys, my hard drive does not work as expected. Since some time now, since it works correctly, and using a system restore will not work... because I deleted the old restore points. Here's the problem anyway; When I insert a disc, the disc A) does

  • All games freezing randomly without crashing

    When any game it freezes / crashes after a while seemingly random. everything just hangs and forces me to make a discount to zero manually. I tried to reinstall windows and perform a clean boot. None of which worked. I ran prime95, furmark and chkdsk