Upgrade to Wicket 10

Upgrade Wicket from v9 to v10 in your implementation project to upgrade from Bloomreach Experience Manager 15.x to 16.y.

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

Migrate Custom Wicket Code to v10

If there are Wicket customizations in your implementation project, these need to be adapted. Migration documentation is available at https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+10.0.

Commons Fileupload

The upgrade includes a Commons FileUpload upgrade from commons-fileupload:1.5 to commons-fileupload2-core and commons-fileupload2-jakarta-servlet5:2.0.0-M2.

Consequently, you must update imports in your Java classes from:

org.apache.commons.fileupload

to:

org.apache.commons.fileupload2.core

In addition, the following protected methods have changed slightly:

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

The type of their fileItem argument changed from:

org.apache.commons.fileupload.FileItem

to

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

(with wildcard). Update your code accordingly.

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?