annotate src/main/webapp/entry/text.xhtml @ 210:0aa8975784d9

add deprecation notes to interface.
author casties
date Mon, 02 Sep 2019 13:14:08 +0200
parents 62d5276ed785
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
jurzua
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
jurzua
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml"
jurzua
parents:
diff changeset
3 xmlns:h="http://java.sun.com/jsf/html"
jurzua
parents:
diff changeset
4 xmlns:f="http://java.sun.com/jsf/core"
jurzua
parents:
diff changeset
5 xmlns:ui="http://java.sun.com/jsf/facelets"
jurzua
parents:
diff changeset
6 xmlns:a4j="http://richfaces.org/a4j"
jurzua
parents:
diff changeset
7 xmlns:rich="http://richfaces.org/rich"
jurzua
parents:
diff changeset
8 xmlns:ismi="http://java.sun.com/jsf/composite/components/ismi">
jurzua
parents:
diff changeset
9
jurzua
parents:
diff changeset
10 <body>
jurzua
parents:
diff changeset
11 <ui:composition>
jurzua
parents:
diff changeset
12
jurzua
parents:
diff changeset
13 <ui:include src="components/textPopups.xhtml" />
jurzua
parents:
diff changeset
14
jurzua
parents:
diff changeset
15 <h:panelGroup>
jurzua
parents:
diff changeset
16
jurzua
parents:
diff changeset
17 <h:panelGrid columns="2">
jurzua
parents:
diff changeset
18 <h:outputLink value="#{CurrentText.displayUrl}"
jurzua
parents:
diff changeset
19 title="Display this entity"
jurzua
parents:
diff changeset
20 rendered="#{!empty CurrentText.displayUrl}">
jurzua
parents:
diff changeset
21 <h:graphicImage url="#{ApplicationBean1.displayImage}" />
jurzua
parents:
diff changeset
22 </h:outputLink>
jurzua
parents:
diff changeset
23 <h:outputText value="Text - #{CurrentText.entity.ownValue}"
jurzua
parents:
diff changeset
24 rendered="#{!empty CurrentText.entity.ownValue}"
jurzua
parents:
diff changeset
25 styleClass="titlePanel"/>
jurzua
parents:
diff changeset
26 <h:outputText value="Text"
jurzua
parents:
diff changeset
27 rendered="#{empty CurrentText.entity.ownValue}"
jurzua
parents:
diff changeset
28 styleClass="titlePanel"/>
jurzua
parents:
diff changeset
29 </h:panelGrid>
jurzua
parents:
diff changeset
30 </h:panelGroup>
jurzua
parents:
diff changeset
31
jurzua
parents:
diff changeset
32
jurzua
parents:
diff changeset
33 <h:panelGrid columns="3" styleClass="createPanel" columnClasses="createPanelFirstColumn">
jurzua
parents:
diff changeset
34
jurzua
parents:
diff changeset
35 <h:outputText value="Full Title (arabic)" />
144
6911b522c6e2 118: Problem with Arabic Table of Contents display for TITLE
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 143
diff changeset
36 <h:inputText size="100" style="direction:rtl;"
7
jurzua
parents:
diff changeset
37 value="#{CurrentText.attributes['full_title']}" />
jurzua
parents:
diff changeset
38 <h:outputText />
jurzua
parents:
diff changeset
39
jurzua
parents:
diff changeset
40 <h:outputText value="Full Title (translit)" id="full_title_translit" />
jurzua
parents:
diff changeset
41
jurzua
parents:
diff changeset
42 <h:panelGrid columns="1">
jurzua
parents:
diff changeset
43 <h:inputText size="100"
jurzua
parents:
diff changeset
44 data-attName="full_title_translit"
jurzua
parents:
diff changeset
45 value="#{CurrentText.attributes['full_title_translit']}">
jurzua
parents:
diff changeset
46 <a4j:ajax event="keyup" render="romanized_title" listener="#{CurrentText.listenerRomanizeTitleTranslit}" />
jurzua
parents:
diff changeset
47 </h:inputText>
jurzua
parents:
diff changeset
48 <h:outputText id="romanized_title" value="Romanization: #{CurrentText.romanizedTitle}" />
jurzua
parents:
diff changeset
49 </h:panelGrid>
jurzua
parents:
diff changeset
50
jurzua
parents:
diff changeset
51 <h:commandButton value="translit"
jurzua
parents:
diff changeset
52 action="#{CurrentText.translitTitleAction}" />
jurzua
parents:
diff changeset
53
210
0aa8975784d9 add deprecation notes to interface.
casties
parents: 145
diff changeset
54 <h:outputText value="Prime Alias (deprecated)"/>
7
jurzua
parents:
diff changeset
55 <h:panelGrid columns="1">
jurzua
parents:
diff changeset
56 <h:inputText
jurzua
parents:
diff changeset
57 size="100" value="#{CurrentText.valueShortTitle}">
jurzua
parents:
diff changeset
58 <a4j:ajax event="keyup" render="romanized_prime_alias" listener="#{CurrentText.listenerRomanizePrimaAlias}" />
jurzua
parents:
diff changeset
59 </h:inputText>
jurzua
parents:
diff changeset
60 <h:outputText id="romanized_prime_alias" value="Romanization: #{CurrentText.romanizedPrimaAlias}" />
jurzua
parents:
diff changeset
61 </h:panelGrid>
jurzua
parents:
diff changeset
62 <h:outputText />
jurzua
parents:
diff changeset
63
143
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
64 <h:outputText value="Aliases for Title" />
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
65 <h:panelGrid columns="1" border="1">
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
66 <h:panelGrid columns="2">
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
67 <h:dataTable value="#{CurrentText.aliasList.entities}" var="item">
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
68 <h:column>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
69 <h:outputText value="#{item.ownValue}" />
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
70 </h:column>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
71 <h:column>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
72 <h:selectBooleanCheckbox
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
73 value="#{CurrentText.aliasList.selections[item.id]}" />
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
74 </h:column>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
75 </h:dataTable>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
76 <h:commandButton value="Remove Selection"
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
77 actionListener="#{CurrentText.aliasList.listenerRemoveSelection}" />
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
78 </h:panelGrid>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
79
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
80 <h:panelGrid columns="2">
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
81 <h:inputText value="#{CurrentText.aliasList.input}"
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
82 style="width:500px;" />
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
83 <h:commandButton value="CREATE"
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
84 actionListener="#{CurrentText.aliasList.listenerCreate}" />
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
85 </h:panelGrid>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
86 </h:panelGrid>
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
87 <h:outputText />
1c09041f1182 110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 139
diff changeset
88
7
jurzua
parents:
diff changeset
89 <h:outputText value="Language" />
jurzua
parents:
diff changeset
90 <h:selectOneMenu partialSubmit="true"
jurzua
parents:
diff changeset
91 value="#{CurrentText.attributes['language']}">
jurzua
parents:
diff changeset
92 <f:selectItems value="#{ApplicationBean1.suggestedLanguages}" />
jurzua
parents:
diff changeset
93 </h:selectOneMenu>
jurzua
parents:
diff changeset
94 <h:outputText />
jurzua
parents:
diff changeset
95
jurzua
parents:
diff changeset
96 <h:outputText value="Subject" />
jurzua
parents:
diff changeset
97 <h:selectOneMenu partialSubmit="true"
jurzua
parents:
diff changeset
98 value="#{CurrentText.idSubject}">
jurzua
parents:
diff changeset
99 <f:selectItems value="#{ApplicationBean1.suggestedSubjects}" />
jurzua
parents:
diff changeset
100 </h:selectOneMenu>
jurzua
parents:
diff changeset
101 <h:outputText />
jurzua
parents:
diff changeset
102
jurzua
parents:
diff changeset
103
jurzua
parents:
diff changeset
104 <h:outputText value="Created by" />
jurzua
parents:
diff changeset
105 <a4j:outputPanel id="createByPanel">
jurzua
parents:
diff changeset
106 <ismi:autocomplete lo="#{CurrentText.authorLo}" />
jurzua
parents:
diff changeset
107 </a4j:outputPanel>
jurzua
parents:
diff changeset
108 <h:commandButton value="Show all authors"
jurzua
parents:
diff changeset
109 actionListener="#{CurrentText.listenerShowAllAuthors}">
jurzua
parents:
diff changeset
110 </h:commandButton>
jurzua
parents:
diff changeset
111
210
0aa8975784d9 add deprecation notes to interface.
casties
parents: 145
diff changeset
112 <h:outputText value="Misattributions" />
7
jurzua
parents:
diff changeset
113 <ui:include src="components/misattribution.xhtml" />
jurzua
parents:
diff changeset
114 <h:outputText />
jurzua
parents:
diff changeset
115
jurzua
parents:
diff changeset
116
jurzua
parents:
diff changeset
117 <h:outputText value="Created in" />
jurzua
parents:
diff changeset
118 <ismi:autocomplete lo="#{CurrentText.placeLo}" />
jurzua
parents:
diff changeset
119 <h:outputText />
jurzua
parents:
diff changeset
120
jurzua
parents:
diff changeset
121 <h:outputText value="Incipit" />
jurzua
parents:
diff changeset
122 <h:inputTextarea cols="65" rows="10" dir="RTL"
jurzua
parents:
diff changeset
123 value="#{CurrentText.attributes['incipit']}" />
jurzua
parents:
diff changeset
124 <h:outputText />
jurzua
parents:
diff changeset
125 <h:outputText value="Explicit" />
jurzua
parents:
diff changeset
126 <h:inputTextarea cols="65" rows="10" dir="RTL"
jurzua
parents:
diff changeset
127 value="#{CurrentText.attributes['explicit']}" />
jurzua
parents:
diff changeset
128 <h:outputText />
jurzua
parents:
diff changeset
129 <h:outputText value="Dedication" />
jurzua
parents:
diff changeset
130 <h:inputTextarea cols="65" rows="10" dir="RTL"
jurzua
parents:
diff changeset
131 value="#{CurrentText.attributes['dedication']}" />
jurzua
parents:
diff changeset
132 <h:outputText />
jurzua
parents:
diff changeset
133
jurzua
parents:
diff changeset
134 <h:outputText value="Dedicated to" />
jurzua
parents:
diff changeset
135 <a4j:outputPanel id="dedicatedToPanel">
jurzua
parents:
diff changeset
136 <ismi:autocomplete lo="#{CurrentText.dedicatedPersonLo}" />
jurzua
parents:
diff changeset
137 </a4j:outputPanel>
jurzua
parents:
diff changeset
138
jurzua
parents:
diff changeset
139 <h:commandButton value="Show all persons"
jurzua
parents:
diff changeset
140 actionListener="#{CurrentText.listenerShowAllDedicatedToPersons}" />
jurzua
parents:
diff changeset
141
jurzua
parents:
diff changeset
142 <h:outputText value="Creation Date" />
jurzua
parents:
diff changeset
143 <ismi:date date="#{CurrentText.creationDate}" />
jurzua
parents:
diff changeset
144 <h:outputText />
jurzua
parents:
diff changeset
145
jurzua
parents:
diff changeset
146 <h:outputText value="Text Type" />
jurzua
parents:
diff changeset
147 <h:selectOneMenu partialSubmit="true"
jurzua
parents:
diff changeset
148 value="#{CurrentText.attributes['text_type']}">
145
62d5276ed785 move suggestedTextTypes to CurrentTextBean and read types from definition.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 144
diff changeset
149 <f:selectItems value="#{CurrentText.suggestedTextTypes}" />
7
jurzua
parents:
diff changeset
150 </h:selectOneMenu>
jurzua
parents:
diff changeset
151 <h:outputText />
jurzua
parents:
diff changeset
152
jurzua
parents:
diff changeset
153 <h:outputText value="Text arrangement" />
jurzua
parents:
diff changeset
154 <h:inputTextarea cols="65" rows="10"
jurzua
parents:
diff changeset
155 value="#{CurrentText.attributes['text_arrangement']}" />
jurzua
parents:
diff changeset
156 <h:outputText />
jurzua
parents:
diff changeset
157
jurzua
parents:
diff changeset
158 <h:outputText value="Table of Contents" />
76
45b921e683d6 79: table of contents in TEXT entry form
casties
parents: 9
diff changeset
159 <rich:editor
144
6911b522c6e2 118: Problem with Arabic Table of Contents display for TITLE
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 143
diff changeset
160 value="#{CurrentText.attributes['table_of_contents']}"
6911b522c6e2 118: Problem with Arabic Table of Contents display for TITLE
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 143
diff changeset
161 style="direction:rtl;" />
76
45b921e683d6 79: table of contents in TEXT entry form
casties
parents: 9
diff changeset
162 <!-- <h:inputTextarea cols="65" rows="10"
7
jurzua
parents:
diff changeset
163 value="#{CurrentText.attributes['table_of_contents']}"
jurzua
parents:
diff changeset
164 style="direction: rtl;" />
76
45b921e683d6 79: table of contents in TEXT entry form
casties
parents: 9
diff changeset
165 <h:outputText /> -->
7
jurzua
parents:
diff changeset
166
jurzua
parents:
diff changeset
167 <h:outputText value="Notes" />
jurzua
parents:
diff changeset
168 <h:inputTextarea cols="65" rows="10"
jurzua
parents:
diff changeset
169 value="#{CurrentText.attributes['notes']}" />
jurzua
parents:
diff changeset
170 <h:outputText />
9
jurzua
parents: 7
diff changeset
171
jurzua
parents: 7
diff changeset
172 <h:outputText value="Notes (old)" />
jurzua
parents: 7
diff changeset
173 <h:inputTextarea cols="65" rows="10"
jurzua
parents: 7
diff changeset
174 value="#{CurrentText.attributes['notes_old']}" />
jurzua
parents: 7
diff changeset
175 <h:outputText />
7
jurzua
parents:
diff changeset
176
jurzua
parents:
diff changeset
177 <h:outputText value="Commentary on" />
jurzua
parents:
diff changeset
178 <ismi:autocomplete lo="#{CurrentText.commentaryLo}" />
jurzua
parents:
diff changeset
179 <h:outputText/>
jurzua
parents:
diff changeset
180
jurzua
parents:
diff changeset
181 <h:outputText value="Translation of" />
jurzua
parents:
diff changeset
182 <ismi:autocomplete lo="#{CurrentText.translationLo}" />
jurzua
parents:
diff changeset
183 <h:outputText/>
jurzua
parents:
diff changeset
184
jurzua
parents:
diff changeset
185 <h:outputText value="Version of" />
jurzua
parents:
diff changeset
186 <ismi:autocomplete lo="#{CurrentText.versionLo}" />
jurzua
parents:
diff changeset
187 <h:outputText/>
jurzua
parents:
diff changeset
188
jurzua
parents:
diff changeset
189 <h:outputText value="Aliases for Explicit" />
jurzua
parents:
diff changeset
190 <h:panelGrid columns="1" border="1">
jurzua
parents:
diff changeset
191 <h:panelGrid columns="2">
jurzua
parents:
diff changeset
192 <h:dataTable value="#{CurrentText.explicitAliasList.entities}"
jurzua
parents:
diff changeset
193 var="item">
jurzua
parents:
diff changeset
194 <h:column>
jurzua
parents:
diff changeset
195 <h:outputText value="#{item.ownValue}" />
jurzua
parents:
diff changeset
196 </h:column>
jurzua
parents:
diff changeset
197 <h:column>
jurzua
parents:
diff changeset
198 <h:selectBooleanCheckbox
jurzua
parents:
diff changeset
199 value="#{CurrentText.explicitAliasList.selections[item.id]}" />
jurzua
parents:
diff changeset
200 </h:column>
jurzua
parents:
diff changeset
201 </h:dataTable>
jurzua
parents:
diff changeset
202 <h:commandButton value="Remove Selection"
jurzua
parents:
diff changeset
203 actionListener="#{CurrentText.explicitAliasList.listenerRemoveSelection}" />
jurzua
parents:
diff changeset
204 </h:panelGrid>
jurzua
parents:
diff changeset
205
jurzua
parents:
diff changeset
206 <h:panelGrid columns="2">
jurzua
parents:
diff changeset
207 <h:inputText value="#{CurrentText.explicitAliasList.input}"
jurzua
parents:
diff changeset
208 style="direction: rtl;width:500px;" />
jurzua
parents:
diff changeset
209 <h:commandButton value="CREATE"
jurzua
parents:
diff changeset
210 actionListener="#{CurrentText.explicitAliasList.listenerCreate}" />
jurzua
parents:
diff changeset
211 </h:panelGrid>
jurzua
parents:
diff changeset
212 </h:panelGrid>
jurzua
parents:
diff changeset
213 <h:outputText />
jurzua
parents:
diff changeset
214
jurzua
parents:
diff changeset
215 <h:outputText value="Aliases for Incipit" />
jurzua
parents:
diff changeset
216 <h:panelGrid columns="1" border="1">
jurzua
parents:
diff changeset
217 <h:panelGrid columns="2">
jurzua
parents:
diff changeset
218 <h:dataTable value="#{CurrentText.incipitAliasList.entities}"
jurzua
parents:
diff changeset
219 var="item">
jurzua
parents:
diff changeset
220 <h:column>
jurzua
parents:
diff changeset
221 <h:outputText value="#{item.ownValue}" />
jurzua
parents:
diff changeset
222 </h:column>
jurzua
parents:
diff changeset
223 <h:column>
jurzua
parents:
diff changeset
224 <h:selectBooleanCheckbox
jurzua
parents:
diff changeset
225 value="#{CurrentText.incipitAliasList.selections[item.id]}" />
jurzua
parents:
diff changeset
226 </h:column>
jurzua
parents:
diff changeset
227 </h:dataTable>
jurzua
parents:
diff changeset
228 <h:commandButton value="Remove Selection"
jurzua
parents:
diff changeset
229 actionListener="#{CurrentText.incipitAliasList.listenerRemoveSelection}" />
jurzua
parents:
diff changeset
230 </h:panelGrid>
jurzua
parents:
diff changeset
231
jurzua
parents:
diff changeset
232 <h:panelGrid columns="2">
jurzua
parents:
diff changeset
233 <h:inputText value="#{CurrentText.incipitAliasList.input}"
jurzua
parents:
diff changeset
234 style="direction: rtl;width:500px;" />
jurzua
parents:
diff changeset
235 <h:commandButton value="CREATE"
jurzua
parents:
diff changeset
236 actionListener="#{CurrentText.incipitAliasList.listenerCreate}" />
jurzua
parents:
diff changeset
237 </h:panelGrid>
jurzua
parents:
diff changeset
238 </h:panelGrid>
jurzua
parents:
diff changeset
239 <h:outputText />
jurzua
parents:
diff changeset
240 </h:panelGrid>
jurzua
parents:
diff changeset
241
jurzua
parents:
diff changeset
242 <ismi:refWidget entityForm="#{CurrentText}" />
jurzua
parents:
diff changeset
243
jurzua
parents:
diff changeset
244 <h:panelGrid columns="4">
jurzua
parents:
diff changeset
245 <h:outputText value="ID of the Text" />
jurzua
parents:
diff changeset
246 <h:inputText value="#{CurrentText.currentId}" />
jurzua
parents:
diff changeset
247 <h:commandButton value="Load Text By ID"
jurzua
parents:
diff changeset
248 action="#{CurrentText.actionReloadEntity}"
jurzua
parents:
diff changeset
249 onclick="confirm('Do you really want to reload the entity?');" />
jurzua
parents:
diff changeset
250 <h:outputText value="#{CurrentText.currentIdMsg}" style="color:red" />
jurzua
parents:
diff changeset
251 </h:panelGrid>
jurzua
parents:
diff changeset
252
139
9cd25e1a58f0 change save button to a4j to show busy indicator for person, text, and other entry forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 120
diff changeset
253 <a4j:commandButton value="#{CurrentText.saveButtonLabel}"
7
jurzua
parents:
diff changeset
254 rendered="#{CurrentText.renderSaveButton}"
jurzua
parents:
diff changeset
255 action="#{CurrentText.save}"
jurzua
parents:
diff changeset
256 onclick="#{ApplicationBean1.JSConfirmationSave}" />
jurzua
parents:
diff changeset
257 <h:commandButton value="Clear Form"
jurzua
parents:
diff changeset
258 action="#{CurrentText.clearAction}"
jurzua
parents:
diff changeset
259 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" />
jurzua
parents:
diff changeset
260
jurzua
parents:
diff changeset
261 <h:outputText rendered="#{CurrentText.create_error}"
jurzua
parents:
diff changeset
262 value="City already exists - not saved!" />
jurzua
parents:
diff changeset
263
jurzua
parents:
diff changeset
264
jurzua
parents:
diff changeset
265 </ui:composition>
jurzua
parents:
diff changeset
266 </body>
jurzua
parents:
diff changeset
267 </html>