You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**IMPORTANT** ALL LAYOUT DEFINITIONS UPDATED - All inline scripts and occurences of `document.write` were removed.
8
+
- Spring Version: This change should be transparent unless custom layouts were created in client applications.
9
+
- Struts/JSP Version: All tiles templates must be updated from sample project (src/main/webapp/templates/*.
10
+
-**IMPORTTANT** Functions that were deprecated long ago were removed in this version.
11
+
5
12
## v2.6.0
6
13
7
14
-**IMPORTANT** The GCWeb site footer has been updated to reflect the changes introduced in WET footer version 4. These changes will be applied automatically. For more information, please visit the WET documentation: https://wet-boew.github.io/GCWeb/sites/footers/footers-en.html
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/main/java/goc/webtemplate/component/AbstractCoreBean.java
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/main/java/goc/webtemplate/component/jsonentities/CdnEnvironment.java
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/test/java/goc/webtemplate/component/abstractcorebeantest/RenderAppTopTest.java
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@
12
12
importgoc.webtemplate.InfoBanner;
13
13
importgoc.webtemplate.MenuItem;
14
14
15
+
/**
16
+
* This contains tests for RenderAppSetup in relation with the AppTop attributes,
17
+
* see the other RenderXXX classes for further tests.
18
+
*/
15
19
publicclassRenderAppTopTest {
16
20
17
21
@Test
@@ -26,7 +30,7 @@ public void testCustomMenuItem() {
26
30
menuLinks.add(item);
27
31
sut.setMenuLinks(menuLinks);
28
32
29
-
assertTrue(sut.getRenderAppTop().contains("\"menuLinks\":[{\"href\":\"https//google.ca\",\"text\":\"Custom Menu Link\",\"acronym\":\"acronym\""),
33
+
assertTrue(sut.getRenderAppSetup().contains("\"menuLinks\":[{\"href\":\"https//google.ca\",\"text\":\"Custom Menu Link\",\"acronym\":\"acronym\""),
30
34
"RenderTop: Custom MenuItem not rendered as expected.");
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/test/java/goc/webtemplate/component/abstractcorebeantest/RenderFooterTest.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@
10
10
importgoc.webtemplate.ContextualFooter;
11
11
importgoc.webtemplate.FooterLink;
12
12
13
+
/**
14
+
* This contains tests for RenderSetup in relation with the Footer attributes,
15
+
* see the other RenderXXX classes for further tests.
16
+
*/
13
17
publicclassRenderFooterTest {
14
18
15
19
@Test
@@ -19,7 +23,7 @@ public void testHideMainCorporateFooter() {
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/test/java/goc/webtemplate/component/abstractcorebeantest/RenderPreFooterTest.java
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,21 @@
5
5
importorg.junit.jupiter.api.Test;
6
6
importgoc.webtemplate.Constants;
7
7
8
+
/**
9
+
* This contains tests for RenderSetup in relation with the preFooter attributes,
10
+
* see the other RenderXXX classes for further tests.
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/test/java/goc/webtemplate/component/abstractcorebeantest/RenderRefFooterTest.java
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/test/java/goc/webtemplate/component/abstractcorebeantest/RenderRefTopTest.java
+20-16Lines changed: 20 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -6,37 +6,41 @@
6
6
7
7
importgoc.webtemplate.WebAnalyticsInfo;
8
8
9
+
/**
10
+
* This contains tests for RenderSetup in relation with the refTop attributes,
11
+
* see the other RenderXXX classes for further tests.
Copy file name to clipboardExpand all lines: gocwebtemplate-core/gocwebtemplate-core-base/src/test/java/goc/webtemplate/component/abstractcorebeantest/RenderSetupTest.java
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@
7
7
/**
8
8
* This contains tests for RenderSetup in relation with the top-most attributes,
9
9
* see the other RenderXXX classes for further tests.
10
-
*
11
10
*/
12
11
publicclassRenderSetupTest {
13
12
@Test
@@ -72,11 +71,4 @@ public void testRenderSplashSetup() {
72
71
//splash must be present
73
72
assertTrue(json.contains("\"splash\":{"));
74
73
}
75
-
76
-
//TODO: Update other tests
77
-
//TODO: Get rid of RefTop and RefFooter (if no longer used)... and maybe getLocalPath() and other unused functions that were used to build these objects.
0 commit comments