Skip to content

Commit

Permalink
mets editor: load tabs with ajax requests
Browse files Browse the repository at this point in the history
  • Loading branch information
rsehr committed Jun 17, 2020
1 parent 9ba0c68 commit c5fe9d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Goobi/webapp/uii/includes/metseditor/metseditor_menu.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<h:commandLink action="#{Metadaten.AnsichtAendern}" id="gotoPagination">
#{msgs.paginierung}
<x:updateActionListener value="Paginierung" property="#{Metadaten.modusAnsicht}" />
<f:ajax render="@form :pageContentCenter" />
</h:commandLink>
</li>
</ui:fragment>
Expand All @@ -34,6 +35,7 @@
<h:commandLink action="#{Metadaten.AnsichtAendern}" id="gotoStructure">
#{msgs.strukturdaten}
<x:updateActionListener value="Strukturdaten" property="#{Metadaten.modusAnsicht}" />
<f:ajax render="@form :pageContentCenter" />
</h:commandLink>
</li>
</ui:fragment>
Expand All @@ -43,6 +45,7 @@
<h:commandLink action="#{Metadaten.AnsichtAendern}" id="gotoMetadata">
#{msgs.metadaten}
<x:updateActionListener value="Metadaten" property="#{Metadaten.modusAnsicht}" />
<f:ajax render="@form :pageContentCenter" />
</h:commandLink>
</li>
</ui:fragment>
Expand All @@ -52,6 +55,7 @@
<h:commandLink action="#{Metadaten.AnsichtAendern}" id="gotoFile">
#{msgs.fileManipulation}
<x:updateActionListener value="File" property="#{Metadaten.modusAnsicht}" />
<f:ajax render="@form :pageContentCenter" />
</h:commandLink>
</li>
</ui:fragment>
Expand Down
4 changes: 2 additions & 2 deletions Goobi/webapp/uii/template/template_metseditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@
</div>

<!-- CONTENT CENTER -->
<div id="pageContentCenter" class="page-content__center">
<h:panelGroup id="pageContentCenter" styleClass="page-content__center" layout="block">
<div class="page-content__center-inner">
<!-- METSEDITOR CONTENT -->
<ui:insert name="metseditorContent" />
</div>
</div>
</h:panelGroup>

<!-- CONTENT RIGHT -->
<ui:fragment rendered="#{Metadaten.bildAnzeigen}">
Expand Down

0 comments on commit c5fe9d3

Please sign in to comment.