0 Replies Latest reply on Aug 24, 2007 3:37 AM by Manu Osten

    Add anchor of each image in datatable

    Manu Osten Apprentice

      Hello,

      how can I add an anchor of each image in datatable? So I can link to an image on gallery.

       <t:dataTable id="gallery" newspaperColumns="3"
       value="#{interpreterDataImageHandler.normalizedImageList}"
       newspaperOrientation="horizontal" var="imageList"
       styleClass="galleryTable" forceIdIndexFormula="#{imageList.id}"
       forceIdIndex="true" forceId="true">
       <h:column>
       <h:panelGrid columns="1" columnClasses="column2"
       styleClass="galleryRow">
       <t:graphicImage
       value="/images/#{imageList.filename}" />
       <t:outputText
       value="ID des Bildes: #{imageList.id}" />
       <t:outputText
       value="Größe: #{imageList.imageHeight}x#{imageList.imageWidth}" />
       <t:outputText value="Datum der Upload: #{imageList.uploadDate}" />
       <t:outputText value="#{imageList.comment}" /> <t:commandButton
       styleClass="button1"
       action="#{interpreterDataImageHandler.deleteImage}"
       value="Bild löschen " />
       </h:panelGrid>
       </h:column>
       </t:dataTable>