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="Additional Information" />
|
|
50 </f:facet>
|
|
51 <h:outputText value="#{item.obj.addInformation}" />
|
|
52 </rich:column>
|
|
53
|
|
54 <rich:column>
|
|
55 <f:facet name="header">
|
|
56 <h:outputText value="Edit" />
|
|
57 </f:facet>
|
|
58 <a4j:commandLink
|
|
59 action="#{cc.attrs.entityForm.endNoteRefTable.actionEditRef}">
|
|
60 <h:graphicImage url="#{ApplicationBean1.editImage}" />
|
|
61 <a4j:ajax event="click" render="refArea" />
|
|
62 </a4j:commandLink>
|
|
63 </rich:column>
|
|
64 <rich:column>
|
|
65 <h:selectBooleanCheckbox value="#{item.selected}"/>
|
|
66 </rich:column>
|
|
67 </rich:dataTable>
|
|
68
|
|
69 <h:panelGrid columns="2">
|
|
70 <h:commandButton value="Remove" title="Remove references"
|
|
71 image="#{ApplicationBean1.imgRemove16}"
|
|
72 action="#{cc.attrs.entityForm.endNoteRefTable.actionRemoveRef}"
|
|
73 rendered="#{cc.attrs.entityForm.endNoteRefTable.hasReferences}"
|
|
74 onclick="#{ApplicationBean1.JSConfirmationDelete}"
|
|
75 style="margin-right: 20px;" />
|
|
76
|
|
77 <h:commandButton value="New" title="New reference"
|
|
78 image="#{ApplicationBean1.imgNew16}"
|
|
79 action="#{cc.attrs.entityForm.endNoteRefTable.actionCreateRef}"
|
|
80 style="margin-right: 20px;" />
|
|
81 </h:panelGrid>
|
|
82
|
|
83 </h:panelGrid>
|
|
84
|
|
85 </h:panelGrid>
|
|
86
|
|
87 <h:panelGroup rendered="#{!empty cc.attrs.entityForm.endNoteRefTable.ref}">
|
|
88 <div style="z-index: 100;" class="rf-pp-shade">
|
|
89 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
|
|
90 </div>
|
|
91
|
|
92 <h:panelGrid columns="1" class="rf-pp-cntr"
|
|
93 style="height: 100px; left: 100px; position: fixed; top: 50px; z-index: 100; width: 500px; ">
|
|
94
|
|
95 <div class="rf-pp-shdw"
|
|
96 style="opacity: 0.1; height: 100px; left: 5px; top: 5px; bottom: -5px;">
|
|
97 </div>
|
|
98 <div class="rf-pp-hdr " style="cursor: default;">
|
|
99 <div class="rf-pp-hdr-cnt">EndNote Reference</div>
|
|
100 </div>
|
|
101
|
|
102 <h:panelGrid columns="1" class="rf-pp-cnt-scrlr">
|
|
103 <h:panelGrid columns="1" class="rf-pp-cnt">
|
|
104
|
|
105 <h:panelGrid columns="2">
|
|
106 <h:outputLabel value="EndNote Id" />
|
|
107 <h:inputText value="#{cc.attrs.entityForm.endNoteRefTable.ref.endNoteId}" />
|
|
108
|
|
109 <h:outputLabel value="EndNote Content" />
|
|
110 <h:inputTextarea
|
|
111 value="#{cc.attrs.entityForm.endNoteRefTable.ref.endNoteContent}"
|
|
112 rows="10" cols="50" />
|
|
113
|
|
114 <h:outputLabel value="Additional Information" />
|
|
115 <h:inputTextarea
|
|
116 value="#{cc.attrs.entityForm.endNoteRefTable.ref.addInformation}"
|
|
117 rows="3" cols="50" />
|
|
118
|
|
119 <h:outputText />
|
|
120 <h:panelGrid columns="2">
|
|
121
|
|
122 <a4j:commandButton value="Save"
|
|
123 actionListener="#{cc.attrs.entityForm.endNoteRefTable.actionListenerSave}"
|
|
124 onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}">
|
|
125 <a4j:ajax event="click" render="refArea" />
|
|
126 </a4j:commandButton>
|
|
127
|
|
128 <a4j:commandButton value="Cancel"
|
|
129 actionListener="#{cc.attrs.entityForm.endNoteRefTable.listenerCancel}">
|
|
130 <a4j:ajax event="click" render="refArea" />
|
|
131 </a4j:commandButton>
|
|
132
|
|
133 </h:panelGrid>
|
|
134 </h:panelGrid>
|
|
135
|
|
136 </h:panelGrid>
|
|
137 </h:panelGrid>
|
|
138 </h:panelGrid>
|
|
139 </h:panelGroup>
|
|
140
|
|
141
|
|
142 </h:panelGrid>
|
|
143
|
|
144 </composite:implementation>
|
|
145 </html> |