Upgrade to Wicket 10

Upgrade Wicket from version 9 to version 10 as part of the migration from brXM 15.x to 16.y.

Apache Wicket is the web framework used in the CMS web application. In brXM 16, Wicket has been upgraded from version 9.14 to 10.0.

Update Custom Wicket Code for Version 10

If your implementation project includes custom Wicket code, you must update it for compatibility with Wicket 10. Refer to the official migration guide: Migration to Wicket 10.0.

Commons FileUpload Changes

This upgrade also updates Commons FileUpload from commons-fileupload:1.5 to commons-fileupload2-core and commons-fileupload2-jakarta-servlet5:2.0.0-M2.

Update your Java import statements from:

org.apache.commons.fileupload

to:

org.apache.commons.fileupload2.core

Additionally, the following protected methods have updated signatures:

  • protected org.hippoecm.frontend.plugins.jquery.upload.behaviors.AjaxFileUploadBehavior#preProcess
  • protected org.hippoecm.frontend.plugins.jquery.upload.behaviors.AjaxFileUploadBehavior#onAfterUpload

The fileItem argument type has changed from:

org.apache.commons.fileupload.FileItem

to

org.apache.commons.fileupload2.core.FileItem<?>

Update your method signatures and code to use the new type.

Share Feedback
Page: /about/upgrade-guides/v15-v16/upgrade-to-wicket-10
Section: About
Category *
8. Upgrade to Wicket 10 | Bloomreach Content Documentation