|
68 | 68 | styleClass="btn-download" |
69 | 69 | process="@this" |
70 | 70 | disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}" |
71 | | - actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'GlobusTransfer')}"> |
| 71 | + actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'GlobusTransfer', null)}"> |
72 | 72 | <!-- non-tabular data file: --> |
73 | 73 | <!-- no guest book/terms of use/etc. - straight to the download API url: --> |
74 | 74 | <span class="globus-btn ui-icon" title="#{bundle['file.globus.transfer']}"/> #{bundle['file.globus.of']} #{fileMetadata.dataFile.friendlyType == 'Unknown' ? bundle['file.download.filetype.unknown'] : fileMetadata.dataFile.friendlyType} |
|
118 | 118 | styleClass="btn-download" |
119 | 119 | process="@this" |
120 | 120 | disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}" |
121 | | - actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'Download')}"> |
| 121 | + actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'Download', null)}"> |
122 | 122 | <!-- non-tabular data file: --> |
123 | 123 | <!-- no guest book/terms of use/etc. - straight to the download API url: --> |
124 | 124 | #{fileMetadata.dataFile.friendlyType == 'Unknown' ? bundle['file.download.filetype.unknown'] : fileMetadata.dataFile.friendlyType} |
|
142 | 142 | <li> |
143 | 143 | <p:commandLink styleClass="highlightBold btn-download" rendered="#{!(guestbookAndTermsPopupRequired)}" |
144 | 144 | process="@this" |
145 | | - actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'bundle')}"> |
| 145 | + actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'bundle', null)}"> |
146 | 146 | #{bundle['file.downloadBtn.format.all']} |
147 | 147 | </p:commandLink> |
148 | 148 | <p:commandLink styleClass="highlightBold btn-download" rendered="#{guestbookAndTermsPopupRequired}" |
|
160 | 160 | <p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired and !(fileMetadata.dataFile.originalFormatLabel == 'UNKNOWN')}" |
161 | 161 | process="@this" |
162 | 162 | disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}" |
163 | | - actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'original')}"> |
| 163 | + actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'original', null)}"> |
164 | 164 | <h:outputFormat value="#{bundle['file.downloadBtn.format.original']}"> |
165 | 165 | <f:param value="#{fileMetadata.dataFile.originalFormatLabel}"/> |
166 | 166 | </h:outputFormat> |
|
182 | 182 | <p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired}" |
183 | 183 | process="@this" |
184 | 184 | disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}" |
185 | | - actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'tab')}"> |
| 185 | + actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'tab', null)}"> |
186 | 186 | #{bundle['file.downloadBtn.format.tab']} |
187 | 187 | </p:commandLink> |
188 | 188 | <p:commandLink styleClass="btn-download" rendered="#{guestbookAndTermsPopupRequired}" |
|
200 | 200 | <p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired}" |
201 | 201 | process="@this" |
202 | 202 | disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}" |
203 | | - actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'RData')}"> |
| 203 | + actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'RData', null)}"> |
204 | 204 | #{bundle['file.downloadBtn.format.rdata']} |
205 | 205 | </p:commandLink> |
206 | 206 | <p:commandLink styleClass="btn-download" rendered="#{guestbookAndTermsPopupRequired}" |
|
228 | 228 | <p:commandLink styleClass="btn-download" rendered="#{!guestbookAndTermsPopupRequired}" |
229 | 229 | process="@this" |
230 | 230 | disabled="#{(fileMetadata.dataFile.ingestInProgress or lockedFromDownload) ? 'disabled' : ''}" |
231 | | - actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'var')}"> |
| 231 | + actionListener="#{fileDownloadService.writeGuestbookAndStartFileDownload(guestbookResponse, fileMetadata, 'var', null)}"> |
232 | 232 | #{bundle['file.downloadBtn.format.var']} |
233 | 233 | </p:commandLink> |
234 | 234 | <p:commandLink styleClass="btn-download" rendered="#{guestbookAndTermsPopupRequired}" |
|
0 commit comments