[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Add anchor of each image in datatable

argonist do-not-reply at jboss.com
Fri Aug 24 03:37:42 EDT 2007


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




More information about the jboss-user mailing list