Loading a set of images with primefaces
Posted
by RhigoHR
on Stack Overflow
See other posts from Stack Overflow
or by RhigoHR
Published on 2010-05-25T14:54:52Z
Indexed on
2010/05/25
15:11 UTC
Read the original article
Hit count: 417
Hi people! I have the next code to load a set of images whose streams are in a datamodel called names. My problem is when I declare the var inside the p:datatable tag seems like has nothing. Any idea? thx!
<p:dataTable value="#{controlador.names}" var="nombre" rendered="true">
<p:column rendered="true">
<h:outputText value="#{nombre.stream}"/>
<p:graphicImage value="#{nombre.stream}"/>
</p:column>
</p:dataTable>
© Stack Overflow or respective owner