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>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077636#4077636

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077636

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to