forked from kitodo/kitodo-production
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle missing metadata file exception
- Loading branch information
Showing
7 changed files
with
247 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...main/webapp/WEB-INF/templates/includes/metadataEditor/dialogs/metadataLoadingFailed.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!-- | ||
* | ||
* (c) Kitodo. Key to digital objects e. V. <[email protected]> | ||
* | ||
* This file is part of the Kitodo project. | ||
* | ||
* It is licensed under GNU General Public License version 3 or later. | ||
* | ||
* For the full copyright and license information, please read the | ||
* GPL3-License.txt file that was distributed with this source code. | ||
* | ||
--> | ||
|
||
<ui:composition | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:h="http://xmlns.jcp.org/jsf/html" | ||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" | ||
xmlns:p="http://primefaces.org/ui"> | ||
<p:dialog id="metadataLoadingFailedDialog" | ||
widgetVar="metadataLoadingFailedDialog" | ||
width="500px" | ||
showHeader="false" | ||
appendTo="@(body)" | ||
resizable="false" | ||
closable="false" | ||
modal="true"> | ||
<h:panelGroup id="metadataLoadingMessageWrapper"> | ||
<h3>#{err['errorLoadingFile']}</h3> | ||
<h:panelGroup layout="block" | ||
styleClass="select-note ui-messages-error"> | ||
<h:outputText value="#{DataEditorForm.metadataLoadingError}"/> | ||
</h:panelGroup> | ||
</h:panelGroup> | ||
<h:panelGroup layout="block" | ||
styleClass="dialogButtonWrapper"> | ||
<p:button outcome="/pages/desktop.jsf" | ||
value="#{msgs['ok']}" | ||
id="confirmButton" | ||
styleClass="primary right" | ||
icon="fa fa-close" | ||
iconPos="right"/> | ||
</h:panelGroup> | ||
</p:dialog> | ||
</ui:composition> |
Oops, something went wrong.