diff src/main/webapp/entry/digi.xhtml @ 84:e2f6ccc4d322

add "remove codex" button to digitalization form.
author casties
date Wed, 28 Sep 2016 10:47:39 +0200
parents bba950221e71
children 1326182855ef
line wrap: on
line diff
--- a/src/main/webapp/entry/digi.xhtml	Mon Sep 26 17:25:43 2016 +0200
+++ b/src/main/webapp/entry/digi.xhtml	Wed Sep 28 10:47:39 2016 +0200
@@ -21,7 +21,8 @@
 					rendered="#{empty CurrentDigi.entity.ownValue}"
 					style="font-size: 12pt; " styleClass="titlePanel"/>
 				<h:outputLink
-					value="#{ApplicationBean1.root}/imageServer/displayDigi.jsp?digiId=#{CurrentDigi.entity.id}" >
+					value="#{ApplicationBean1.root}/imageServer/displayDigi.jsp?digiId=#{CurrentDigi.entity.id}"
+					title="Display image" >
 					<h:graphicImage value="#{ApplicationBean1.displayImage}" width="20" height="20"/>
 				</h:outputLink>
 			</h:panelGrid>
@@ -137,10 +138,16 @@
 				<h:outputText />
 				<h:commandButton
 					actionListener="#{CurrentDigi.checkConsistencyFromCountryToCodex}"
-					value="Check Consistency From Country To Codex" />
+					value="Check Consistency From Country To Codex" />					
 				<h:outputText />
 				<h:outputText />
 				
+                <h:outputText />
+                <h:commandButton
+                    actionListener="#{CurrentDigi.unsetCodex}"
+                    value="Remove Codex" />
+                <h:outputText />
+                <h:outputText />
 				
 			</h:panelGrid>