Skip to content

Migration Guide To ExtJS 5

chrismayer edited this page Nov 14, 2014 · 2 revisions

This is a work-in-progress document!

General

This document offers a migration guide to port your GeoExt applications to the up-to-come GeoExt which will be compatible to Extjs 5.

The general upgrade guide from ExtJS 4 to ExtJS 5 can be found here: http://docs.sencha.com/extjs/5.0/whats_new/5.0/extjs_upgrade_guide.html

Subclasses of GeoExt.slider.MapPanelItem

Custom components inheriting from GeoExt.slider.MapPanelItem they have to be adapted, so they do not have a function named bind. This name is a kind of reserved config property (see http://docs.sencha.com/extjs/5.0.1/#!/api/Ext.slider.Single-cfg-bind) so an overwrite with a function enforces an exception in Ext.mixins.Bindable when destroying such a component with its 'destroy' function. For the GeoExt-internal subclasses of GeoExt.slider.MapPanelItem (GeoExt.slider.LayerOpacity and GeoExt.slider.Zoom) the adaption has been done in commit 3887196b47126440f3256fd26a182dd5232b337d