title: Primefaces datatable combine data in only one row
body: <p>I am using tomcat8 and primefaces 5.1 and I have the following code:</p>
  
  <pre><code>&lt;p:dataTable var="price" value="#{HOTEL.hotel}"&gt;
  
  &lt;p:column headerText="Тип стая"&gt;
  &lt;h:outputText value="Единична" /&gt;
  &lt;h:outputText value="Двойна" /&gt;
  &lt;h:outputText value="Апартамент" /&gt;
  &lt;h:outputText value="Студио" /&gt;
  &lt;/p:column&gt;
  
  &lt;p:column headerText="Брой"&gt;
  &lt;h:outputText value="#{HOTEL.hotel.room_1}" /&gt;
  &lt;h:outputText value="#{HOTEL.hotel.room_2}" /&gt;
  &lt;h:outputText value="#{HOTEL.hotel.apartment}" /&gt;
  &lt;h:outputText value="#{HOTEL.hotel.studio}" /&gt;
  &lt;/p:column&gt;
  
  &lt;p:column headerText="Цена"&gt;
  &lt;h:outputText value="#{HOTEL.hotel.room_1_price}" /&gt;
  &lt;h:outputText value="#{HOTEL.hotel.room_2_price}" /&gt;
  &lt;h:outputText value="#{HOTEL.hotel.apartment_price}" /&gt;
  &lt;h:outputText value="#{HOTEL.hotel.studio_price}" /&gt;
  &lt;/p:column&gt;
  
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>When using the code above I get only table with one row and all data in one row not different row for each outputText as I thought it would be. I want 4 rows and the approprate data in them. I want the first column to be as it is with the hardocoded values and then for each of them the corresponding values from the DB.</p>