Skip to content
Johannes Geppert edited this page Aug 26, 2022 · 2 revisions

Upgrade Guide

Struts2 jQuery 5.0.0 Upgrade Guide

  • discontinuation of struts2-jquery-mobile (since jQuery Mobile is discontinued)
  • head attribute loadfromgoogle was renamed to loadfromcdn (jQuery CDN is now used)
  • removed deprecated resizableDelay and resizableDistance
  • removed deprecated draggableDelay and draggableDistance
  • removed deprecated selectableDelay and selectableDistance
  • removed deprecated sortableDistance and sortableDelay
  • removed deprecated droppableActiveClass and droppableHoverClass in favor of the classes attibute
  • for migration: droppableActiveClass="ui-state-active" dropableHoverClass="ui-state-hover" becomes droppableClasses="{'ui-droppable-active': 'ui-state-active', 'ui-droppable-hover': 'ui-state-hover'}"

Struts2 jQuery 3.7.0 Upgrade Guide

In Struts 2.3.16 the interface org.apache.struts2.views.TagLibrary was removed and replaced by two interfaces org.apache.struts2.views.TagLibraryDirectiveProvider and org.apache.struts2.views.TagLibraryModelProvider. This means that Struts2 jQuery Plugin version 3.7.0 and higher is not compatible to any Struts release before 2.3.16.

Struts2 jQuery 3.6.0 Upgrade Guide

Dialog Tag

  • Attribute zindex was removed
  • Support for new attribute appendTo

Struts2 jQuery 3.5.0 Upgrade Guide

Accordion Tag

  • Attributes autoHeight, clearStyle, and fillSpace are removed and merged into new attribute heightStyle
  • Attribute animated is replaced by attribute animate which can be a Boolean, Number or JavaScript Object Value

Tabbedpanel Tag

Spinner Tag

The Spinner Tag is now based on the jQuery UI Spinner Widget.

  • Attributes point, showOn, suffix, and prefix are removed.
  • New attributes culture, numberFormat, incremental and page.
Clone this wiki locally