title: Displaying data using JSF dataTable
body: <p>I want to display data using the <code>h:dataTable</code> tags in JSF
  The data I am displaying has to be in a format like this:</p>
  
  <pre><code>Name:   XXXX
  ID:  8989
  Age:    32
  </code></pre>
  
  <p>I have seen several examples on the web that tell you how to display the
  data like this:</p>
  
  <p>Name   ID    Age
      XXX   8989  32</p>
  
  <p>Since the <code>dataTable</code> tag only has a sub tag <code>h:column</code> and NO <code>h:row</code> I am having
  issues with this. Is there a better way to do this? I have implemented the first
  format I mentioned using <code>h:datable</code> and <code>h:column</code>, so first I just write out all the column headers in column 1 and then I write out all the values in column2. The issue I am facing is that when one of the values is blank the next value gets printed in its place and the data appears wrong, this is really a formatting issue. When data is blank it should leave space for it and then print the next value in the next row.
  Hope I am making sense, any thoughts will be much appreciated.</p>
  
  <hr>
  
  <p>I tried adding the below :</p>
  
  <pre><code>&lt;h6&gt;&lt;h:outputText value="#{empty imeiInfo.userEmail ? '&amp;#160;' : imeiInfo.userEmail}"&gt;&lt;/h:outputText&gt;&lt;/h6&gt;&lt;br/&gt;
  </code></pre>
  
  <p>But there is a syntax error in this which I cannot figure out, the message I get is:</p>
  
  <blockquote>
    <p>Syntax error in EL</p>
  </blockquote>
  
  <p>Any ideas? Thanks.</p>