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

  • SEARCH
  • Home
  • 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 9283883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:44:38+00:00 2026-06-18T18:44:38+00:00

I initialize UI, adding all the elements to a VerticalPanel and at the end

  • 0

I initialize UI, adding all the elements to a VerticalPanel and at the end of initialization I check whether user password is expiring or not. If it is expiring I show a DialogBox with warning.

One of the element of this page is a TabPanel with a DataGrid and all the data is taken from server asynchronously. So the problem is that when Password Expiration dialog box appears it is behind DataGrid rows. When I inspect elements in Chrome I see that there’re PopupGlassPanel -> DialogBox -> Table (with content). But the picture should be: Table (with content) -> PopupGlassPanel -> DialogBox.

But I cannot do anything with async calls to the server for retrieving data. Is it possible to control such things in order all data is retrieved from server and only after it my Dialo Box is shown?

Initialization method looks like:

public void initUI() {
    final VerticalPanel mainPanel = new VerticalPanel();

    Panel outer = new VerticalPanel();
    DataHolder dataHolder = new DataHolder(); //this class contains DataGrid and makes async calls to server for data
    outer.add(dataHolder.getContent());
    tabPanel.add(outer, "Important Data", true);

    mainPanel.add(tabPanel);

    checkPasswordExpiration(getPwdExpiring());

    RootPanel.get().add(mainPanel);
}

//...........

private void checkPasswordExpiration(int days) {
//...
//Show dialog box
//...
}
  • 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-06-18T18:44:40+00:00Added an answer on June 18, 2026 at 6:44 pm

    You need to call checkPasswordExpiration() after the async call returns. To do this you should get the async callback (onSuccess()) to fire an event for which you have a handler that will call checkPasswordExpiration(getPwdExpiring()); You can use EventBus to fire the event in and to add a handler.

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

Sidebar

Related Questions

To initialize an int array with all zeros, do I need to use: int
I initialize the tweet button at the beginning of my app, after user interaction
I'm trying to initialize a Datatable with a default search value that the user
// Initialize the object, before adding data to it. var NewPerson = new Object();
and here is the inner exception at the end : Could not load file
adding more info on @serialhobbyist's request hi all. we're (= me and my colleagues)
All I am doing is adding a new servlet to the web.xml like so:
Where is Python's sys.path initialized from? UPD : Python is adding some paths before
//initialize the people data list - (void)initializePeopleListFromJson:(CLLocationCoordinate2D)coordinate auraId:(NSString *)auraId { //initialize the NSMutableArray list
When initialize an entity framework context. One is to initialize at class level, such

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.