7
|
1 <?xml version="1.0" encoding="utf-8"?>
|
|
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:composite="http://java.sun.com/jsf/composite">
|
|
9
|
|
10 <composite:interface>
|
|
11 <composite:attribute name="entityForm" required="true" />
|
|
12 </composite:interface>
|
|
13
|
|
14 <composite:implementation>
|
|
15
|
|
16 <h:panelGrid columns="3" styleClass="createPanel" columnClasses="createPanelFirstColumn"
|
|
17 id="refArea">
|
|
18
|
|
19 <h:panelGrid columns="1">
|
|
20 <h:outputText value="EndNote" />
|
|
21 <h:outputText value="References" />
|
|
22 </h:panelGrid>
|
|
23
|
|
24 <h:panelGrid columns="1">
|
|
25
|
|
26 <h:panelGrid columns="1">
|
|
27
|
|
28 <rich:dataTable
|
|
29 rendered="#{!empty cc.attrs.entityForm.endNoteRefTable.list}"
|
|
30 value="#{cc.attrs.entityForm.endNoteRefTable.list}"
|
|
31 var="item">
|
|
32
|
|
33 <rich:column>
|
|
34 <f:facet name="header">
|
|
35 <h:outputText value="ISMI Id" />
|
|
36 </f:facet>
|
|
37 <h:outputText value="#{item.obj.ent.id}" />
|
|
38 </rich:column>
|
|
39
|
|
40 <rich:column>
|
|
41 <f:facet name="header">
|
|
42 <h:outputText value="EndNote Id" />
|
|
43 </f:facet>
|
|
44 <h:outputText value="#{item.obj.endNoteId}" />
|
|
45 </rich:column>
|
|
46
|
|
47 <rich:column>
|
|
48 <f:facet name="header">
|
|
49 <h:outputText value="ESciDoc Id" />
|
|
50 </f:facet>
|
|
51 <h:outputText value="#{item.obj.escidocId}" />
|
|
52 </rich:column>
|
|
53
|
|
54 <rich:column>
|
|
55 <f:facet name="header">
|
|
56 <h:outputText value="Additional Information" />
|
|
57 </f:facet>
|
|
58 <h:outputText value="#{item.obj.addInformation}" />
|
|
59 </rich:column>
|
|
60
|
|
61 <rich:column>
|
|
62 <f:facet name="header">
|
|
63 <h:outputText value="Edit" />
|
|
64 </f:facet>
|
|
65 <a4j:commandLink
|
|
66 action="#{cc.attrs.entityForm.endNoteRefTable.actionEditRef}">
|
|
67 <h:graphicImage url="#{ApplicationBean1.editImage}" />
|
|
68 <a4j:ajax event="click" render="refArea" />
|
|
69 </a4j:commandLink>
|
|
70 </rich:column>
|
|
71 <rich:column>
|
|
72 <h:selectBooleanCheckbox value="#{item.selected}"/>
|
|
73 </rich:column>
|
|
74 </rich:dataTable>
|
|
75
|
|
76 <h:panelGrid columns="2">
|
|
77 <h:commandButton value="Remove" title="Remove references"
|
|
78 image="#{ApplicationBean1.imgRemove16}"
|
|
79 action="#{cc.attrs.entityForm.endNoteRefTable.actionRemoveRef}"
|
|
80 rendered="#{cc.attrs.entityForm.endNoteRefTable.hasReferences}"
|
|
81 onclick="#{ApplicationBean1.JSConfirmationDelete}"
|
|
82 style="margin-right: 20px;" />
|
|
83
|
|
84 <h:commandButton value="New" title="New reference"
|
|
85 image="#{ApplicationBean1.imgNew16}"
|
|
86 action="#{cc.attrs.entityForm.endNoteRefTable.actionCreateRef}"
|
|
87 style="margin-right: 20px;" />
|
|
88 </h:panelGrid>
|
|
89
|
|
90 </h:panelGrid>
|
|
91
|
|
92 </h:panelGrid>
|
|
93
|
|
94 <h:panelGroup rendered="#{!empty cc.attrs.entityForm.endNoteRefTable.ref}">
|
|
95 <div style="z-index: 100;" class="rf-pp-shade">
|
|
96 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
|
|
97 </div>
|
|
98
|
|
99 <h:panelGrid columns="1" class="rf-pp-cntr"
|
|
100 style="height: 100px; left: 100px; position: fixed; top: 50px; z-index: 100; width: 500px; ">
|
|
101
|
|
102 <div class="rf-pp-shdw"
|
|
103 style="opacity: 0.1; height: 100px; left: 5px; top: 5px; bottom: -5px;">
|
|
104 </div>
|
|
105 <div class="rf-pp-hdr " style="cursor: default;">
|
|
106 <div class="rf-pp-hdr-cnt">EndNote Reference</div>
|
|
107 </div>
|
|
108
|
|
109 <h:panelGrid columns="1" class="rf-pp-cnt-scrlr">
|
|
110 <h:panelGrid columns="1" class="rf-pp-cnt">
|
|
111
|
|
112 <h:panelGrid columns="2">
|
|
113 <h:outputLabel value="EndNote Id" />
|
|
114 <h:inputText value="#{cc.attrs.entityForm.endNoteRefTable.ref.endNoteId}" />
|
|
115
|
|
116 <h:outputLabel value="ESciDoc Id" />
|
|
117 <h:inputText value="#{cc.attrs.entityForm.endNoteRefTable.ref.escidocId}" />
|
|
118
|
|
119 <h:outputLabel value="EndNote Content" />
|
|
120 <h:inputTextarea
|
|
121 value="#{cc.attrs.entityForm.endNoteRefTable.ref.endNoteContent}"
|
|
122 rows="10" cols="50" />
|
|
123
|
|
124 <h:outputLabel value="Additional Information" />
|
|
125 <h:inputTextarea
|
|
126 value="#{cc.attrs.entityForm.endNoteRefTable.ref.addInformation}"
|
|
127 rows="3" cols="50" />
|
|
128
|
|
129 <h:outputText />
|
|
130 <h:panelGrid columns="2">
|
|
131
|
|
132 <a4j:commandButton value="Save"
|
|
133 actionListener="#{cc.attrs.entityForm.endNoteRefTable.actionListenerSave}"
|
|
134 onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}">
|
|
135 <a4j:ajax event="click" render="refArea" />
|
|
136 </a4j:commandButton>
|
|
137
|
|
138 <a4j:commandButton value="Cancel"
|
|
139 actionListener="#{cc.attrs.entityForm.endNoteRefTable.listenerCancel}">
|
|
140 <a4j:ajax event="click" render="refArea" />
|
|
141 </a4j:commandButton>
|
|
142
|
|
143 </h:panelGrid>
|
|
144 </h:panelGrid>
|
|
145
|
|
146 </h:panelGrid>
|
|
147 </h:panelGrid>
|
|
148 </h:panelGrid>
|
|
149 </h:panelGroup>
|
|
150
|
|
151
|
|
152 </h:panelGrid>
|
|
153
|
|
154 </composite:implementation>
|
|
155 </html> |