comparison src/main/webapp/events/transferEvent.xhtml @ 213:38c13c8e9b78

change transfer event from witness to codex.
author casties
date Tue, 03 Dec 2019 19:08:31 +0100
parents 07e4eae9027f
children
comparison
equal deleted inserted replaced
212:310f512f66af 213:38c13c8e9b78
20 <h:outputText value="#{Session.transferEventForm.event.id}" /> 20 <h:outputText value="#{Session.transferEventForm.event.id}" />
21 21
22 <h:outputLabel value="Own value" /> 22 <h:outputLabel value="Own value" />
23 <h:outputLabel value="#{Session.transferEventForm.event.ownValue}" /> 23 <h:outputLabel value="#{Session.transferEventForm.event.ownValue}" />
24 24
25 <h:outputLabel value="Text"/> 25 <h:outputText value="Codex" styleClass="titlePanel"/>
26 <h:panelGrid columns="1"> 26 <h:panelGrid columns="4" styleClass="createPanel"
27 <ismi:autocomplete lo="#{Session.transferEventForm.textLo}" /> 27 columnClasses="createPanelFirstColumn" id="digiCodexPanel">
28 28
29 <a4j:outputPanel ajaxRendered="true"> 29 <h:outputLabel value="Country" />
30 <h:selectOneMenu 30 <ismi:autocomplete lo="#{Session.transferEventForm.codexEditor.countryLo}" />
31 rendered="#{Session.transferEventForm.textLo.statusImage.ok}" 31 <h:outputText />
32 value="#{Session.transferEventForm.witnessId}" 32 <h:panelGrid>
33 valueChangeListener="#{Session.transferEventForm.listenerChangeWitness}"> 33 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}"
34 <f:selectItems value="#{Session.transferEventForm.witnessList}" /> 34 rendered="#{!empty Session.transferEventForm.codexEditor.countryLo.entity.id}"
35 <a4j:ajax event="change" render="selectedWitness1" /> 35 actionListener="#{Session.transferEventForm.codexEditor.editThisCountryAction}" />
36 </h:selectOneMenu> 36 </h:panelGrid>
37 37
38 <h:panelGrid id="selectedWitness1" style="width: 500px;" columns="1" 38 <h:outputLabel value="Place/City" />
39 rendered="#{Session.transferEventForm.witness != null}"> 39 <ismi:autocomplete lo="#{Session.transferEventForm.codexEditor.cityLo}" />
40 <h:outputLabel value="Witness:" /> 40 <h:panelGrid>
41 <h:outputLabel 41 <h:selectOneMenu
42 value="#{Session.transferEventForm.witness.ownValue} [ID=#{Session.transferEventForm.witness.id}]" /> 42 rendered="#{!empty Session.transferEventForm.codexEditor.citiesInCurrentCountry}"
43 </h:panelGrid> 43 valueChangeListener="#{Session.transferEventForm.codexEditor.inCurrentCountryListener}">
44 <h:outputLabel rendered="#{Session.transferEventForm.witness != null}" /> 44 <f:selectItems value="#{Session.transferEventForm.codexEditor.citiesInCurrentCountry}" />
45 </a4j:outputPanel> 45 <a4j:ajax event="change" render="digiCodexPanel" />
46 46 </h:selectOneMenu>
47 </h:panelGrid> 47 </h:panelGrid>
48 <h:panelGrid>
49 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}"
50 rendered="#{!empty Session.transferEventForm.codexEditor.cityLo.entity.id}"
51 actionListener="#{Session.transferEventForm.codexEditor.editThisCityAction}" />
52 </h:panelGrid>
53
54
55 <h:outputLabel value="Repository" />
56 <ismi:autocomplete lo="#{Session.transferEventForm.codexEditor.repositoryLo}" />
57 <h:panelGrid>
58 <h:selectOneMenu partialSubmit="true"
59 rendered="#{!empty Session.transferEventForm.codexEditor.repositoriesInCurrentCity}"
60 valueChangeListener="#{Session.transferEventForm.codexEditor.inCurrentCityListener}">
61 <f:selectItems value="#{Session.transferEventForm.codexEditor.repositoriesInCurrentCity}" />
62 <a4j:ajax event="change" render="digiCodexPanel" />
63 </h:selectOneMenu>
64 <h:outputText
65 rendered="#{empty Session.transferEventForm.codexEditor.repositoriesInCurrentCity}" />
66 </h:panelGrid>
67 <h:panelGrid>
68 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}"
69 rendered="#{!empty Session.transferEventForm.codexEditor.repositoryLo.entity.id}"
70 actionListener="#{Session.transferEventForm.codexEditor.editThisRepositoryAction}" />
71 </h:panelGrid>
72
73
74 <h:outputLabel value="Collection" />
75 <ismi:autocomplete lo="#{Session.transferEventForm.codexEditor.collectionLo}" />
76 <h:panelGrid>
77 <h:selectOneMenu
78 rendered="#{!empty Session.transferEventForm.codexEditor.collectionsInCurrentRepository}"
79 valueChangeListener="#{Session.transferEventForm.codexEditor.inCurrentRepositoryListener}">
80 <f:selectItems
81 value="#{Session.transferEventForm.codexEditor.collectionsInCurrentRepository}" />
82 <a4j:ajax event="change" render="digiCodexPanel" />
83 </h:selectOneMenu>
84 </h:panelGrid>
85 <h:panelGrid>
86 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}"
87 rendered="#{!empty Session.transferEventForm.codexEditor.collectionLo.entity.id}"
88 actionListener="#{Session.transferEventForm.codexEditor.editThisCollectionAction}" />
89 </h:panelGrid>
90
91 <h:outputLabel value="Shelf Mark / Identifier" />
92 <h:panelGroup>
93 <h:outputText
94 rendered="#{!empty Session.transferEventForm.codexEditor.codexLo.attribute.ownValue}"
95 value="#{Session.transferEventForm.codexEditor.codexLo.term}"
96 style="font-style:normal;
97 font-size:15px;
98 font-weight:bold;
99 font-family:sans-serif;" />
100 </h:panelGroup>
101 <h:panelGrid>
102 <h:selectOneMenu
103 rendered="#{!empty Session.transferEventForm.codexEditor.shelfMarksInCurrentCollection}"
104 valueChangeListener="#{Session.transferEventForm.codexEditor.identifierChangedListener}">
105 <f:selectItems
106 value="#{Session.transferEventForm.codexEditor.shelfMarksInCurrentCollection}" />
107 <a4j:ajax event="change" render="digiCodexPanel" />
108 </h:selectOneMenu>
109 </h:panelGrid>
110 <h:panelGrid>
111 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}"
112 rendered="#{!empty Session.transferEventForm.codexEditor.codexLo.entity.ownValue}"
113 actionListener="#{Session.transferEventForm.codexEditor.editThisCodexAction}" />
114 </h:panelGrid>
115
116
117 <h:outputText />
118 <h:commandButton
119 actionListener="#{Session.transferEventForm.codexEditor.checkConsistencyFromCountryToCodex}"
120 value="Check Consistency From Country To Codex" />
121 <h:outputText />
122 <h:outputText />
123
124 <h:outputText />
125 <h:commandButton
126 actionListener="#{Session.transferEventForm.codexEditor.unsetCodex}"
127 value="Remove Codex" />
128 <h:outputText />
129 <h:outputText />
130
131 </h:panelGrid>
48 132
49 133
50 <h:outputLabel value="From"/> 134 <h:outputLabel value="From"/>
51 <h:panelGrid> 135 <h:panelGrid>
52 <h:outputLabel value="Person from whom transfer was made"/> 136 <h:outputLabel value="Person from whom transfer was made"/>