Skip to content

Commit

Permalink
update dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Partridge committed Jul 14, 2016
1 parent 681acbe commit ae8db7a
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions src/main/webapp/dataset.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -506,12 +506,29 @@
<p:tabView id="tabView" widgetVar="content" activeIndex="#{DatasetPage.selectedTabIndex}"
rendered="#{empty DatasetPage.editMode or (DatasetPage.editMode == 'METADATA' or DatasetPage.editMode == 'LICENSE')}">
<p:ajax event="tabChange" listener="#{DatasetPage.tabChanged}" oncomplete="bind_bsui_components();" update="@this" />


<p:tab id="visualizationTab" title="Visualization" rendered="#{true}">
<iframe src ="visualizationFragment.xhtml" id="info" class="iframe" name="info" height="500" width="1100" style="border:none"></iframe>
<!--
<ui:include src="visualizationFragment.xhtml"/>
-->
<iframe src ="visualizationFragment.xhtml" id="info" class="iframe" name="info" height="500" width="1100"
style="border:none" data-pdb="#{DatasetPage.datasetVersionUI.datasetVersion.getDatasetField(datasetFieldServiceBean.findByName('refinedStructurePDBCode')).value}">
</iframe>
<!--
<ui:include src="visualizationFragment.xhtml"/>
-->
</p:tab>


<!--
<p:tab id="visualizationTab" title="Visualization"
rendered="#{!empty DatasetPage.datasetVersionUI.datasetVersion.getDatasetField(datasetFieldServiceBean.findByName('refinedStructurePDBCode'))}">
<iframe src ="visualizationFragment.xhtml" id="info" class="iframe" name="info" height="500"
width="1100" style="border:none"
data-pdb="#{DatasetPage.datasetVersionUI.datasetVersion.getDatasetField(datasetFieldServiceBean.findByName('refinedStructurePDBCode')).value}">
</iframe>
</p:tab>
-->


<p:tab id="dataFilesTab" title="#{bundle.files}" rendered="#{!DatasetPage.workingVersion.deaccessioned and
(empty DatasetPage.editMode)}">
<ui:include src="filesFragment.xhtml"/>
Expand Down

0 comments on commit ae8db7a

Please sign in to comment.