-
Notifications
You must be signed in to change notification settings - Fork 51
UpgradeGuide
Johannes Geppert edited this page Aug 26, 2022
·
2 revisions
- 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"
becomesdroppableClasses="{'ui-droppable-active': 'ui-state-active', 'ui-droppable-hover': 'ui-state-hover'}"
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.
- Attribute zindex was removed
- Support for new attribute appendTo
- 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
- spinner attribute was dropped. See http://jqueryui.com/upgrade-guide/1.9/#deprecated-spinner-option
- Attribute animate is replaced with two new attributes show and hide which can be a Boolean, Number or JavaScript Object Value
- Attributes onAddTopics and onRemoveTopics was dropped. See http://jqueryui.com/upgrade-guide/1.9/#deprecated-add-and-remove-methods-and-events-use-refresh-method
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.
- Home
- Ajax
- UI widgets
- UI interactions
- Resizable for Divs
- Drag and Drop for Divs
- Selectable for Divs
- Sortable for Divs
- Form Elements
- Tasks