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 8444877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:30:44+00:00 2026-06-10T09:30:44+00:00

In my application im loading my data table with default values which placed in

  • 0

In my application im loading my data table with default values which placed in first page(After Logged in).while loading data,data table prompts ‘No Record Found’ which is confusing to the user.how do i hide that while loading in progress ?

enter image description here

  • 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-10T09:30:45+00:00Added an answer on June 10, 2026 at 9:30 am

    I know it’s a bit obvious, but as you display default values anyway, you could set emptyMessage="" in your <p:dataTable>.

    However, if you need an emptyMessage to be displayed later (e.g. when user-specific data is to be loaded), you could “disable” it upon first load using something like this:

    emptyMessage="#{dataBean.firstLoad ? '' : 'No records found.'}"
    

    where firstLoad would be a method in your backing bean which returns true when the user has just logged in (e.g. default values are to be loaded), and false when not, which would mean that user-specific data should be loaded and the <p:dataTable> could actually be empty.

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

Sidebar

Related Questions

I am developing an iPhone application in which I am loading lots of data
I'm loading data from a MySQL database into a C# .NET application. The data
Currently I am loading data from a previous session into my application using the
In my application, I'm loading some data from a file. This can fail and
Summary of the issue: When I am loading some data into my iPhone application
All, We are having problems with data loading in our application. The purpose of
I'm writing an application on qooxdoo. I have a class, which should return table
I have an application which is used for data analysis and I'm having a
I have a tableview in a tab bar application. I am loading the data
I am working on an application in which data is displaying from back end

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.