1 Reply Latest reply on Aug 1, 2012 7:51 PM by Brian Lavender

    How do I view an image in a rich:dataTable?

    Brian Lavender Newbie

      How is it I can make a thumbnail in the view table if I upload an image?

      http://www.seamframework.org/Documentation/HowToUploadAndDownloadFilesInSeam

       

      I tried using the following in the rich:dataTable for attachmentList.xhtml , but it did not work.

       

      <rich:column>

          <f:facet name="header">Thumbnail</f:facet>

          <s:graphicImage value="#{downloadAttachment.download}">

              <f:param name="attachmentId" value="${attachment.id}" />

              <s:transformImageSize height="100" maintainRatio="true"/>

          </s:graphicImage>

      </rich:column>