Skip to content

Commit

Permalink
SAK-50092 Term Manager upgrade to wicket 9 (sakaiproject#12600)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff authored May 18, 2024
1 parent 495dc12 commit 6e1f060
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/term-manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<my.wicket.version>8.15.0</my.wicket.version>
<my.wicket.version>9.17.0</my.wicket.version>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,18 @@ public class AcademicSessionAdminApplication extends WebApplication {
protected void init() {

//Configure for Spring injection
getComponentInstantiationListeners().add(new SpringComponentInjector(this));
getComponentInstantiationListeners().add(new SpringComponentInjector(this));


//Don't throw an exception if we are missing a property, just fallback
getResourceSettings().setThrowExceptionOnMissingResource(false);

//Remove the wicket specific tags from the generated markup
getMarkupSettings().setStripWicketTags(true);


// We handle CSP centrally
getCspSettings().blocking().disabled();

// On Wicket session timeout, redirect to main page
getApplicationSettings().setPageExpiredErrorPage(getHomePage());
getApplicationSettings().setAccessDeniedPage(getHomePage());
Expand Down

0 comments on commit 6e1f060

Please sign in to comment.