title: Iterate over nested List property inside h:datatable
body: <pre><code>    &lt;h:dataTable value="#{SearchingBeans.list}" var="entry"&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  &lt;h:outputLabel&gt;Photo&lt;/h:outputLabel&gt;
              &lt;/f:facet&gt;
          &lt;/h:column&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  &lt;h:outputLabel&gt;Pseudo&lt;/h:outputLabel&gt;
              &lt;/f:facet&gt;
              &lt;h:outputLabel value="#{entry.pseudo}"&gt;&lt;/h:outputLabel&gt;
          &lt;/h:column&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  &lt;h:outputLabel&gt;Description&lt;/h:outputLabel&gt;
              &lt;/f:facet&gt;
              &lt;h:outputLabel value="#{entry.description}"&gt;&lt;/h:outputLabel&gt;
          &lt;/h:column&gt;
          &lt;h:column&gt;
              &lt;f:facet name="header"&gt;
                  &lt;h:outputLabel&gt;Photo&lt;/h:outputLabel&gt;
              &lt;/f:facet&gt;
              &lt;h:outputLabel value="#{entry.photo[0].path}"&gt;&lt;/h:outputLabel&gt; &lt;-- this a List
          &lt;/h:column&gt;
      &lt;/h:dataTable&gt;
  </code></pre>
  
  <p>i got a entities member one of his property is a List photo  with get/set
  that property is populate 
  i don't know how to fetch that value in jsf i want only the first picture  for each member since their have 2-3 photos. Its that possible?? any other solution will be appreciate.</p>