Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 906635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:25:11+00:00 2026-05-15T16:25:11+00:00

So essentially this project builds a portal of testing results from various test types.

  • 0

So essentially this project builds a portal of testing results from various test types. The fetching and display of results is fine; however, the resulting tables are not being displayed in the correct order. The order they’re displayed in is random, but it’s clearly specified the order in which the RPC calls are dispatched and I even implemented an indexing system in my panel to further assist.

Basically, the application consists of three horizontal panels contained within a verticalpanel.

further explanation: new, mid, and old refer to three versions of the software product being tested. A TestTable is just a custom FlexTable, and each of the xxxPanels are HorizontalPanels. The indices are all initialized at zero outside of the onModuleLoad() method. Each panel has its own service tasked with dispatching RPC calls to populate the corresponding panel.

public void onSuccess(List<TestResult> result) {

TestTable testTable1 = new TestTable(result);

if(result.get(0).getVrmf().equals(newestVersion)){
 newPanels.insert(testTable1, newIndex + 1); //insert adds element BEFORE specified index, so +1
 newPanels.addStyleName("horizontalPanelStyle");
 newIndex++;
}

if(result.get(0).getVrmf().equals(middleVersion)){
 midPanels.insert(testTable1, midIndex + 1); //insert adds element BEFORE specified index, so +1
 midPanels.addStyleName("horizontalPanelStyle");
 midIndex++;
}

if(result.get(0).getVrmf().equals(oldVersion)){
 oldPanels.insert(testTable1, oldIndex + 1); //insert adds element BEFORE specified index, so +1
 oldPanels.addStyleName("horizontalPanelStyle");
 oldIndex++;
}

}

};

and here is how my calls are dispatched:
if(testPortalSvcNew != null){
testPortalSvcNew.getTestResults(5, newestVersion, TestType.SMOKE, callback);
testPortalSvcNew.getTestResults(5, newestVersion, TestType.BVTUNIX, callback);
testPortalSvcNew.getTestResults(5, newestVersion, TestType.BVTWINDOWS, callback);
}

Every refresh generates a potentially different horizontal display order of test types. Versions are grouped properly and separated vertically, but their horizontal ordering is screwy. I’m stumped!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:25:11+00:00Added an answer on May 15, 2026 at 4:25 pm

    So you’re expecting the tests to come back in the order SMOKE, BVTUNIX then BVTWINDOWS?

    If so, you’re going to need to chain async calls or group them into one ajax call that returns all of them at once. Asynchronous calls are just that. There’s no guarantee of return order.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have a DOM document that looks essentially like this <categories> <category id=1/>
I have a schema that essentially looks like this: CREATE TABLE `data` ( `id`
I'm writing a cache-eject method that essentially looks like this: while ( myHashSet.Count >
Evening, I've no training in Databases, and I'm a bit lost. Essentially I've this
This questions involves 2 different implementations of essentially the same code. First, using delegate
Essentially, is there any way to make this code legal? main = print .
So I essentially need to do this: String text = line1\n; text += line2\n;
This question has been bugging me for a long time now but essentially I'm
Essentially, I am just creating two classes where one class, in this case class
First i was wondering if this is a good idea, essentially i have user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.