Rewrote IndividualListController to handle error conditions from within FreeMarker. Reorganized controller control flow to account for interdependencies between body and title.
This commit is contained in:
parent
f40e2d1af7
commit
fbdba79833
11 changed files with 307 additions and 280 deletions
7
webapp/web/templates/freemarker/body/errorMessage.ftl
Normal file
7
webapp/web/templates/freemarker/body/errorMessage.ftl
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue