Skip to Content
avatar image
Former Member

Update order and viewing order donu2019t match

In my flash application i have a combination of three list boxes L1, L2, L3 and a URL-Button UB. The lists shown by L2 depends on the result of L1 and L3 depends on L2 and the data of L2 und L3 come by QAWS. The Button UB has a URL with Parameters from L2 and L3.

The QAWS refreshes after changes L1. For performance reasons, the data for L2 and L3 ist provided by one web service.

The order on the screen is

L1

L2

L3

UB

as a user expects it: First one chooses L1, then L2 (depending on L1), then L3 and then he gets the result by clicking UB. Because of this structure, in the object browser the order of the elements has to UB, L3, L2, L1 so that L1 obens in front of L2 etc.

But with this, the following problem arises: The calculation order for the elements is also first UB, then L3, L2, L1. If the data is updated by the web service, first the URL is updated, then L3 is updated (selecting a new value which seems to be chosen, but because the URL already was calculated doesnu2019t show up in the URL), then L2 is updated (selecting a new value for L3 but has in that moment no effect on L3).

So the result is, the values, which seem to be chosen arenu2019t chosen and clicking on UB gives an error.

Is there a possibility to change the calculation order for the elements or is there a work around for this problem?

BO XI R2

Xcelsius 4.5

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 04, 2008 at 11:16 PM

    Hi Martin,

    It sounds as if you have L2 and L3 creating a concatenated, compound string with which the Url Button creates an http url. It also sounds like the URL Button triggers when the Web Service sends data.

    I'd recommend separating the UB trigger logic by a step, so that it does not trigger until you're sure the user has made selections in L2 and L3. A simple workaround is to have a "Go" checkbox, so that the URL button does not trigger until the user clicks (after making selections in L2 and L3).

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Martin,

      I'm doing some light testing against the scenario and am not able to reproduce.

      Can you give some more details?

      It sounds like...

      +The QaaWS uses L1's data insert to select a data subset from the QaaWS universe.

      +QaaWS outputs data subset to range.

      +L2 has Source Data bound to QaaWS subset range.

      +L3 has Source Data bound to QaaWS subset range. (or is this wrong? Does L3 depend on L2 for its Source Data?)

      +What formula is in the cell UB is bound to?

      My UB is filling correctly no matter where it is in the Object Browser. I used a simple concatenation formula of =A2&A3.