title: PrimeFaces filling dataTable with List<Object> inside another List<Object>
body: <p><strong>UPDATE:</strong></p>
  
  <p>I found that the issue with the dataGrid not looping through a list inside a list was an issue on the XML code side. Now the dataGrid is reading the List and looping through it creating panels based on the name. The issue now seems to be accessing certain properties in this List.</p>
  
  <pre><code>&lt;p:dataGrid value="#{objList.objList2}" var="objList2" columns="1"&gt;  
      &lt;p:panel id="obj2" header="#{objList2.name}" toggleable="true" collapsed="false"&gt; 
                  &lt;h:panelGrid columns="2" style="width: 100%" columnClasses="scenario-viewer-leftcolumn,scenario-viewer-rightcolumn"&gt;
                      &lt;h:outputText value="Output Name:"  /&gt;
                      &lt;p:inputText value="#{objList2.objType}" styleClass="textBoxStyle"/&gt;
                      &lt;h:outputText value="Output Bool:"  /&gt;
                      &lt;p:selectBooleanCheckbox value="#{objList2.boolVar}"/&gt;
                  &lt;/h:panelGrid&gt;
          &lt;/p:panel&gt;
   &lt;/p:dataGrid&gt;
      &lt;/p:panel&gt;
  &lt;/p:dataGrid&gt;
  </code></pre>
  
  <p>When I try to access a variable under objList2 is gives me the error saying The class obj2 does not have a readable property 'objType'. I double checked and it does have this property/variable and it is initialized.</p>
  
  <p>What makes this even more strange is if I use objList2.boolVar in place of objList2.name in the header for each panel, it displays the information fine. This proves that the property exists and is initialized. Why wouldn't this work in inputText?? Any help would be greatly appreciated.</p>
  
  <p><strong>ORIGINAL:</strong></p>
  
  <p>I am working with PrimeFaces and trying to create a xhtml form for my UI. I am trying to dynamically display data from a list into a dataGrid structure. I am able to do this successfully, but I also need to display data from a list inside the first list. </p>
  
  <p>For example:</p>
  
  <p>I have a List under the variable objList which I use for my first dataGrid. I am able to loop through this list and create panels for each object and some other String data per object. </p>
  
  <pre><code> &lt;p:dataGrid value="#{scenarioTree.objList}" var="objList" columns="1"&gt;  
          &lt;p:panel id="obj" header="#{objList.name}" toggleable="true" collapsed="true"&gt; 
              &lt;h:panelGrid columns="2" style="width: 100%" columnClasses="scenario-viewer-leftcolumn,scenario-viewer-rightcolumn"&gt;
              &lt;h:outputText value="text:"  /&gt;
              &lt;p:inputText value="#{objList.variable}" styleClass="textBoxStyle"/&gt;
              &lt;h:outputText value="text2:"  /&gt;
              &lt;p:inputText value="#{objList.variable2}" styleClass="textBoxStyle"/&gt;
          &lt;/h:panelGrid&gt; 
  </code></pre>
  
  <p>Now I want to be able to create a second dataGrid that refers to objList2 which is inside objList1. Doing this though returns No records found in the UI even though there is a bunch of records there.</p>
  
  <pre><code>&lt;p:dataGrid value="#{objList.objList2}" var="objList2" columns="1"&gt;  
      &lt;p:panel id="obj2" header="#{objList2.name}" toggleable="true" collapsed="false"&gt; 
          &lt;/p:panel&gt;
   &lt;/p:dataGrid&gt;
      &lt;/p:panel&gt;
  &lt;/p:dataGrid&gt;
  </code></pre>
  
  <p>Is this a bug with PrimeFaces or am I not able to do this? Or am I doing this wrong? </p>