Mercurial > hg > ismi-richfaces
diff src/main/webapp/entry/text.xhtml @ 143:1c09041f1182
110: The title-as-written-on-manuscript in the witness form does not save
Task-Url: https://it-dev.mpiwg-berlin.mpg.de/tracs/ismi/ticket/110
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 23 Jun 2017 20:40:18 +0200 |
parents | 9cd25e1a58f0 |
children | 6911b522c6e2 |
line wrap: on
line diff
--- a/src/main/webapp/entry/text.xhtml Fri Jun 16 20:16:30 2017 +0200 +++ b/src/main/webapp/entry/text.xhtml Fri Jun 23 20:40:18 2017 +0200 @@ -61,6 +61,31 @@ </h:panelGrid> <h:outputText /> + <h:outputText value="Aliases for Title" /> + <h:panelGrid columns="1" border="1"> + <h:panelGrid columns="2"> + <h:dataTable value="#{CurrentText.aliasList.entities}" var="item"> + <h:column> + <h:outputText value="#{item.ownValue}" /> + </h:column> + <h:column> + <h:selectBooleanCheckbox + value="#{CurrentText.aliasList.selections[item.id]}" /> + </h:column> + </h:dataTable> + <h:commandButton value="Remove Selection" + actionListener="#{CurrentText.aliasList.listenerRemoveSelection}" /> + </h:panelGrid> + + <h:panelGrid columns="2"> + <h:inputText value="#{CurrentText.aliasList.input}" + style="width:500px;" /> + <h:commandButton value="CREATE" + actionListener="#{CurrentText.aliasList.listenerCreate}" /> + </h:panelGrid> + </h:panelGrid> + <h:outputText /> + <h:outputText value="Language" /> <h:selectOneMenu partialSubmit="true" value="#{CurrentText.attributes['language']}"> @@ -161,31 +186,6 @@ <ismi:autocomplete lo="#{CurrentText.versionLo}" /> <h:outputText/> - <h:outputText value="Aliases for Title" /> - <h:panelGrid columns="1" border="1"> - <h:panelGrid columns="2"> - <h:dataTable value="#{CurrentText.aliasList.entities}" var="item"> - <h:column> - <h:outputText value="#{item.ownValue}" /> - </h:column> - <h:column> - <h:selectBooleanCheckbox - value="#{CurrentText.aliasList.selections[item.id]}" /> - </h:column> - </h:dataTable> - <h:commandButton value="Remove Selection" - actionListener="#{CurrentText.aliasList.listenerRemoveSelection}" /> - </h:panelGrid> - - <h:panelGrid columns="2"> - <h:inputText value="#{CurrentText.aliasList.input}" - style="width:500px;" /> - <h:commandButton value="CREATE" - actionListener="#{CurrentText.aliasList.listenerCreate}" /> - </h:panelGrid> - </h:panelGrid> - <h:outputText /> - <h:outputText value="Aliases for Explicit" /> <h:panelGrid columns="1" border="1"> <h:panelGrid columns="2">