• Post Reply Bookmark Topic Watch Topic
  • New Topic

NoDataLable getting called before loading the list in value.  RSS feed

gayathiry Arulanantham
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I'm newbie to both JSF and AJAX.
In my application i want to prompt data using rich:extendedDataTable. There i have set noDataLable = "No records found"
and i need to display this if there are no records in the list. But now i'm getting this message first even if the list have data and then it's loading the data. I want to set other initial message like "loading data..". I couldn't find a way to do this.
Could any help on this.

This is the code piece
<rich:extendedDataTable height="200px;" width="100%" enableContextMenu="false"
selectionMode="single" selection="#{policeOfficerPromptBean.selectionArea}" styleClass="mid_tablemain"
value="#{policeOfficerPromptBean.policeOfficerList}" var="officerObj" columnClasses="promptCol20, promptCol80"
id="dataTables" binding="#{policeOfficerPromptBean.tableArea}" noDataLabel="#{bundle.app_no_record_found}">

Thanks in advance..

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!