Nuxeo Server

How to Customize the Error Pages

Updated: October 13, 2017 Page Information Edit on GitHub

There are three error pages in the Nuxeo Platform, each of them can be customized:

  • nuxeo_error.jsp: This is the default error page
  • nuxeo_error_security.jsp: It is displayed when a SecurityException is thrown
  • page_not_found.jsp: It is displayed for an error 404

When the server is deployed, all theses pages are located at server/default/deploy/nuxeo.ear/nuxeo.war/. In the source code, these pages are located at nuxeo-platform-webapp/src/main/resources/nuxeo.war/.

You have to override this nuxeo_error.jsp page in a custom project.

  1. Copy this page inside your custom project in the same relative location as it is in the original Nuxeo sources, that is in a comparable nuxeo.war directory.
  2. Update the parts of the pages you want to customize.
  3. The deployment-fragment.xml of your custom project should contain the following requirement to nicely deploy your customized version of the error pages.

    <require>org.nuxeo.ecm.webapp.ui</require>
    

 


5 days ago manonlumeau NXDOC-1346-FT review screenshot
a year ago Solen Guitter 38 | Update how-to topics
a year ago Solen Guitter 39
2 years ago Manon Lumeau 37
2 years ago Anahide Tchertchian 36
2 years ago Anahide Tchertchian 35
3 years ago Manon Lumeau 34
3 years ago Manon Lumeau 33
3 years ago Solen Guitter 32
3 years ago Gildas Lefevre 31
3 years ago Anahide Tchertchian 30
3 years ago Solen Guitter 29 | Link update
3 years ago Manon Lumeau 28
3 years ago Manon Lumeau 27
3 years ago Solen Guitter 26 | Formatting
4 years ago Solen Guitter 25
4 years ago Anahide Tchertchian 24
4 years ago Anahide Tchertchian 23 | add warning (outdated content)
5 years ago Solen Guitter 21
5 years ago Solen Guitter 22 | Migrated to Confluence 4.0
6 years ago Anahide Tchertchian 20
6 years ago Anahide Tchertchian 19
7 years ago Stéfane Fermigier 18
7 years ago Stéfane Fermigier 17
7 years ago Stéfane Fermigier 16
7 years ago Stéfane Fermigier 15
7 years ago Stéfane Fermigier 14
7 years ago Stéfane Fermigier 13
7 years ago Stéfane Fermigier 12
7 years ago Stéfane Fermigier 11
7 years ago Stéfane Fermigier 10
7 years ago Stéfane Fermigier 9
7 years ago Stéfane Fermigier 8
7 years ago Stéfane Fermigier 7
7 years ago Stéfane Fermigier 6
7 years ago Stéfane Fermigier 5
7 years ago Stéfane Fermigier 4
7 years ago Stéfane Fermigier 3
7 years ago Stéfane Fermigier 2
7 years ago Stéfane Fermigier 1
History: Created by Stéfane Fermigier