Hi

 

I have a list property named teams. It contains several team that has several contracts (fetched with an orm tool)

i’d like to view it like this:

 

<x:dataTable var="team" value="#{listpilot.teams}">

  <h:column>

    <h:outputText value="#{team.name}"/>

  </h:column>

  <h:column>

    <x:dataTable var="contract" value="#{team.contracts}">

      <h:column>

        <h:outputText value="#{contract.id}"/>

      </h:column>

    </x:dataTable>

  </h:column>

</x:dataTable>

 

it throws this:

 

javax.servlet.ServletException: _expression_: '#{contract.id}'
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)
        net.sourceforge.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartFilter.java:88)
 
 
what’s wrong with that? Is it not possible to do such kind of inner iteration? Thanks.

 


______________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

Reply via email to