comparison src/main/webapp/pages/branchPage.jsp @ 95:b27a99201cbe

New feature: new full text search with MySQL ngram parser (5.7.6 above)
author Calvin Yeh <cyeh@mpipw-berlin.mpg.com>
date Mon, 03 Jul 2017 23:48:53 +0200
parents 824b808a7481
children e24e7cfe337e
comparison
equal deleted inserted replaced
94:d0dcbe8254f5 95:b27a99201cbe
7 <jsp:useBean id="sessionBean" class="de.mpiwg.web.jsp.SessionBean" scope="session" /> 7 <jsp:useBean id="sessionBean" class="de.mpiwg.web.jsp.SessionBean" scope="session" />
8 8
9 <html> 9 <html>
10 <head> 10 <head>
11 11
12 <jsp:include page="../componentes/headContent.jsp"/> 12 <jsp:include page="../componentes/headContent.jsp"/>
13 <% 13 <%
14 sessionBean.getBranchPage().loadParameters(request, response); 14 sessionBean.getBranchPage().loadParameters(request, response);
15 if(request.getParameter("branchId") != null){ 15 if(request.getParameter("branchId") != null){
16 sessionBean.getBranchPage().loadBranch(request.getParameter("branchId")); 16 sessionBean.getBranchPage().loadBranch(request.getParameter("branchId"));
17 } 17 }
18 %> 18 %>
19 <script> 19 <script>
20 $(function() { 20 $(function() {
21 21
22 $( "#dialogDataverse" ).dialog({ 22 $( "#dialogDataverse" ).dialog({
23 autoOpen: false, 23 autoOpen: false,
24 modal: true, 24 modal: true,
25 width: 600, 25 width: 600,
26 position: { my: "center", at: "top", of: window }, 26 position: { my: "center", at: "top", of: window },
27 hide: { 27 hide: {
28 effect: "explode", 28 effect: "explode",
29 duration: 1000 29 duration: 1000
30 } 30 }
31 }); 31 });
32 32
33 $( ".get-studies" ).click(function() { 33 $( ".get-studies" ).click(function() {
34 var fileId = $( this ).data('file-id'); 34 var fileId = $( this ).data('file-id');
35 35
36 var url0 = "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/getDataverseForm.jsp?fileId=" + fileId; 36 var url0 = "<%=sessionBean.getApplicationBean().getRootServer()%>/methods/getDataverseForm.jsp?fileId=" + fileId;
37 37
38 $.ajax( url0 ) 38 $.ajax( url0 )
39 .done(function(data) { 39 .done(function(data) {
40 $( "#dialogDataverseTable" ).replaceWith(data); 40 $( "#dialogDataverseTable" ).replaceWith(data);
41 $( "#dialogDataverse" ).dialog( "open" ); 41 $( "#dialogDataverse" ).dialog( "open" );
42 }) 42 })
43 .fail(function() { 43 .fail(function() {
44 console.error("Error calling: " + query); 44 console.error("Error calling: " + query);
45 }) 45 })
46 46
47 }); 47 });
48 48
49 49
50 var dialog = $( "#dialogAddContributors" ).dialog( 50 var dialog = $( "#dialogAddContributors" ).dialog(
51 {autoOpen: false} 51 {autoOpen: false}
52 ); 52 );
53 53
54 $( "#addContributors" ).button().on( "click", function() { 54 $( "#addContributors" ).button().on( "click", function() {
55 dialog.dialog( "open" ); 55 dialog.dialog( "open" );
56 }); 56 });
57 }); 57 });
58 58
59 59
60 function updatePage() { 60 function updatePage() {
61 var text = getCookie(); 61 var text = getCookie();
62 62
63 if (text == "1") { 63 if (text == "1") {
64 setCookie("0"); 64 setCookie("0");
65 setAction('forceReloadBranch', 'branchForm'); 65 setAction('forceReloadBranch', 'branchForm');
66 66
67 document.forms['branchForm'].submit(); 67 document.forms['branchForm'].submit();
68 } 68 }
69 69
70 setTimeout(updatePage, 1000); 70 setTimeout(updatePage, 1000);
71 } 71 }
72 updatePage(); 72 updatePage();
73 73
74 74
75 </script> 75 </script>
76 76
77 </head> 77 </head>
78 78
79 <body> 79 <body>
80 <jsp:include page="../componentes/template.jsp"/> 80 <jsp:include page="../componentes/template2.jsp"/>
81 81
82 <div id="dialogDataverse" title="Select a Dataset to publish your File" > 82 <div id="dialogDataverse" title="Select a Dataset to publish your File" >
83 <div id="dialogDataverseTable"></div> 83 <div id="dialogDataverseTable"></div>
84 </div> 84 </div>
85 85
86 <div id="page"> 86 <div id="page">
87 87
88 <% if(sessionBean.getUser() == null) { %> 88 <% if(sessionBean.getUser() == null) { %>
89 <label class="subTitel">You must login!</label> 89 <label class="subTitel">Please login or create a new account above</label>
90 <% } else { %> 90 <% } else { %>
91 91
92 <% if(sessionBean.getBranchPage().getBranch() != null) { %> 92 <% if(sessionBean.getBranchPage().getBranch() != null) { %>
93 <div class="subTitel">Task Details 93 <div class="subTitel">Task Details
94 <form name="branchForm" action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" 94 <form name="branchForm" action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
95 method="post"> 95 method="post">
96 <input name="bean" type="hidden" value="branchBean" /> 96 <input name="bean" type="hidden" value="branchBean" />
97 <input type="image" 97 <input type="image"
98 onclick="setAction('forceReloadBranch', 'branchForm')" 98 onclick="setAction('forceReloadBranch', 'branchForm')"
99 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/> 99 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/>
100 100
101 </form> 101 </form>
102 102
103 </div> 103 </div>
104 104
105 <div id="dialogAddContributors" title="Select a new Contributors:"> 105 <div id="dialogAddContributors" title="Select a new Contributors:" style="display:none;">
106 <form name="contributorsForm" id="contributorsForm" 106 <form name="contributorsForm" id="contributorsForm"
107 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" 107 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
108 method="post"> 108 method="post">
109 <input name="bean" type="hidden" value="branchBean" /> 109 <input name="bean" type="hidden" value="branchBean" />
110 <table> 110 <table>
111 <% for(VDCUser user : sessionBean.getBranchPage().getSuggestionUserList()) { %> 111 <% for(VDCUser user : sessionBean.getBranchPage().getSuggestionUserList()) { %>
112 <tr> 112 <tr>
113 <td><a href="#" onclick="setAction0('addContributor', 'contributorsForm', 'userId', <%=user.getId() %>);document.getElementById('contributorsForm').submit();"><%=user.getUserName()%></a></td> 113 <td><a href="#" onclick="setAction0('addContributor', 'contributorsForm', 'userId', <%=user.getId() %>);document.getElementById('contributorsForm').submit();"><%=user.getUserName()%></a></td>
114 </tr> 114 </tr>
115 <% } %> 115 <% } %>
116 </table> 116 </table>
117 </form> 117 </form>
118 </div> 118 </div>
119 <% } %> 119 <% } %>
120 120
121 <% if(sessionBean.getBranchPage().getBranch() == null) { %> 121 <% if(sessionBean.getBranchPage().getBranch() == null) { %>
122 <label>Task not found!</label> 122 <label>Task not found!</label>
123 <% } else { %> 123 <% } else { %>
124 124
125 <table> 125 <table>
126 <tr> 126 <tr>
127 <td><label class="subTitel">General Information</label></td> 127 <td><label class="subTitel">General Information</label></td>
128 <td> 128 <td>
129 <table class="tableComponent"> 129 <table class="tableComponent">
137 <form name="branchForm1" id="branchForm1" 137 <form name="branchForm1" id="branchForm1"
138 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" 138 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
139 method="post"> 139 method="post">
140 <input name="bean" type="hidden" value="branchBean" /> 140 <input name="bean" type="hidden" value="branchBean" />
141 <input type="text" name="branchLabel" size="60" maxlength="250" value="<%=sessionBean.getBranchPage().getBranch().getLabel() %>" /> 141 <input type="text" name="branchLabel" size="60" maxlength="250" value="<%=sessionBean.getBranchPage().getBranch().getLabel() %>" />
142 <input type="image" onclick="setAction('updateLabel', 'branchForm1');" 142 <input type="image" onclick="setAction('updateLabel', 'branchForm1');"
143 src="<%=sessionBean.getApplicationBean().getSaveImage()%>" width="15" height="15"/> 143 src="<%=sessionBean.getApplicationBean().getSaveImage()%>" width="15" height="15"/>
144 144
145 </form> 145 </form>
146 146
147 </td> 147 </td>
148 </tr> 148 </tr>
149 149
150 <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%% --> 150 <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
151 <tr> 151 <tr>
152 <td><label>Book Id</label></td> 152 <td><label>Book Id</label></td>
153 <td><label><%=sessionBean.getBranchPage().getBranch().getBook().getId() %></label></td> 153 <td><label><%=sessionBean.getBranchPage().getBranch().getBook().getId() %></label></td>
154 </tr> 154 </tr>
186 </tr> 186 </tr>
187 <tr> 187 <tr>
188 <td><label>Edition</label></td> 188 <td><label>Edition</label></td>
189 <td><label><%=sessionBean.getBranchPage().getBranch().getBook().getEdition() %></label></td> 189 <td><label><%=sessionBean.getBranchPage().getBranch().getBook().getEdition() %></label></td>
190 </tr> 190 </tr>
191 191
192 <!-- %%%%%%%%%%%%%%%%%%%%%%%% --> 192 <!-- %%%%%%%%%%%%%%%%%%%%%%%% -->
193 <tr> 193 <tr>
194 <td><label>Section Id</label></td> 194 <td><label>Section Id</label></td>
195 <td><label><%=sessionBean.getBranchPage().getBranch().getSectionId() %></label></td> 195 <td><label><%=sessionBean.getBranchPage().getBranch().getSectionId() %></label></td>
196 </tr> 196 </tr>
200 </tr> 200 </tr>
201 <tr> 201 <tr>
202 <td><label>Pages</label></td> 202 <td><label>Pages</label></td>
203 <td><label><%=sessionBean.getBranchPage().getBranch().getSection().getPages()%></label></td> 203 <td><label><%=sessionBean.getBranchPage().getBranch().getSection().getPages()%></label></td>
204 </tr> 204 </tr>
205 205
206 206
207 <tr> 207 <tr>
208 <td><label>Created</label></td> 208 <td><label>Created</label></td>
209 <td><label><%=sessionBean.getBranchPage().getBranch().getFomattedCreation() %></label></td> 209 <td><label><%=sessionBean.getBranchPage().getBranch().getFomattedCreation() %></label></td>
210 </tr> 210 </tr>
211 <tr> 211 <tr>
218 <tr> 218 <tr>
219 <td> 219 <td>
220 <form name="contributorForm" 220 <form name="contributorForm"
221 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" 221 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
222 method="post"> 222 method="post">
223 <input name="bean" type="hidden" value="branchBean" /> 223 <input name="bean" type="hidden" value="branchBean" />
224 <table style="width: 300px;" class="pageTable"> 224 <table style="width: 300px;" class="pageTable">
225 <% for(VDCUser contr : sessionBean.getBranchPage().getContributors()) { %> 225 <% for(VDCUser contr : sessionBean.getBranchPage().getContributors()) { %>
226 <tr> 226 <tr>
227 <td><label><%=contr.getUserName() %></label></td> 227 <td><label><%=contr.getUserName() %></label></td>
228 <td> 228 <td>
229 <input type="image" 229 <input type="image"
230 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> setAction0('removeContributor', 'contributorForm', 'userId', <%=contr.getId() %>);" 230 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> setAction0('removeContributor', 'contributorForm', 'userId', <%=contr.getId() %>);"
231 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/> 231 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/>
232 </td> 232 </td>
233 </tr> 233 </tr>
234 <% } %> 234 <% } %>
235 </table> 235 </table>
236 </form> 236 </form>
266 <td><label><%=sessionBean.getBranchPage().getLastFile().getFileName() %></label></td> 266 <td><label><%=sessionBean.getBranchPage().getLastFile().getFileName() %></label></td>
267 </tr> 267 </tr>
268 <tr> 268 <tr>
269 <td><label>Created</label></td> 269 <td><label>Created</label></td>
270 <td><label><%=sessionBean.getBranchPage().getLastFile().getFomattedCreation() %></label></td> 270 <td><label><%=sessionBean.getBranchPage().getLastFile().getFomattedCreation() %></label></td>
271 </tr> 271 </tr>
272 <tr> 272 <tr>
273 <td><label>Tagged Text</label> 273 <td><label>Tagged Text</label>
274 <% LGBranch branch = sessionBean.getBranchPage().getBranch(); %> 274 <% LGBranch branch = sessionBean.getBranchPage().getBranch(); %>
275 <a onclick="branchInExtractionInterface('<%=branch.getId() %>', '<%=branch.getCurrentLastFileId() %>', '<%=branch.getSectionId() %>', '<%=branch.getSection().getName() %>', '<%=branch.getBook().getId() %>', '<%=branch.getBook().getName() %>', '<%=sessionBean.getUser().getId() %>', '<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl()%>');"> 275 <a onclick="branchInExtractionInterface('<%=branch.getId() %>', '<%=branch.getCurrentLastFileId() %>', '<%=branch.getSectionId() %>', '<%=branch.getSection().getName() %>', '<%=branch.getBook().getId() %>', '<%=branch.getBook().getName() %>', '<%=sessionBean.getUser().getId() %>', '<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl()%>');">
276 <img title="Show Task in Extraction Interface" src="<%=sessionBean.getApplicationBean().getEditImage()%>"/> 276 <img title="Show Task in Extraction Interface" src="<%=sessionBean.getApplicationBean().getEditImage()%>"/>
277 </a> 277 </a>
278 278
279 </td> 279 </td>
280 280
281 <td> 281 <td>
282 <textarea rows=20" cols="70"> 282 <textarea rows=20" cols="70">
283 <%=sessionBean.getBranchPage().getText() %> 283 <%=sessionBean.getBranchPage().getText() %>
284 </textarea> 284 </textarea>
285 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/downloadFileText?fileId=<%=branch.getCurrentLastFileId() %>" 285 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/downloadFileText?fileId=<%=branch.getCurrentLastFileId() %>"
286 target="_blank"> 286 target="_blank">
287 <img title="Download text (XML)" src="<%=sessionBean.getApplicationBean().getDownloadImage()%>"/> 287 <img title="Download text (XML)" src="<%=sessionBean.getApplicationBean().getDownloadImage()%>"/>
288 </a> 288 </a>
289 </td> 289 </td>
290 </tr> 290 </tr>
291 </table> 291 </table>
292 </td> 292 </td>
293 </tr> 293 </tr>
295 <td><label class="subTitel">All Versions</label></td> 295 <td><label class="subTitel">All Versions</label></td>
296 <td> 296 <td>
297 <form name="filesForm" 297 <form name="filesForm"
298 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" 298 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
299 method="post"> 299 method="post">
300 <input name="bean" type="hidden" value="branchBean" /> 300 <input name="bean" type="hidden" value="branchBean" />
301 301
302 302
303 <table class="pageTable tableComponent"> 303 <table class="pageTable tableComponent">
304 <tr> 304 <tr>
305 <th><label class="tableTitle">File Id</label></th> 305 <th><label class="tableTitle">File Id</label></th>
306 <th><label class="tableTitle">Version</label></th> 306 <th><label class="tableTitle">Version</label></th>
307 <th><label class="tableTitle">User</label></th> 307 <th><label class="tableTitle">User</label></th>
308 <th><label class="tableTitle">Created</label></th> 308 <th><label class="tableTitle">Created</label></th>
309 <th><label class="tableTitle">Tagged text (XML)</label></th> 309 <th><label class="tableTitle">Tagged text (XML)</label></th>
310 <th><label class="tableTitle">View table</label></th> 310 <th><label class="tableTitle">View table</label></th>
311 <th><label class="tableTitle">Table in CSV (tab-delimited)</label></th> 311 <th><label class="tableTitle">Table in CSV (tab-delimited)</label></th>
312 <th><label class="tableTitle">Upload to LGDataverse</label><br> 312 <th><label class="tableTitle">Upload to LGDataverse</label><br>
313 313
314 <% LGFile lastFile = sessionBean.getBranchPage().getLastFile(); 314 <% LGFile lastFile = sessionBean.getBranchPage().getLastFile();
315 if(lastFile.getDvId() == null) {%> 315 if(lastFile.getDvId() == null) {%>
316 <button type="button" class="get-studies" data-file-id="<%=lastFile.getId()%>">Upload the latest version</button> 316 <button type="button" class="get-studies" data-file-id="<%=lastFile.getId()%>">Upload the latest version</button>
317 <% } else if (lastFile.getFileIdInDv() == null) { %> 317 <% } else if (lastFile.getFileIdInDv() == null) { %>
318 <label><i>Uploaded, but it's been deleted from <a href="<%=lastFile.getDatasetUrl() %>" target="_blank"><%= lastFile.getDatasetTitle() %></a></i></label> 318 <label><i>Uploaded, but it's been deleted from <a href="<%=lastFile.getDatasetUrl() %>" target="_blank"><%= lastFile.getDatasetTitle() %></a></i></label>
319 <button type="button" class="get-studies" data-file-id="<%=lastFile.getId()%>">Re-upload it</button> 319 <button type="button" class="get-studies" data-file-id="<%=lastFile.getId()%>">Re-upload it</button>
320 320
321 <% } else { %> 321 <% } else { %>
322 <label>Already uploaded in <a href="<%=lastFile.getDatasetUrl() %>" target="_blank"><%= lastFile.getDatasetTitle() %></a></label> 322 <label>Already uploaded in <a href="<%=lastFile.getDatasetUrl() %>" target="_blank"><%= lastFile.getDatasetTitle() %></a></label>
323 323
324 <% } %> 324 <% } %>
325 325
326 </th> 326 </th>
327 327
328 <th><label class="tableTitle">Delete</label></th> 328 <th><label class="tableTitle">Delete</label></th>
329 </tr> 329 </tr>
330 330
331 <% for(LGFile file : sessionBean.getBranchPage().getAllFiles()) { %> 331 <% for(LGFile file : sessionBean.getBranchPage().getAllFiles()) { %>
332 <tr> 332 <tr>
333 <td><label><%= file.getId() %></label></td> 333 <td><label><%= file.getId() %></label></td>
334 <td><label><%= file.getVersion() %></label></td> 334 <td><label><%= file.getVersion() %></label></td>
335 <td><label><%= file.getUsername() %></label></td> 335 <td><label><%= file.getUsername() %></label></td>
336 <td><label><%= file.getFomattedCreation() %></label></td> 336 <td><label><%= file.getFomattedCreation() %></label></td>
337 <td> 337 <td>
338 <!-- action change to download the file, instead of open file in a new tab --> 338 <!-- action change to download the file, instead of open file in a new tab -->
339 339
340 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/downloadFileText?fileId=<%=file.getId() %>" 340 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/downloadFileText?fileId=<%=file.getId() %>"
341 target="_blank"> 341 target="_blank">
342 <img title="Download XML file" src="<%=sessionBean.getApplicationBean().getDownloadImage()%>"/> 342 <img title="Download XML file" src="<%=sessionBean.getApplicationBean().getDownloadImage()%>"/>
343 </a> 343 </a>
344 <!-- 344 <!--
345 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getFileText?fileId=<%=file.getId() %>" 345 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getFileText?fileId=<%=file.getId() %>"
346 target="_blank"> 346 target="_blank">
347 <img title="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/> 347 <img title="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
348 </a> 348 </a>
349 --> 349 -->
350 </td> 350 </td>
351 <td> 351 <td>
352 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTable4File?fileId=<%=file.getId() %>" 352 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTable4File?fileId=<%=file.getId() %>"
353 target="_blank"> 353 target="_blank">
354 <img title="Show table (html)" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/> 354 <img title="Show table (html)" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
355 </a> 355 </a>
356 </td> 356 </td>
357 357
358 <!-- add to get tab-delimited file --> 358 <!-- add to get tab-delimited file -->
359 <!-- Taction change to download the csv file, instead of open file in a new tab --> 359 <!-- Taction change to download the csv file, instead of open file in a new tab -->
360 <td> 360 <td>
361 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/downloadTabDelimited4File?fileId=<%=file.getId() %>" 361 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/downloadTabDelimited4File?fileId=<%=file.getId() %>"
362 target="_blank"> 362 target="_blank">
363 <img title="Download CSV file (tab-delimited)" src="<%=sessionBean.getApplicationBean().getDownloadImage()%>"/> 363 <img title="Download CSV file (tab-delimited)" src="<%=sessionBean.getApplicationBean().getDownloadImage()%>"/>
364 </a> 364 </a>
365 <!-- 365 <!--
366 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTabDelimited4File?fileId=<%=file.getId() %>" 366 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTabDelimited4File?fileId=<%=file.getId() %>"
367 target="_blank"> 367 target="_blank">
368 <img title="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/> 368 <img title="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
369 </a> 369 </a>
370 --> 370 -->
371 </td> 371 </td>
372 372
373 <td> 373 <td>
374 <% if(file.getDvId() == null) {%> 374 <% if(file.getDvId() == null) {%>
375 375
376 <% } else if (file.getFileIdInDv() == null) { %> 376 <% } else if (file.getFileIdInDv() == null) { %>
377 <label><i>(uploaded, then deleted)</i></label> 377 <label><i>(uploaded, then deleted)</i></label>
378 378
379 <% } else { %> 379 <% } else { %>
380 <label>uploaded in <a href="<%=file.getDatasetUrl() %>" target="_blank"><%= file.getDatasetTitle() %></a></label> 380 <label>uploaded in <a href="<%=file.getDatasetUrl() %>" target="_blank"><%= file.getDatasetTitle() %></a></label>
381 381
382 <% } %> 382 <% } %>
383 </td> 383 </td>
384 <td> 384 <td>
385 <input type="image" title="Delete this version" 385 <input type="image" title="Delete this version"
386 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> setAction0('deleteFile', 'filesForm', 'fileId', <%=file.getId() %>);" 386 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> setAction0('deleteFile', 'filesForm', 'fileId', <%=file.getId() %>);"
387 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/> 387 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/>
388 </td> 388 </td>
389 </tr> 389 </tr>
390 <% } %> 390 <% } %>
391 </table> 391 </table>
392 392
393 </form> 393 </form>
394 </td> 394 </td>
395 </tr> 395 </tr>
396 396
397 </table> 397 </table>
398 398
399 <% } %> 399 <% } %>
400 400
401 401
402 <% } %> 402 <% } %>
403 403
404 </div> 404 </div>
405 405
406 </body> 406 </body>