-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #8: Added context path to all templates
All URLs produced by template engines are context aware. Turned on caching for all viewResolvers, because there was one-two resolvers with the enabled caching. All engines will work under the same (or similar) conditions. Rythm template version was updated, however it will not work in Spring 4 (see comments in mvc-dispatcher-servlet.xml). Probably Rythm should be removed in future. Scalate: corrected head.scaml template. minor bug fixed in index-scalate.scaml - the was no border under h1.page-header. Cleaned OS X files.
- Loading branch information
Showing
24 changed files
with
97 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
*.bak | ||
*.iml | ||
.idea | ||
target | ||
.project | ||
.settings | ||
.classpath | ||
.DS_Store | ||
|
||
|
||
atlassian-ide-plugin.xml |
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script src="/webjars/jquery/2.0.2/jquery.min.js"></script> | ||
<script src="/webjars/bootstrap/3.0.1/js/bootstrap.min.js"></script> | ||
<script src="{{rc.contextPath}}/webjars/jquery/2.0.2/jquery.min.js"></script> | ||
<script src="{{rc.contextPath}}/webjars/bootstrap/3.0.1/js/bootstrap.min.js"></script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script src=/webjars/jquery/2.0.2/jquery.min.js></script> | ||
<script src=/webjars/bootstrap/3.0.1/js/bootstrap.min.js></script> | ||
<script src=${root}/webjars/jquery/2.0.2/jquery.min.js></script> | ||
<script src=${root}/webjars/bootstrap/3.0.1/js/bootstrap.min.js></script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<script src="/webjars/jquery/2.0.2/jquery.min.js"></script> | ||
<script src="/webjars/bootstrap/3.0.1/js/bootstrap.min.js"></script> | ||
<script src={{ '/webjars/jquery/2.0.2/jquery.min.js' | path }}></script> | ||
<script src={{ '/webjars/bootstrap/3.0.1/js/bootstrap.min.js' | path }}></script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<script src="{{rc.contextPath}}/webjars/jquery/2.0.2/jquery.min.js"></script> | ||
<script src="{{rc.contextPath}}/webjars/bootstrap/3.0.1/js/bootstrap.min.js"></script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
-@ var title : String | ||
%head | ||
%title= title | ||
%link(rel="stylesheet" href="/webjars/bootstrap/3.0.1/css/bootstrap.min.css") | ||
%meta(name="viewport" content="width=device-width, initial-scale=1.0") | ||
%meta(charset="UTF-8") | ||
%meta(name="viewport" content="width=device-width, initial-scale=1.0") | ||
%meta(http-equiv="X-UA-Compatible" content="IE=Edge") | ||
%title= title | ||
%link(rel="stylesheet" href="#{context.contextPath}/webjars/bootstrap/3.0.1/css/bootstrap.min.css") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
%script(type="text/javascript" src="/webjars/jquery/2.0.2/jquery.min.js") | ||
%script(type="text/javascript" src="/webjars/bootstrap/3.0.1/js/bootstrap.min.js") | ||
%script(type="text/javascript" src="#{context.contextPath}/webjars/jquery/2.0.2/jquery.min.js") | ||
%script(type="text/javascript" src="#{context.contextPath}/webjars/bootstrap/3.0.1/js/bootstrap.min.js") |
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
Oops, something went wrong.