Different behavior with webworksreadyevent in BONE 10.2.0.341

I test my app on OS 10.2.0.341 WebWorks and find a problem. When "webworksready" event is triggered, I find that DOM is not yet ready and so document.body returns null. Previously in 10.0 and 10.1, DOM is ready. I use BlackBerry 10 WebWorks SDK 1.0.4.11.

I was able to workaround it by registering webworksready DOM event is already ready, but I would like to know if this is an unexpected change. Or maybe a new SDK WebWorks can "fix"?

Happens to your apps, too?

Thank you.

This is good feedback, thanks for sharing.

It is true that DOMReady and webworksready events are independent.  There is no guarantee that we get in front of the other, unless you manage the workflow via the management of events.

Tags: BlackBerry Developers

Similar Questions

  • 11g - new: NOT IN has a different behavior with key FOREIGN ACTIVE!

    Oracle has changed NOT IN way that works?
    The NOT IN operator is supposed to return no rows when there are NULL values, see example below:
    Two table c1 (table 1), p2 (table 1 in the parent).

    create table c1 (c_col, p_col number);
    create table p1 (number p_col);
    insert into p1 values ('1');
    insert into values p1 (2);
    Insert in the values of c1 (100, 1);
    Insert in the values of c1 (200, 2);
    Insert in the values of c1 (300, null);
    Select * C1
    If p_col not in (select p_col from p1)
    NO RETURNS NO LINE! <-this is the expected behavior

    When adding a foreign key, the variations in results:
    ALTER TABLE p1
    Add CONSTRAINT p_PK PRIMARY KEY (p_col)
    ALTER TABLE c1
    ADD CONSTRAINT FOREIGN KEY FK1
    (p_col) P1 REFERENCES;

    THE RESULT OF THE CHANGE:
    Select * C1
    If p_col not in (select p_col from p1)
    RETURNS:
    C_COL P_COL
    ---------------------- ----------------------
    300

    1 selected lines

    WHY?
    When the foreign key is disabled, the result does not change back to the old.
    -
    ALTER table disable forced fk1 c1
    Select * C1
    If p_col not in (select p_col from p1)
    NO RETURNS NO LINE!

    Activation of the constraint:
    ALTER table ENable constraint fk1 c1
    Select * C1
    If p_col not in (select p_col from p1)
    RETURNS:
    C_COL P_COL
    ---------------------- ----------------------
    300

    1 selected lines

    That's happened?

    This is a bug caused by a combination of two elements: [join elimination | http://optimizermagic.blogspot.com/2008/06/why-are-some-of-tables-in-my-query.html] introduced in 10 gr 2 and [Null-aware anti-jointures | http://structureddata.org/2008/05/22/null-aware-anti-join/] introduced in 11 GR 1 material. 11 g CBO to the first query transformations via unnesting of the subquery:

    *****************************
    Cost-Based Subquery Unnesting
    *****************************
    SU: Unnesting query blocks in query block SEL$1 (#1) that are valid to unnest.
    Subquery Unnesting on query block SEL$1 (#1)SU: Performing unnesting that does not require costing.
    SU: Considering subquery unnest on query block SEL$1 (#1).
    SU:   Checking validity of unnesting subquery SEL$2 (#2)
    SU:   Passed validity checks.
    SU: Transform ALL subquery to a single null-aware antijoin.
    

    and then eliminates the join:

    *************************
    Join Elimination (JE)
    *************************
    JE:   cfro: C1 objn:61493 col#:2 dfro:P1 dcol#:2
    JE:   cfro: C1 objn:61493 col#:2 dfro:P1 dcol#:2
    Query block (32724184) before join elimination:
    SQL:******* UNPARSED QUERY IS *******
    SELECT "C1"."C_COL" "C_COL","C1"."P_COL" "P_COL" FROM "TIM"."P1" "P1","TIM"."C1" "C1" WHERE "C1"."P_COL"="P1"."P_COL"
    JE:   eliminate table: P1
    Registered qb: SEL$F9980BE6 0x32724184 (JOIN REMOVED FROM QUERY BLOCK SEL$5DA710D3; SEL$5DA710D3; "P1"@"SEL$2")
    ---------------------
    QUERY BLOCK SIGNATURE
    ---------------------
      signature (): qb_name=SEL$F9980BE6 nbfros=1 flg=0
        fro(0): flg=0 objn=61492 hint_alias="C1"@"SEL$1"
    
    SQL:******* UNPARSED QUERY IS *******
    SELECT "C1"."C_COL" "C_COL","C1"."P_COL" "P_COL" FROM "TIM"."C1" "C1" WHERE "C1"."P_COL" IS NULL
    Query block SEL$F9980BE6 (#1) simplified
    

    which is obviously false.
    With optimizer_features_enable = '10.2.0.4' CBO transforms a NOT EXISTS query, since he cannot transform into normal join:

    SELECT "SYS_ALIAS_1"."C_COL" "C_COL","SYS_ALIAS_1"."P_COL" "P_COL" FROM "TIM"."C1" "SYS_ALIAS_1"
    WHERE  NOT EXISTS (SELECT 0 FROM "TIM"."P1" "P1" WHERE LNNVL("P1"."P_COL"<>"SYS_ALIAS_1"."P_COL"));
    

    and elimination of join is not even considered.
    So as a workaround, you can disable elimination join on either the session or application level via the index OPT_PARAM (although course after approval of Oracle support):

    SQL> explain plan for
      2  select /*+ opt_param('_optimizer_join_elimination_enabled' 'false') */ * from c1
      3  where p_col not in (select p_col from p1)
      4  /
    
    Explained
    
    SQL>
    SQL> select * from table(dbms_xplan.display)
      2  /
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    Plan hash value: 1552686931
    ---------------------------------------------------------------------------
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT   |      |     1 |    39 |     5  (20)| 00:00:01 |
    |*  1 |  HASH JOIN ANTI SNA|      |     1 |    39 |     5  (20)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| C1   |     3 |    78 |     3   (0)| 00:00:01 |
    |   3 |   INDEX FULL SCAN  | P_PK |     2 |    26 |     1   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    Predicate Information (identified by operation id):
    ---------------------------------------------------
       1 - access("P_COL"="P_COL")
    

    BTW, elimination of join has two major bugs: [bad results: https://metalink2.oracle.com/metalink/plsql/f?p=130:14:9360445691478960109:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 6894671.8, 1, 1, 1, helvetica] with outer joins and [suboptimal plan | https://metalink2.oracle.com/metalink/plsql/f?p=130:15:9360445691478960109:p15_database_id, p15_docid, p15_show_header] [, p15_show_help, p15_black_frame, p15_font:BUG, 7668888, 1, 1, 1, helvetica], making this dangerous service in 10 gr 2 also.

  • Different behavior on the eyes; layer names are correct?

    Different behavior on the eyes; scales up and down, left right behaves as expected. All layer names are correct in artificial intelligence. Where to find a solution?Ai_layers_different_eye_behaviors.JPG

    Hmm, the sent JPG seems to be broken.

    But here's a place to look: in the Panel of the puppet, with no layers selected, you should see the behavior of face in the properties panel. Twirl in the group "Handles" to see what parts of the face it found. It shows the layers that you expect to find? (ToolTips will tell you what he's looking for.) Twirl down replacements also to see the layers of flashing. Note that if it does not find a layer of Blink for a certain look, it dimensionnera the eye that you close the eye rather than go to the work of replacement blink.

  • DENSE_RANK - strange behavior with an instruction BOX in ORDER BY

    Select the version of v$ instance;

    10.2.0.5.0

    Here is my example query:

    WITH A AS (
    select 40 as id,'708' as loc,'10-108' as act,14.5 as per from dual
    union select 40,'708','10-308',14.5 from dual
    union select 40,'708','10-708',14.5 from dual
    union select 40,'708','10-108',10.5 from dual
    union select 40,'708','10-308',10.5 from dual
    union select 40,'708','10-708',10.5 from dual
    )
    select id,loc,act,per
    ,SUBSTR(act,4,3) as aloc
    ,CASE WHEN SUBSTR(act,4,3) = loc THEN 0 ELSE 1 END as "Case"
    ,row_number() over (partition by id,loc order by per desc,
        CASE WHEN SUBSTR(act,4,3) = loc THEN 0 ELSE 1 END) AS Row_Num
    ,dense_rank() over (partition by id,loc order by per desc
        ,CASE WHEN SUBSTR(act,4,3) = loc THEN 0 ELSE 1 END
      ) as D_Rank
    from A;
    

    Here are the results, I expect:

    ID ACT BY ALOC case no_lig D_RANK LOC

    ---------- --- ------ ---------- ---- ---------- ---------- ----------

    40 708 14.5 10-708 708 0 1 1

    40 708 14.5 10-108 108 1 2 1

    40 708 14.5 10-308 308 1 3 1

    40 708 10.5 10-708 708 0 4 2

    40 708 10.5 10-108 108 1 5 2

    40 708 10.5 10-308 308 1 6 2

    However, these are the results I get:

    ID ACT BY ALOC case no_lig D_RANK LOC

    ---------- --- ------ ---------- ---- ---------- ---------- ----------

    40 708 14.5 10-708 708 0 1 1

    40 708 14.5 10-108 108 1 2 2

    40 708 14.5 10-308 308 1 3 2

    40 708 10.5 10-708 708 0 4 3

    40 708 10.5 10-108 108 1 5 4

    40 708 10.5 10-308 308 1 6 4       

    Since CASE WHEN SUBSTR(act,4,3) = 0 1 loc OTHER END is not in the score, why DENSE_RANK() increments?  ROW_NUMBER() behaves correctly with this CASE statement in its ORDER BY, but DENSE_RANK() does not appear.


    I think I can solve my problem by removing BOX WHEN SUBSTR (act, 4, 3) = THEN ELSE 0 1 END of my COMMAND DENSE_RANK() loc, however, in academic terms, I still don't understand the above behavior.  Is this a bug in DENSE_RANK or is it normal?

    Hello

    You're right; the expression that you called "Case" is not in clasue SCORE.  If it were, then a change in the value of 'Case' would cause DENSE_RANK generate a new set of numbers, starting with 1.  Tha't, it is clearly not what is happening here.  In this query, a change in the 'deal' is originally results increment, not start with 1.

    Don't forget the ORDER BY operation

    ORDER BY w, x, y, z

    the distinction between the lines to which none of the expressions w, x, y or z is different.  A change in one of these expressions (in general) causes a change in the results.

    In this example, 'Deal' is part of the analytical ORDER byclause DENSE_RANK, so you should expect a change in the "box" to cause a change in the value returned by DENSE_RANK.

    In this query, DENSE_RANK assigns different numbers with lines that have different values of 'box '.  Lower values of 'Case' will be assigned lower values of D_Rank, which is what you see.

    Lines with a = 14.5 and "Breaks" = 0 get a lower D_Rank (they get D-rank = 1) than the lines with per = 14.5 and "Break" = 1 (they get D_Rank = 2).

    Lines with by = 10.5 and "Breaks" = 0 get a lower D_Rank (they get D-rank = 3) of lines with by = 10.5 and "Case" = 1 (they get D_Rank = 4).

    You're right about how to get the first set of results, too.  If ORDER BY DESC is the ORDER byclause analytical together, DENSE_RANK assign the same number for all rows in the partition that have the same value of per, no matter what values are in all the other columns.

    The fact that "The case" is a CASE expression is actually irrelevant.  If you had a column, with 0 and 1 used and stored in this column in the ORDER BY clause, you would see the same behavior.

  • Network of ESXi - different behavior when installing adapter

    Hi Experts,

    I came across a strange problem on the network adapters section:

    • I was installing the ESXi 5.5 in a standalone Machine (re-usable)
    • When installing, it showed me the error on non detected network cards and I checked the compatibility of the guide and found that it was not a supported network card.
    • Then I installed 'VMware Workstation 10' on the same machine on the host operating system
    • I have created a virtual machine and tried to install 'ESXi' inside the virtual machine [just for curiosity\
    • He installed perfactly without error / warning (s).

    My concern is 'how and why ESXi comes with two different behaviors between installation Metel naked Machine v/s install inside a virtual machine on the same physical host.

    Thanks for your response in advance and I apologize if I am not able to present the screenplay with clarity.

    -Kuldeep Singh

    Under vmware workstation, the virtualized esxi uses the virtual NIC (probably E1000) driver, which is supported.  The host operating system uses its own realtek driver.

    When you try to run ESXi on bare metal, it doesn't have a realtek driver, if it fails.

    It is a driver problem.

  • I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions?

    I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions? I am familiar with clicking history / restoration of previous session, but do not want to reboot to let windows update to do it's thing unless I can restore the two sessions.

    guigs2 said

    If they run different profiles, then Yes.

    Thanks, but I use only 1 profile. However, I found the answer! If I restart/turn off / down pc WITHOUT closing a firefox session, he will come with the screen 'well, it's embarrassing"and list the TWO sessions to restore. The trick is not not to close before stopping! If you close them first, then you can only restore the session first (?).

  • can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    Yes. The only problem that I see if Macs were different countries. The method of payment in the account/ID must be associated with the country where the unit is located and you can only buy Apps from the store of the country where the computers are located

  • The use of two accounts different iCloud with Photos

    How can I use two accounts different iCloud with Photos of Yosemite OSX? For example... My wife and I have iPhones with iCloud different accounts and share a MacBook Pro, which use us her iCloud account. We want to be able to use the photo stream to upload our photos on our iPhones to the Photos on the MacBook Pro app. Thank you.

    I don't think there is a way to link the two accounts iCloud in photos.app library.

    However, my partner and I are in the same situation as you and your spouse: two phones, a MacBook Pro (MBP) and the need to share the photos with others and to optimize the space of our digital camera shots.

    In short, we use the following:

    -Two Photos.app libraries; one on each user profile

    -Two photos of iCloud albums; one for each phone (each of download us the best of our photos of the iPhone) shared with the other

    -A system of photo files referenced on an external hard drive for our digital camera

    -An album to iCloud for digital camera (again, for the best DSLR shots) shared with each other

    With this configuration, we can display each other best shots on all Apple devices through the iCloud sharing feature, and you can see all of our DSLR photos without cluttering the internal SSD.  This system is also convenient when you backup using time machine (configured to capture the MBP and external hard drive), because only one instance of the photo should be saved.

    My only complaint is that files referenced photo can not be uploaded to iCloud photo library a user directly, even if the referenced files will be shown along the iPhone photos side in the Photos.app (hence the need for a DSLR iCloud photo album).

  • I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I would get one that has 4700 comments already.

  • How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    I find easier to use this copy separate Automator Service (download Dropbox).

    To install in your numbers > Services, double-click menu just the package downloaded .workflow and if necessary give permissions in system preferences > security & privacy.

    To use, just:

    1. Select the cells in the column with duplicate names.
    2. Choose separate copy in numbers > Services menu.
    3. Click once in the upper cell where you want the deduplicated values appear.
    4. Command-v to paste.

    SG

  • Unexpected behavior with the Option "record in the result.

    Hello

    I have unexpected behavior with the Option "record in the result.

    I have a few steps in the subsequence 'X', this subsequence passes a Boolean parameter. According to the value of the parameter I change the "Recorgind results" Option to report it or not. The thing is that if 'result Recorgind' set at race time I modofy by changing the value of Step.ResultRecordingOption to "Enable" and "Disable", the step is not reported until the same sous-suite 'X' is called for the second time (without changing the parameter passed).

    For example: (Preconditon: result Recorgind Option of all value sous-suite x are defined as Disable)

    1 CallSubsequenceX(Parameter: Enable)

    2 CallSubsequenceX(Parameter: Enable)

    3 CallSubsequenceX(Parameter: Disable)

    4 CallSubsequenceX(Parameter: Disable)

    Expected result:

    1. measures have been reported.

    2. measures have been reported.

    3. measures have not been reported.

    4. measures have not been reported.

    Result:

    1. measures would not same value Step.ResultRecordingOption has been changed to 'enable '. (Not Ok)

    2. measures have been reported. (Ok)

    3. measures reported same value Step.ResultRecordingOption has been changed to 'disable '. (Not Ok)

    4. measures have not been reported. (Ok)

    I use TestStand 2013 (5.1.0.226)

    Thanks in advance.

    -Josymar.

    Hi josymar_guzman,

    I just review the sequence and indeed we´re experience unexpected behavior with the Step.ResultRecordingOption callback. By a reason when you run the callback in the expression before each step section, the statement runs only until the next sequence is called, which is not what we want.

    To avoid this, you can place a statement before each step of the sequence, so you can change the State of the Option "record result" for the sequence running (and it is only the following). You can try something like this

    where the expression of the statement will be the recall "RunState.NextStep.ResultRecordingOption is YourCondition". With this, we guarantee that the results of the next step will be saved or not. I also remove the expression in the expression prior to each step section, because the condition is now on the statement before each step.

    I tried and it works fine. I´ll set the sequence that you share with me, with the changes. I hope this will help you and solve your problem.

  • Weird behavior with Signal to simulate and loops

    I'm having a weird behavior with Signal to simulate and while loops. Attached a photo of my program. The problem I have is that when I use Stop to stop inside while loop, then use to restart the inner loop, simulate Signal instantly generates a bunch of points of data between when I pressed Stop and Go. By example, if I stop for 5 seconds, wait 5 seconds, then press Go, it will instantly generate data for t = 5 t = 10. What I need is for the generation of signals to stop when I press stop and continue where it left off when I press Go. How can I accomplish this? I have no idea why he exhibits the behavior described in the first place.

    Hi optometry.

    Can you give us a screenshot of the configuration window for the VI express to simulate signal? I was able to reproduce the problem when I used "Simulate the time of acquisition" at times, but the VI's are featured as you described you wanted when I used "run as fast as possible." Have you tried this setting?

  • Strange behavior with Scan function

    Hi, I see some weird behaviors with the scan function.  Here's a code (for Interactive execution) window which illustrates what I'm struggling with:

    #include 
    static double value;//    1234567890123456static char buffer[20] = "-  24.612 g    ?";
    static int scanneditems;
    static unsigned char sign, stable;
    static char unit[6];
    
    scanneditems = Scan(buffer, "%s>%c[u]%f%c[d]%s[w5y]%c[u]", &sign, &value, unit, &stable);
    

    The buffer I'm scanning has five parts.  The first character is a sign, the next 8 characters is a floating point number, then there is a space that just throw, then five characters is a string that describes the unit, and the last character is a question mark if the reading is unstable or a space otherwise.  The problem is with the last character.  When I run the above code, the value of the variable 'stable' is 32 (space), when I expect a 63 (question mark).  The other points seem to parse correctly, including the double value and the 'unit' char array that contains [g] [space] [space] [space] [space], which is exactly what I expect that it contains.

    It seems I'm missing something obvious, probably something to do with the way that the scan function manages the spaces, but I just can't understand what it is.  Thank you.

    I'm not sure about how Scan treats spaces, but if you check NumFmtdBytes () after the scan you see 12, which means that it has scanned only the 'g' (fill the rest of 'unit' with spaces according to the modifier there) and read the character immediately following the stability.

    This line correctly reads the entire string and returns bytes 16 analyses by the function, which is what is expected.

    scanneditems = Scan (buffer, "%s > %c [u] %f %c [d] %s [-w5t] [u] %c", & sign, & value, unit, & stable);

  • How can I download Adobe Creative Suite on a different computer with my current license?

    How can I download Adobe Creative Suite on a different computer with my current license?

    Download and Installation Help-

    https://helpx.Adobe.com/download-install.html

    CS3 - http://helpx.adobe.com/creative-suite/kb/cs3-product-downloads.html

    CS4 - http://helpx.adobe.com/creative-suite/kb/cs4-product-downloads.html

    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html

    CS5.5 - http://helpx.adobe.com/creative-suite/kb/cs5-5-product-downloads.html

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    CS3 and CS4: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html

    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

    CS5.5: http://prodesigntools.com/adobe-cs5-5-direct-download-links.html

    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • Wanted to buy three licenses of creative cloud for three different users with a single credit card. [was: HELP!]

    Hi, I wanted to buy three licenses of creative cloud for three different users with a single credit card. I am connected to my computer three times and the buyer licenses three. Now, I found that all licenses are associated with MY ACCOUNT! Is this normal?

    Orders are not yet completely resolved, and once this is done, you can directly contact billing support team.

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

    https://helpx.Adobe.com/contact.html?step=ZNA_account-payment-orders_stillNeedHelp

    Concerning

    Rajsahree

Maybe you are looking for

  • Mackintosh HD is full, how do I free up space

    I have a macbook pro (retina, 13 inch, mid-2014) and the HD is full - the majority is full with 'other' (what it means) and then movies is the next largest... can I delete movies to free up space and how to do this and also why movies are taking plac

  • Blocked payment options

    Hello Whenever I log on the site it says that the payment options are blocked. I can't call landlines or mobile phones. I contacted Skype customer service and they had me send a verification form. I completed this form 4 times already and each time t

  • HP dv6 - bcm20702a0 bluetooth

    Hi, I have a big problem. I have reinstaled windows and I can't install the bluetooth driver. In Device Manager I have yellow exclamation point: another device-> bcm20702a0. I downloaded the new drivers for my laptop but when I started the installati

  • HP envy 17: administrator password of bios for hp envy 17

    Hello, please remove password bios administrator hp envy 17 with full of expired game system code 42991626 thank you

  • The use of the graphics processor

    Hi there, I hope you can help with this problem: during display table for the use of the cpu and the bottom shows it red when he goes on his use of 20%. What it means?