I got a h:dataTable and i want to create a dynamic image for each column. It seems p:graphicImage does not work with it, can anyone confirm.
Maybe anyone has an idea for a workaround, if this is not possible
Code looks:
Code: Select all
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui"
...
<h:dataTable value="#{bookListBean.books}" var="books">
<h:column>
<h:commandLink action="#{detailBean.forward}">
<p:graphicImage value="#{books.book.dbImage}" />
</h:commandLink>
</h:column>
...
Thank you.
Ps. Without h:dataTable it works fine.