• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Quickly swapping between tabs causes error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quickly swapping between tabs causes error

    I am using tabs (one tab per record with the key imbedded in the page) but finding that if the user swaps between tabs quickly I get an error. This is caused by the controller being part way through an update of the textfields of the first tab but as it uses getActiveTab() attempting to update the second instead. Is there a technique for avoiding this? Obviously I could mask the viewport for each update but there are many small updates of tab data, often asynchronous.

  • #2
    Hi Edward,

    Hard to say without seeing your applications source/flow. However, maybe you can save off the active tab in a variable right away then reference that variable instead of the get active tab method later in your process.

    Comment

    Working...
    X