7
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2 <html xmlns="http://www.w3.org/1999/xhtml"
|
|
3 xmlns:h="http://java.sun.com/jsf/html"
|
|
4 xmlns:f="http://java.sun.com/jsf/core"
|
|
5 xmlns:ui="http://java.sun.com/jsf/facelets"
|
|
6 xmlns:a4j="http://richfaces.org/a4j"
|
|
7 xmlns:rich="http://richfaces.org/rich"
|
|
8 xmlns:ismi="http://java.sun.com/jsf/composite/components/ismi">
|
|
9 <body>
|
|
10 <ui:composition>
|
|
11
|
|
12 <h:panelGrid id="misattArea">
|
|
13
|
|
14
|
|
15
|
|
16 <h:panelGroup rendered="#{CurrentText.misattTable.misatt != null}">
|
|
17 <div style="z-index: 100;" class="rf-pp-shade">
|
|
18 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
|
|
19 </div>
|
|
20
|
|
21 <h:panelGrid columns="1" class="rf-pp-cntr"
|
|
22 style="height: 350px; left: 470px; position: fixed; top: 219px; width: 500px; z-index: 100;">
|
|
23
|
|
24 <div class="rf-pp-shdw"
|
|
25 style="opacity: 0.1; width: 500px; height: 350px; left: 5px; top: 5px; bottom: -5px;">
|
|
26 </div>
|
|
27 <div class="rf-pp-hdr " style="cursor: default;">
|
|
28 <div class="rf-pp-hdr-cnt">EndNote Reference</div>
|
|
29 </div>
|
|
30
|
|
31 <h:panelGrid columns="1" class="rf-pp-cnt-scrlr"
|
|
32 style="width: 500px; height: 329px;">
|
|
33 <h:panelGrid columns="1" class="rf-pp-cnt">
|
|
34
|
|
35 <h:panelGrid columns="1">
|
|
36 <h:panelGrid columns="2">
|
|
37
|
|
38 <h:outputLabel value="EndNote Id" />
|
136
|
39 <h:inputText size="80"
|
7
|
40 value="#{CurrentText.misattTable.misatt.ref.endNoteId}" />
|
|
41
|
|
42 <h:outputLabel value="EndNote Content" />
|
|
43 <h:inputTextarea
|
|
44 value="#{CurrentText.misattTable.misatt.ref.endNoteContent}"
|
136
|
45 rows="10" cols="80" />
|
7
|
46
|
|
47 <h:outputLabel value="Additional Information" />
|
|
48 <h:inputTextarea
|
|
49 value="#{CurrentText.misattTable.misatt.ref.addInformation}"
|
136
|
50 rows="3" cols="80" />
|
7
|
51
|
|
52 </h:panelGrid>
|
|
53 <a4j:commandButton value="OK"
|
|
54 actionListener="#{CurrentText.misattTable.listenerSaveRef}"
|
|
55 render="misattArea"/>
|
|
56 </h:panelGrid>
|
|
57
|
|
58 </h:panelGrid>
|
|
59 </h:panelGrid>
|
|
60 </h:panelGrid>
|
|
61
|
|
62 </h:panelGroup>
|
|
63
|
|
64
|
|
65
|
|
66
|
|
67 <h:panelGrid border="0" columns="1">
|
|
68 <h:panelGrid columns="1"
|
|
69 rendered="#{!empty CurrentText.misattTable.list}">
|
|
70
|
|
71 <rich:dataTable value="#{CurrentText.misattTable.list}" var="item">
|
|
72
|
|
73 <rich:column>
|
|
74 <f:facet name="header">
|
|
75 <h:outputText value="Author" />
|
|
76 </f:facet>
|
|
77 <h:outputText
|
|
78 value="[#{item.obj.person.id}] #{item.obj.person.ownValue}" />
|
|
79 </rich:column>
|
|
80
|
|
81 <rich:column>
|
|
82 <f:facet name="header">
|
|
83 <h:outputText value="Ref EndNote" />
|
|
84 </f:facet>
|
|
85 <h:outputText value="#{item.obj.ref.endNoteId}" />
|
|
86 </rich:column>
|
|
87
|
|
88 <rich:column>
|
|
89 <f:facet name="header">
|
|
90 <h:outputText value="Note" />
|
|
91 </f:facet>
|
|
92 <h:outputText value="#{item.obj.ref.addInformation}" />
|
|
93 </rich:column>
|
|
94
|
|
95 <rich:column>
|
|
96 <f:facet name="header">
|
|
97 <h:outputText value="Edit" />
|
|
98 </f:facet>
|
|
99 <a4j:commandLink
|
|
100 actionListener="#{CurrentText.misattTable.listenerEditRef}">
|
|
101 <h:graphicImage url="#{ApplicationBean1.editImage}" />
|
|
102 <a4j:ajax event="click" render="misattArea" />
|
|
103 </a4j:commandLink>
|
|
104 </rich:column>
|
|
105 <rich:column>
|
|
106 <h:selectBooleanCheckbox value="#{item.selected}" />
|
|
107 </rich:column>
|
|
108 </rich:dataTable>
|
|
109
|
|
110
|
|
111 <a4j:commandButton value="Remove"
|
|
112 actionListener="#{CurrentText.misattTable.listenerRemove}"
|
|
113 onclick="#{ApplicationBean1.JSConfirmationDelete}"
|
|
114 render="misattArea"/>
|
|
115 </h:panelGrid>
|
|
116
|
|
117 <h:panelGrid columns="2">
|
|
118 <ismi:autocomplete lo="#{CurrentText.misattTable.lo}" />
|
|
119 <a4j:commandButton value="Add"
|
|
120 actionListener="#{CurrentText.misattTable.listenerCreate}"
|
|
121 render="misattArea"/>
|
|
122 </h:panelGrid>
|
|
123 </h:panelGrid>
|
|
124
|
|
125 </h:panelGrid>
|
|
126
|
|
127 </ui:composition>
|
|
128 </body>
|
|
129 </html>
|