title: Primefaces loading data message when open new page
body: <p>My scenario is the following:</p>
  
  <p>I have a jsp page which calls through a function "<strong><code>window.open</code></strong>" an xhtml page that retrieve some data. As the query to <code>DDBB</code> takes a little bit, I would like to add to the xhtml page (which is actually void until data is loaded) some kind of message like "<code>Loading data</code>".</p>
  
  <p>I like how Primefaces <code>blockUI</code> component works for same page when you click on a button but in my case I don't have any... the xhtml page it's just for showing some details from DDBB.</p>
  
  <p>Do you have any idea about how can I do it? I was thinking that Primefaces has for sure some easy way to do it but I cannot find it :-P</p>
  
  <p>Thanks in advance to you all!</p>
  
  <p>All my best,</p>
  
  <p>Carlos</p>