Mercurial > hg > ismi-richfaces
diff src/main/webapp/entry/components/misidentification.xhtml @ 121:6f0e9a333c15
misidentification of witness mostly works now.
author | casties |
---|---|
date | Mon, 09 Jan 2017 20:37:29 +0100 |
parents | 71638720fe2f |
children |
line wrap: on
line diff
--- a/src/main/webapp/entry/components/misidentification.xhtml Fri Jan 06 20:41:35 2017 +0100 +++ b/src/main/webapp/entry/components/misidentification.xhtml Mon Jan 09 20:37:29 2017 +0100 @@ -23,7 +23,7 @@ style="opacity: 0.1; width: 500px; height: 350px; left: 5px; top: 5px; bottom: -5px;"> </div> <div class="rf-pp-hdr " style="cursor: default;"> - <div class="rf-pp-hdr-cnt">EndNote Reference</div> + <div class="rf-pp-hdr-cnt">Misidentification</div> </div> <h:panelGrid columns="1" class="rf-pp-cnt-scrlr" @@ -33,11 +33,23 @@ <h:panelGrid columns="1"> <h:panelGrid columns="2"> - <h:outputLabel value="EndNote Id" /> + <h:outputText value="Author" /> + <h:outputText + value="[#{CurrentWitness.misidentTable.misident.person.id}] #{CurrentWitness.misidentTable.misident.person.ownValue}" /> + + <h:outputText value="Title" /> + <h:inputText size="80" + value="#{CurrentWitness.misidentTable.misident.title}" /> + + <h:outputText value="Title translit" /> + <h:inputText size="80" + value="#{CurrentWitness.misidentTable.misident.title_translit}" /> + + <h:outputLabel value="Reference Id" /> <h:inputText size="80" value="#{CurrentWitness.misidentTable.misident.ref.endNoteId}" /> - <h:outputLabel value="EndNote Content" /> + <h:outputLabel value="Full Reference" /> <h:inputTextarea value="#{CurrentWitness.misidentTable.misident.ref.endNoteContent}" rows="10" cols="80" /> @@ -73,7 +85,7 @@ <h:outputText value="Title" /> </f:facet> <h:outputText - value="#{item.obj.person.ownValue}" /> + value="#{item.obj.title}" /> </rich:column> <rich:column> @@ -81,7 +93,7 @@ <h:outputText value="Title (translit)" /> </f:facet> <h:outputText - value="#{item.obj.person.ownValue}" /> + value="#{item.obj.title_translit}" /> </rich:column> <rich:column> @@ -128,9 +140,10 @@ render="misidentArea"/> </h:panelGrid> - <h:panelGrid columns="2"> + <h:panelGrid columns="3"> + <h:outputText value="Author"/> <ismi:autocomplete lo="#{CurrentWitness.misidentTable.lo}" /> - <a4j:commandButton value="Add" + <a4j:commandButton value="Add misidentification" actionListener="#{CurrentWitness.misidentTable.listenerCreate}" render="misidentArea"/> </h:panelGrid>