comparison src/main/webapp/StudyListingPage.xhtml @ 0:fcb8807fbd84

Fist commit!
author "jurzua <jurzua@mpiwg-berlin.mpg.de>"
date Tue, 10 Mar 2015 15:15:30 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:fcb8807fbd84
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:ui="http://java.sun.com/jsf/facelets"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:f="http://java.sun.com/jsf/core"
7 xmlns:ice="http://www.icesoft.com/icefaces/component"
8 xmlns:t="/WEB-INF/tlds/scroller">
9 <h:head>
10 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
11 </h:head>
12
13 <h:body>
14 <ui:composition template="/template.xhtml">
15 <ui:param name="pageTitle" value="#{VDCRequest.dataversePageTitle}"/>
16 <ui:define name="metadata">
17 <f:metadata>
18 <f:event type="preRenderView"
19 listener="#{StudyListingPage.preRenderView}"/>
20 <f:viewParam name="collectionId" value="#{StudyListingPage.collectionIdInURL}"/>
21 </f:metadata>
22 </ui:define>
23 <ui:define name="body">
24 <ice:form id="form1">
25 <ice:inputHidden id="vdcId" value="#{VDCRequest.currentVDCId}"/>
26 <input type="hidden" name="pageName" value="StudyListingPage"/>
27
28 <ice:inputHidden id="studyListingIndex" value="#{StudyListingPage.studyListingIndex}"/>
29 <!-- Main Section starts here -->
30 <div id="dvn_mainSection">
31
32 <!--div jsfc="ice:panelGroup" styleClass="dvnMsgBlockRound dvnWarningMessage" rendered="#{VDCRequest.currentVDC.restricted==true}">
33 <div class="dvnMsgBlockContainer">
34 <p><ice:outputText value="Your dataverse is currently set to Not Released, and will not be featured on the network homepage until it is released. To release the dataverse go to the &lt;a href=&quote;/dvn#{VDCRequest.currentVDCURL}/faces/admin/PrivilegedUsersPage.xhtml&quote;&gt;Dataverse Permissions&lt;/a&gt; page." escape="false"/></p>
35 </div>
36 </div -->
37
38 <div class="dvhmpgdescactionboxblock">
39 <div class="dvhmpgactionboxfloat">
40
41 <div jsfc="ice:panelGroup" id="beContributor1" styleClass="dvhmpgactionbox" rendered="#{VDCSession.loginBean.user==null and VDCRequest.currentVDC.allowRegisteredUsersToContribute and !VDCRequest.currentVDC.allowContributorsEditAll and StudyListingPage.renderDVPermissionsBox}">
42 <div jsfc="ice:panelGroup">
43 <div>
44 <ice:outputText value="Open Dataverse"/>
45 </div>
46 <ice:commandLink action="#{LoginWorkflowBean.beginContributorWorkflow}" title="Create an account">
47 <ice:outputText value="Create an account"/>
48 </ice:commandLink>
49 to add your own study to this dataverse. Already have an account? &#160;
50 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/login/LoginPage.xhtml?clearWorkflow=true" title="Log In">
51 <ice:outputText value="Log In"/>
52 </ice:outputLink>
53 </div>
54 </div>
55 <div jsfc="ice:panelGroup" id="beContributor2" styleClass="dvhmpgactionbox" rendered="#{VDCSession.loginBean.user!=null and VDCRequest.currentVDC.allowRegisteredUsersToContribute and !VDCRequest.currentVDC.allowContributorsEditAll and StudyListingPage.renderDVPermissionsBox}">
56 <div jsfc="ice:panelGroup">
57 <div>
58 <ice:outputText value="Open Dataverse"/>
59 </div>
60 You may add your own study to this dataverse.
61 <ice:outputLink id="hyperlink5" value="/dvn#{VDCRequest.currentVDCURL}/faces/study/EditStudyPage.xhtml">
62 <ice:outputText id="hyperlink1Text1" value=" #{bundlePageInfo.createStudyTitle}"/>
63 </ice:outputLink>
64 </div>
65 </div>
66 <div jsfc="ice:panelGroup" id="beContributor3" styleClass="dvhmpgactionbox" rendered="#{VDCSession.loginBean.user==null and VDCRequest.currentVDC.allowRegisteredUsersToContribute and VDCRequest.currentVDC.allowContributorsEditAll and StudyListingPage.renderDVPermissionsBox}">
67 <div jsfc="ice:panelGroup">
68 <div>
69 <ice:outputText value="Wiki Dataverse"/>
70 </div>
71 <ice:commandLink action="#{LoginWorkflowBean.beginContributorWorkflow}" title="Create an account">
72 <ice:outputText value="Create an account"/>
73 </ice:commandLink>
74 to add your own study or contribute to existing studies in this dataverse. Already have an account? &#160;
75 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/login/LoginPage.xhtml?clearWorkflow=true" title="Log In">
76 <ice:outputText value="Log In"/>
77 </ice:outputLink>
78 </div>
79 </div>
80 <div jsfc="ice:panelGroup" id="beContributor4" styleClass="dvhmpgactionbox" rendered="#{VDCSession.loginBean.user!=null and VDCRequest.currentVDC.allowRegisteredUsersToContribute and VDCRequest.currentVDC.allowContributorsEditAll and StudyListingPage.renderDVPermissionsBox}">
81 <div jsfc="ice:panelGroup">
82 <div>
83 <ice:outputText value="Wiki Dataverse"/>
84 </div>
85 You may add your own study or contribute to existing studies in this dataverse.
86 <ice:outputLink id="hyperlink6" value="/dvn#{VDCRequest.currentVDCURL}/faces/study/EditStudyPage.xhtml">
87 <ice:outputText id="hyperlink6Text" value=" #{bundlePageInfo.createStudyTitle}"/>
88 </ice:outputLink>
89 </div>
90 </div>
91 </div>
92
93 <div class="dvhmpgdescfloat">
94 <div jsfc="ice:panelGroup" styleClass="#{VDCRequest.currentVDC.allowRegisteredUsersToContribute == true ? 'dvn_hmpgMainMessage dvn_hmpgMainMessagePadding' : 'dvn_hmpgMainMessage'}" rendered="#{StudyListingPage.renderDescription}" block="true">
95 <h:outputText escape="false" value="#{VDCRequest.currentVDC.announcements}" />
96 </div>
97 </div>
98 </div>
99 <!-- Start Search Results (with side panel, if available) -->
100 <div jsfc="ice:panelGroup" styleClass="#{ (StudyListingPage.renderTree) ? 'dvn_section dvn_overflow' : 'dvn_section'} dvn_clear">
101 <div jsfc="ice:panelGroup" styleClass="#{ (StudyListingPage.renderTree) ? 'dvn_sectionContent' : 'dvn_sectionContentNoPanels'}">
102 <div class="dvnStudyListCollectionNameBlock">
103 <table cellpadding="0" cellspacing="0" border="0" width="100%" class="dvnHmpgGroupHeaderBlock">
104 <tr>
105 <td valign="bottom">
106 <div jsfc="ice:panelGroup" styleClass="dvnStudyListCollectionName">
107 <ice:outputText styleClass="dvnStudyListHeader" value="#{StudyListingPage.listHeader}"/>
108 <ice:outputText styleClass="dvnStudyListSearchResultsMessage" value=" #{StudyListingPage.listMessage}" rendered="#{StudyListingPage.studyCount != 0}"/>
109 <!--<ui:repeat value="#{StudyListingPage.facetsOfInterest}" var="facetToRemove">-->
110 <ui:repeat value="#{StudyListingPage.facetsQueried}" var="facetToRemove">
111 <ice:outputText styleClass="dvnStudyListSearchResultsMessage" value=", " rendered="#{StudyListingPage.studyCount != 0}"/>
112 <span class="dvnStudyListSearchRefineTermRemove">
113 <ice:commandLink action="#{StudyListingPage.removeFacet(facetToRemove)}" styleClass="dvnStudyListSearchRefineTerm" title="Click to Remove">
114 <ice:outputText styleClass="dvnStudyListSearchResultsMessage" value="#{StudyListingPage.showFacetPath(facetToRemove)}" rendered="#{StudyListingPage.studyCount != 0}"/><div class="dvnStudyListSearchRefineTermRemoveIcon"/>
115 </ice:commandLink></span>
116 </ui:repeat>
117 </div>
118 </td>
119 <td width="388" align="right" valign="bottom">
120 <div class="dvn_searchboxblock">
121 <script type="text/javascript">
122 function clickclear(thisfield, defaulttext) {
123 if (thisfield.value == defaulttext) {
124 thisfield.value = "";
125 }
126 }
127 </script>
128 <fieldset>
129 <div>
130 <label for="search">
131 <ice:inputText onkeypress="if (window.event) return processEvent('', 'form1:search'); else return processEvent(event, 'form1:search');" id="textField2" value="#{StudyListingPage.searchValue}" onclick="clickclear(this, 'Search Studies')"/>
132 </label>
133 <label for="button">
134 <!--<ice:commandButton id="search" value="#{bundlePageInfo.searchButtonText}" styleClass="dvnSearchButton" action="#{StudyListingPage.search_action}"/>-->
135 <!--<ice:commandButton id="search" value="#{bundlePageInfo.searchButtonText}" styleClass="dvnSearchButton" action="#{StudyListingPage.search_actionWithFacets}"/>-->
136 <ice:commandButton id="search" value="#{bundlePageInfo.searchButtonText}" styleClass="dvnSearchButton" action="#{StudyListingPage.search_actionNew}"/>
137 </label>
138 </div>
139 <div>
140 <!--<ice:outputLabel for="filter" styleClass="dvnSearchBoxCheckbox" rendered="#{StudyListingPage.renderSearchResultsFilter}">-->
141 <ice:outputLabel for="filter" styleClass="dvnSearchBoxCheckbox" rendered="#{StudyListingPage.renderSearchResultsFilter and false}">
142 <ice:selectBooleanCheckbox value="#{StudyListingPage.searchResultsFilter}"/>
143 <ice:outputText value="within these results"/>
144 </ice:outputLabel>
145 <ice:outputLabel for="filter" styleClass="dvnSearchBoxCheckbox" rendered="#{StudyListingPage.renderSearchCollectionFilter}">
146 <ice:selectBooleanCheckbox value="#{StudyListingPage.searchCollectionFilter}"/>
147 <ice:outputText value="within this collection"/>
148 </ice:outputLabel>
149 </div>
150 <div class="dvn_searchlinks">
151 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/AdvSearchPage.xhtml">
152 <ice:outputText value="Advanced Search"/>
153 </ice:outputLink>
154 <ice:outputLink value="/guides/dataverse-user-main.html#search" target="_blank">
155 <ice:outputText value="Tips"/>
156 </ice:outputLink>
157 </div>
158 </fieldset>
159 </div>
160 <div jsfc="ice:panelGroup" styleClass="dvnCreateActionBoxBlock dvnStudyListingCreate" rendered="#{StudyListing.collectionStudiesMode and !VDCRequest.readOnlyDatabase and (VDCSession.loginBean.admin or VDCSession.loginBean.curator or VDCSession.loginBean.contributor or VDCSession.loginBean.networkAdmin or VDCRequest.currentVDC.allowRegisteredUsersToContribute)}">
161 <div jsfc="ice:panelGroup" id="createStudy" styleClass="dvnCreateActionBox dvnCreateStudy">
162 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/study/EditStudyPage.xhtml">
163 <ice:outputText value="#{bundlePageInfo.createStudyButton}"/>
164 </ice:outputLink>
165 </div>
166 </div>
167 </td>
168 </tr>
169 </table>
170 </div>
171 <div class="dvnStudyListWrapper">
172 <div jsfc="ice:panelGroup" styleClass="dvnCollectionDescription" rendered="#{!empty StudyListingPage.listDescription and !StudyListingPage.renderSearchResultsFilter}">
173 <ice:outputText value="#{StudyListingPage.listDescription}"/>
174 </div>
175 <div jsfc="ice:panelGroup" styleClass="dvnStudyListNoStudies" rendered="#{StudyListingPage.studyCount == 0}">
176 <p><ice:outputText value="#{StudyListingPage.listMessage}"/></p>
177 </div>
178 <div jsfc="ice:panelGroup" styleClass="dvnStudyListResultsTop" rendered="#{StudyListingPage.studyCount != 0}">
179 <table cellpadding="0" cellspacing="0" border="0" width="100%">
180 <tr>
181 <td align="left" valign="bottom">
182 <div jsfc="ice:panelGroup" id="groupPanel5" rendered="#{StudyListingPage.renderSort}">
183 <ice:outputText value="Sort By: "/>
184 <ice:selectOneMenu id="dropdown2" valueChangeListener="#{StudyListingPage.sort_action}"
185 value="#{StudyListingPage.sortOrderString}" onchange="submit();">
186 <f:selectItems value="#{StudyListingPage.sortOrderItems}"/>
187 </ice:selectOneMenu>
188 </div>
189 </td>
190 <td align="right">
191 <ice:panelGrid cellpadding="0" cellspacing="0" border="0" columns="2" id="gridPanel2"
192 columnClasses="dvn_StudyListTotals, dvnPaginatorWrap"
193 rendered="#{StudyListingPage.renderSort or StudyListingPage.renderScroller}">
194 <div jsfc="ice:panelGroup" id="groupPanel6">
195 <ice:outputText styleClass="dvn_totalsLabel" value="Studies: "/>
196 <ice:outputText styleClass="dvn_totalsValue" value="#{StudyListingPage.studyCount}"/>
197
198 <ice:outputText styleClass="dvn_totalsLabel" value=" | Downloads: "/>
199 <ice:outputText styleClass="dvn_totalsValue" value="#{StudyListingPage.downloadCount}"/>
200 </div>
201
202 <div jsfc="ice:panelGroup" id="groupPanel4" rendered="#{StudyListingPage.renderScroller}">
203 <ice:dataPaginator id="studyListingPaginatorTop" styleClass="dvnPaginatorRight"
204 binding="#{StudyListingPage.paginator}"
205 for="studyListTable1" paginator="true" partialSubmit="true"
206 fastStep="3" paginatorMaxPages="4" renderFacetsIfSinglePage="false">
207 <f:facet name="first">
208 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-first.gif" title="First Page"/>
209 </f:facet>
210 <f:facet name="previous">
211 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-previous.gif" title="Previous"/>
212 </f:facet>
213 <f:facet name="next">
214 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-next.gif" title="Next"/>
215 </f:facet>
216 <f:facet name="last">
217 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-last.gif" title="Last Page"/>
218 </f:facet>
219 <f:facet name="fastforward">
220 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-ff.gif" title="Fast Forward"/>
221 </f:facet>
222 <f:facet name="fastrewind">
223 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-fr.gif" title="Fast Rewind"/>
224 </f:facet>
225 </ice:dataPaginator>
226 </div>
227 </ice:panelGrid>
228 </td>
229 </tr>
230 </table>
231 </div>
232 <div id="dvnStudyFacetWrapper">
233 <div jsfc="ice:panelGroup" styleClass="#{(StudyListingPage.renderSearchResultsFilter and StudyListingPage.renderFacets) ? 'dvnStudyListBlockSearch' : 'dvnStudyListBlockHomePage'}">
234 <ice:dataTable rows="10" headerClass="list-header" id="studyListTable1" width="100%"
235 binding="#{StudyListingPage.studyTable}"
236 styleClass="dvnStudyListTable" rowClasses="list-row-odd, list-row-even" columnClasses="dvnStudyListTableColInfo, dvnStudyListTableColID" value="#{StudyListingPage.studies}" var="studyUI">
237 <ice:column id="column1">
238 <div class="dvnStudyListStudyInfo">
239 <div jsfc="ice:panelGroup" styleClass="#{!studyUI.study.restricted ? 'dvn_nostyle' : (studyUI.studyRestricted ? 'dvnStudyRestricted' : 'dvnStudyPublic')}" id="groupPanel1">
240 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/study/StudyPage.xhtml?globalId=#{studyUI.study.globalId}&amp;studyListingIndex=#{StudyListingPage.studyListingIndex}" id="hyperlink3">
241 <ice:outputText id="hyperlink3Text" value="#{studyUI.metadata.title}"/>
242 </ice:outputLink>
243 <ice:outputText id="outputText13" styleClass="dvnStudyListStudyAuthor" value="by #{studyUI.authors}" rendered="#{studyUI.authors != null and studyUI.authors != ''}"/>
244 </div>
245 <!--
246 NO FILES NEED TO GO SOMEWHERE ELSE
247 <div>
248 <ice:graphicImage alt="This study contains no files." rendered="#{!studyUI.files}"
249 title="This study contains no files." value="/resources/images/icon_nofiles.gif" />
250 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/study/StudyPage.xhtml?globalId=#{studyUI.study.globalId}&amp;tab=files&amp;studyListingIndex=#{StudyListingPage.studyListingIndex}" rendered="#{studyUI.files}">
251 <ice:graphicImage styleClass="vdcNoBorders" alt="This study contains subsettable files." rendered="#{studyUI.subsettable}"
252 title="This study contains subsettable files." value="/resources/images/icon_subsettable.gif" />
253 <ice:graphicImage styleClass="vdcNoBorders" alt="This study contains only non-subsettable files." rendered="#{!studyUI.subsettable}"
254 title="This study contains only non-subsettable files." value="/resources/images/icon_files.gif" />
255 </ice:outputLink>
256 </div>
257 -->
258 <div jsfc="ice:panelGroup" id="groupPanel2" rendered="#{studyUI.abstracts != null and studyUI.abstracts != ''}">
259 <ice:outputText id="outputText14" styleClass="dvnStudyListTableAbstract" escape="false" value="Description: &#60;div class=&#34;dvnStudyListTableAbstractBlock&#34;&#62;#{studyUI.abstracts}&#60;/div&#62;"/>
260 </div>
261 <!-- Optional search fields -->
262
263 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.productionDate] and !empty studyUI.metadata.productionDate}">
264 <ice:outputText value="Production Date:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
265 <ice:outputText value="#{studyUI.productionDate}"/>
266 </div>
267 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.producer] and !empty studyUI.producers}">
268 <ice:outputText value="Producer:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
269 <ice:outputText value="#{studyUI.producers}" escape="false"/>
270 </div>
271 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.distributionDate] and !empty studyUI.metadata.distributionDate}">
272 <ice:outputText value="Distribution Date:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
273 <ice:outputText value="#{studyUI.distributionDate}" escape="false"/>
274 </div>
275 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.distributor] and !empty studyUI.distributors}">
276 <ice:outputText value="Distributor:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
277 <ice:outputText value="#{studyUI.distributors}" escape="false"/>
278 </div>
279 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.publicationReplicationData] and !empty studyUI.replicationFor}">
280 <ice:outputText value="Replication For:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
281 <ice:outputText value="#{studyUI.replicationFor}" escape="false"/>
282 </div>
283 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.publication] and !empty studyUI.relPublications}">
284 <ice:outputText value="Related Publications:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
285 <ice:outputText value="#{studyUI.relPublications}" escape="false"/>
286 </div>
287 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.relatedMaterial] and !empty studyUI.relMaterials}">
288 <ice:outputText value="Related Material:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
289 <ice:outputText value="#{studyUI.relMaterials}" escape="false"/>
290 </div>
291 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{!empty StudyListingPage.studyFields[sfc.relatedStudies] and !empty studyUI.relStudies}">
292 <ice:outputText value="Related Studies:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
293 <ice:outputText value="#{studyUI.relStudies}" escape="false"/>
294 </div>
295 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{ !empty studyUI.foundInVariables}">
296 <ice:outputText value="Found In Variables:" styleClass="dvnStudyListTableOptionalFieldLabel"/>
297 <ice:dataTable cellspacing="0" cellpadding="0" width="100%" id="dvDataTable" value="#{studyUI.foundInVariables}" var="dv">
298 <ice:column>
299 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/study/VariablePage.xhtml?dvId=#{dv.id}&amp;studyListingIndex=#{StudyListingPage.studyListingIndex}">
300 <ice:outputText value="#{dv.name}"/>
301 </ice:outputLink>
302 </ice:column>
303 <ice:column>
304 <ice:outputText value="#{dv.label}"/>
305 </ice:column>
306 <ice:column>
307 <ice:outputText value="#{dv.dataTable.studyFile.fileName}"/>
308 </ice:column>
309 </ice:dataTable>
310 </div>
311 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{ !empty studyUI.foundInStudyFiles}">
312 <ice:outputText value="Found In Study File(s):" styleClass="dvnStudyListTableOptionalFieldLabel"/>
313 <ice:dataTable cellspacing="0" cellpadding="0" width="100%" id="foundInFilesDataTable" value="#{studyUI.foundInStudyFiles}" var="sf">
314 <ice:column>
315 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/study/StudyPage.xhtml?tab=files&amp;studyListingIndex=#{StudyListingPage.studyListingIndex}">
316 <f:param name="globalId" value="#{studyUI.study.globalId}"/>
317 <f:param name="studyListingIndex" value="#{StudyListingPage.studyListingIndex}"/>
318 <ice:outputText value="#{sf.fileName}"/>
319 </ice:outputLink>
320 </ice:column>
321 <ice:column>
322 <ice:outputText value="#{sf.releasedFileMetadata.description}"/>
323 </ice:column>
324
325 </ice:dataTable>
326 </div>
327 <div jsfc="ice:panelGroup" styleClass="dvnStudyListTableOptionalField" rendered="#{ studyUI.displayVersions and !empty studyUI.foundInVersions}">
328 <ice:outputText value="The UNF was not found in the current version of this study; however it was found in the following archived versions:"/>
329 <ice:dataTable cellspacing="0" cellpadding="0" width="100%" id="versionDataTable" value="#{studyUI.foundInVersions}" var="version">
330 <ice:column>
331 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/study/StudyPage.xhtml">
332 <f:param name="globalId" value="#{studyUI.study.globalId}"/>
333 <f:param name="versionNumber" value="#{version.versionNumber}"/>
334 <f:param name="studyListingIndex" value="#{StudyListingPage.studyListingIndex}"/>
335 <ice:outputText value="Version #{version.versionNumber}"/>
336 </ice:outputLink>
337 </ice:column>
338 </ice:dataTable>
339 </div>
340 </div>
341 </ice:column>
342 <ice:column id="column2">
343 <div class="dvnStudyListIDDownloads">
344 <ice:outputText styleClass="dvnStudyListGlobalId" value="#{studyUI.study.globalId}"/>
345 <div class="dvnStudyListDownloadCount">
346 <ice:outputLink value="/dvn#{VDCRequest.currentVDCURL}/faces/study/StudyPage.xhtml?globalId=#{studyUI.study.globalId}&amp;tab=files&amp;studyListingIndex=#{StudyListingPage.studyListingIndex}">
347 <ice:graphicImage url="/resources/images/icon_analyze.gif" title="View and Analyze study files" rendered="#{studyUI.files and studyUI.subsettable}"/>
348 <ice:graphicImage url="/resources/images/icon_files.gif" title="View study files" rendered="#{studyUI.files and !studyUI.subsettable}"/>
349 </ice:outputLink>
350 <ice:outputText styleClass="dvnStudyListIDDownloadsNonSubsettable" value="#{studyUI.downloadCount} download" rendered="#{studyUI.downloadCount == 1 and !studyUI.subsettable}"/>
351 <ice:outputText styleClass="dvnStudyListIDDownloadsSubsettable" value="#{studyUI.downloadCount} download/analysis" rendered="#{studyUI.downloadCount == 1 and studyUI.subsettable}"/>
352 <ice:outputText styleClass="dvnStudyListIDDownloadsNonSubsettable" value="#{studyUI.downloadCount} downloads" rendered="#{studyUI.files and studyUI.downloadCount != 1 and !studyUI.subsettable}"/>
353 <ice:outputText styleClass="dvnStudyListIDDownloadsSubsettable" value="#{studyUI.downloadCount} downloads + analyses" rendered="#{studyUI.files and studyUI.downloadCount != 1 and studyUI.subsettable}"/>
354 </div>
355 <ice:outputText value="Last Released: #{studyUI.releaseTime}"/>
356 </div>
357 </ice:column>
358 </ice:dataTable>
359 </div>
360
361 <div jsfc="ice:panelGroup" styleClass="dvnStudyFacetBlock" rendered="#{(StudyListingPage.renderSearchResultsFilter) and StudyListingPage.renderFacets}">
362 <div class="dvnStudyFacetBlockTitle">Refine Results</div>
363 <div class="dvnStudyFacetCategoryBlock">
364 <ul>
365 <ice:dataTable width="99%" value="#{StudyListingPage.getFacets(5)}" var="facetUI">
366 <ice:column>
367 <!--<div class="dvnStudyFacetCategoryTitle"><ice:outputText value="#{facetUI.name}"/></div>-->
368 <!--<div class="dvnStudyFacetCategoryTitle"><ice:outputText value="#{facetUI.friendlyName}"/></div>-->
369 <div class="dvnStudyFacetCategoryTitle"><ice:outputText value="#{facetUI.showFriendlyName(facetUI.name)}"/></div>
370 <ul class="dvnStudyFacetResultsBlock">
371 <ui:repeat value="#{facetUI.facetResultUIs}" var="facetresultuis">
372 <li>
373 <ice:commandLink rendered="#{!facetresultuis.selected}" action="#{StudyListingPage.setStudyListingByFacets(facetUI.name, facetresultuis.name)}" title="Refine by facet">
374 <ice:outputText styleClass="dvnStudyFacetResultText" value="#{facetresultuis.name}"/>
375 </ice:commandLink>
376 <ice:outputText styleClass="dvnStudyFacetResultText dvnSelectedFacet" value="#{facetresultuis.name}" rendered="#{facetresultuis.selected}"/>
377 <span class="dvnStudyFacetResultNumber">(#{facetresultuis.hits})</span>
378 </li>
379 </ui:repeat>
380 </ul>
381 </ice:column>
382 </ice:dataTable>
383 </ul>
384 </div>
385 </div>
386 </div>
387 <div jsfc="ice:panelGroup" styleClass="dvnStudyListResultsBottom" rendered="#{StudyListingPage.renderScroller}">
388 <table cellpadding="0" cellspacing="0" border="0" width="100%">
389 <tr>
390 <td align="left" valign="bottom">
391 &nbsp;
392 </td>
393 <td align="right">
394 <ice:panelGrid cellpadding="0" cellspacing="0" border="0" columns="2" id="gridPanel22"
395 columnClasses="dvn_StudyListTotals, dvnPaginatorWrap"
396 rendered="#{StudyListingPage.renderSort or StudyListingPage.renderScroller}">
397 <div jsfc="ice:panelGroup">
398 &nbsp;
399 </div>
400
401 <div jsfc="ice:panelGroup" id="groupPanel44" rendered="#{StudyListingPage.renderScroller}">
402 <ice:dataPaginator id="studyListingPaginatorBottom" styleClass="dvnPaginatorRight"
403 binding="#{StudyListingPage.paginator2}"
404 for="studyListTable1" paginator="true" partialSubmit="true"
405 fastStep="3" paginatorMaxPages="4" renderFacetsIfSinglePage="false">
406 <f:facet name="first">
407 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-first.gif" title="First Page"/>
408 </f:facet>
409 <f:facet name="previous">
410 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-previous.gif" title="Previous"/>
411 </f:facet>
412 <f:facet name="next">
413 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-next.gif" title="Next"/>
414 </f:facet>
415 <f:facet name="last">
416 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-last.gif" title="Last Page"/>
417 </f:facet>
418 <f:facet name="fastforward">
419 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-ff.gif" title="Fast Forward"/>
420 </f:facet>
421 <f:facet name="fastrewind">
422 <ice:graphicImage url="/resources/icefaces/dvn_rime/css-images/arrow-fr.gif" title="Fast Rewind"/>
423 </f:facet>
424 </ice:dataPaginator>
425 </div>
426 </ice:panelGrid>
427 </td>
428 </tr>
429 </table>
430 </div>
431
432 <script type="text/javascript">
433 // <![CDATA[
434 jQuery(document).ready(function(){
435 initAbstractTruncate();
436 });
437
438 function initAbstractTruncate() {
439 jQuery("div.dvnStudyListTableAbstractBlock").truncate({max_length: 255});
440 }
441 // ]]>
442 </script>
443 </div>
444 </div>
445 <div jsfc="ice:panelGroup" id="groupPanel7" styleClass="dvn_sectionPanels" rendered="#{StudyListingPage.renderTree}">
446 <div jsfc="ice:panelGroup" styleClass="dvnTreeBlock" style="height: #{StudyListingPage.collectionTreeVisibleNodeCount * 2.5 + 4}em;">
447 <div class="dvnTreeContainer" style="height: #{StudyListingPage.collectionTreeVisibleNodeCount * 2.5 + 3}em;">
448 <ice:tree id="collectionTree"
449 value="#{StudyListingPage.collectionTree}"
450 var="item"
451 hideRootNode="true"
452 hideNavigation="false"
453 rendered="#{StudyListingPage.renderTree}"
454 imageDir="/dvn/resources/icefaces/dvn_rime/css-images/">
455 <ice:treeNode>
456 <f:facet name="content">
457 <ice:panelGroup>
458 <ice:outputLink value="#{item.userObject.url}">
459 <ice:outputText value="#{item.userObject.text}" title="#{item.userObject.text}"/>
460 </ice:outputLink>
461 </ice:panelGroup>
462 </f:facet>
463 </ice:treeNode>
464 </ice:tree>
465 </div>
466 </div>
467 </div>
468 </div>
469 </div>
470 <!-- Main Section ends here -->
471 </ice:form>
472 </ui:define>
473 </ui:composition>
474 </h:body>
475 </html>