Die Basis für die contextrelativen URL's wird jetzt Applicationweit bestimmt
authorKai Moritz <km@feder-software.de>
Wed, 26 Feb 2014 00:13:22 +0000 (01:13 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 19 Jan 2016 16:45:41 +0000 (17:45 +0100)
commit5365a4f94603204ae695181aac091e951902ed82
tree448a966b2e2c6f769ce58904f67cfd6ce3960796
parent6482c022bf5777165d20d1cfe58f3668f8699dba
Die Basis für die contextrelativen URL's wird jetzt Applicationweit bestimmt

Zuvor wurde das Attribut "base" in jedem Template mithilfe des Tags <url>
aus der Spring-Taglib bestimmt. Jetzt wird das Attribut beim Start der
Webanwendung einmalig bestimmt und im Application-Scope abgelegt.

Das hat den Vorteil, dass das Attribut in abgeleiteten Webanwendungen, die
die Templates wiederverwenden gezielt anders gesetzt werden kann.
49 files changed:
src/main/java/de/juplo/branding/web/ApplicationConfig.java [new file with mode: 0644]
src/main/webapp/WEB-INF/404.jsp
src/main/webapp/WEB-INF/error.jsp
src/main/webapp/WEB-INF/spring/mvc.xml
src/main/webapp/WEB-INF/templates/about.jsp
src/main/webapp/WEB-INF/templates/footer.jsp
src/main/webapp/WEB-INF/templates/header.jsp
src/main/webapp/WEB-INF/templates/html-head.jsp
src/main/webapp/WEB-INF/templates/html5page.jsp
src/main/webapp/WEB-INF/templates/maincontent.jsp
src/main/webapp/WEB-INF/templates/navigation.jsp
src/main/webapp/WEB-INF/templates/test/breadcrumb.jsp
src/main/webapp/WEB-INF/templates/test/experimente.jsp
src/main/webapp/WEB-INF/templates/test/navigation.jsp
src/main/webapp/WEB-INF/views/about.jsp
src/main/webapp/WEB-INF/views/about/professions.jsp
src/main/webapp/WEB-INF/views/about/references.jsp
src/main/webapp/WEB-INF/views/blog.jsp
src/main/webapp/WEB-INF/views/blog/article.jsp
src/main/webapp/WEB-INF/views/blog/comments.jsp
src/main/webapp/WEB-INF/views/contact.jsp
src/main/webapp/WEB-INF/views/impressum.jsp
src/main/webapp/WEB-INF/views/impressum/datenschutz.jsp
src/main/webapp/WEB-INF/views/impressum/google-analytics.jsp
src/main/webapp/WEB-INF/views/impressum/haftung-inhalte.jsp
src/main/webapp/WEB-INF/views/impressum/haftung-links.jsp
src/main/webapp/WEB-INF/views/impressum/urheberrechte.jsp
src/main/webapp/WEB-INF/views/index.jsp
src/main/webapp/WEB-INF/views/projects.jsp
src/main/webapp/WEB-INF/views/projects/fix-swf.jsp
src/main/webapp/WEB-INF/views/projects/fix-swf/getting-started.jsp
src/main/webapp/WEB-INF/views/projects/fix-swf/overview.jsp
src/main/webapp/WEB-INF/views/projects/html-experimente.jsp
src/main/webapp/WEB-INF/views/projects/typo.jsp
src/main/webapp/WEB-INF/views/test/basis-layout.jsp
src/main/webapp/WEB-INF/views/test/druck-layout.jsp
src/main/webapp/WEB-INF/views/test/error.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-kein-menü-aber-marginalinhalt.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-kein-menü.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-mit-menü-und-marginalinhalt.jsp
src/main/webapp/WEB-INF/views/test/fast-leer-mit-menü.jsp
src/main/webapp/WEB-INF/views/test/formulare.jsp
src/main/webapp/WEB-INF/views/test/kein-layout.jsp
src/main/webapp/WEB-INF/views/test/phone.jsp
src/main/webapp/WEB-INF/views/test/seitenaufteilung.jsp
src/main/webapp/WEB-INF/views/test/seitenkopf.jsp
src/main/webapp/WEB-INF/views/test/symbole.jsp
src/main/webapp/WEB-INF/views/test/tablet.jsp
src/main/webapp/WEB-INF/views/test/tiny.jsp