Move template names to enum in FreeMarkerHttpServlet and constants in subclasses.
This commit is contained in:
parent
89391fbc96
commit
c0a8d603ed
19 changed files with 243 additions and 113 deletions
|
@ -0,0 +1,7 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Standard template to display an error message generated from any controller. Keeps this out of individual templates. -->
|
||||
|
||||
<#if errorMessage??>
|
||||
<p>${errorMessage}</p>
|
||||
</#if>
|
|
@ -0,0 +1,7 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template for general system error. -->
|
||||
|
||||
<p>There was an error in the system.</p>
|
||||
|
||||
<p>Return to the <a href="${urls.home}">home page</a>.</p>
|
|
@ -0,0 +1,7 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Standard template to display an error message generated from any controller. Keeps this out of individual templates. -->
|
||||
|
||||
<h2>${title}</h2>
|
||||
|
||||
<#include "errorMessage.ftl">
|
Loading…
Add table
Add a link
Reference in a new issue