0

I have to do a list of images. I use ui:repeat to do this, but it doesn't work and I can't see the images:

<ui:repeat value="#{mybean.album.images}" var="image">  
   <p:graphicImage value="#{image.image}" width="200px" height="180px"/> 
</ui:repeat>  

But if I use this, it work:

<p:graphicImage value="#{mybean.album.images[0].image}" width="200px" height="180px"/> 

I see the first image.
How can i solve it ?

enfix
  • 6,680
  • 12
  • 55
  • 80

0 Answers0