comparison 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
comparison
equal deleted inserted replaced
83:e07e9f5afaa3 84:e2f6ccc4d322
19 19
20 <h:outputText value="Digitalization" 20 <h:outputText value="Digitalization"
21 rendered="#{empty CurrentDigi.entity.ownValue}" 21 rendered="#{empty CurrentDigi.entity.ownValue}"
22 style="font-size: 12pt; " styleClass="titlePanel"/> 22 style="font-size: 12pt; " styleClass="titlePanel"/>
23 <h:outputLink 23 <h:outputLink
24 value="#{ApplicationBean1.root}/imageServer/displayDigi.jsp?digiId=#{CurrentDigi.entity.id}" > 24 value="#{ApplicationBean1.root}/imageServer/displayDigi.jsp?digiId=#{CurrentDigi.entity.id}"
25 title="Display image" >
25 <h:graphicImage value="#{ApplicationBean1.displayImage}" width="20" height="20"/> 26 <h:graphicImage value="#{ApplicationBean1.displayImage}" width="20" height="20"/>
26 </h:outputLink> 27 </h:outputLink>
27 </h:panelGrid> 28 </h:panelGrid>
28 </h:panelGrid> 29 </h:panelGrid>
29 30
135 136
136 137
137 <h:outputText /> 138 <h:outputText />
138 <h:commandButton 139 <h:commandButton
139 actionListener="#{CurrentDigi.checkConsistencyFromCountryToCodex}" 140 actionListener="#{CurrentDigi.checkConsistencyFromCountryToCodex}"
140 value="Check Consistency From Country To Codex" /> 141 value="Check Consistency From Country To Codex" />
141 <h:outputText /> 142 <h:outputText />
142 <h:outputText /> 143 <h:outputText />
143 144
145 <h:outputText />
146 <h:commandButton
147 actionListener="#{CurrentDigi.unsetCodex}"
148 value="Remove Codex" />
149 <h:outputText />
150 <h:outputText />
144 151
145 </h:panelGrid> 152 </h:panelGrid>
146 153
147 154
148 </h:panelGrid> 155 </h:panelGrid>