I have two List<String>
and I'd like to put them in one <rich:datatable>
, each List<String>
should be a column
on the <rich:datatable>
. I'm trying to do that using <a4j:repeat>
, but when I execute the program, only the headers of the <rich:datatable>
appear, no content is shown on the <rich:datatable>
.
Look at the code:
<rich:dataTable>
<rich:column>
<f:facet name="header">URI</f:facet>
<a4j:repeat value="#{pesquisaBean.documentUriByTitleList}" var="uri">
#{uri}
</a4j:repeat>
</rich:column>
<rich:column>
<f:facet name="header">Subject</f:facet>
<a4j:repeat value="#{pesquisaBean.subjectByTitleList}" var="sub">
#{sub}
</a4j:repeat>
</rich:column>
</rich:dataTable>
What's the problem?
Thank you!