Hybrid View
-
9 Jul 2012 1:17 PM #1
GXT 2.2.5 future support and GWT 2.5.x compatibility
GXT 2.2.5 future support and GWT 2.5.x compatibility
What is Sencha's plan for supporting GXT 2.2.5+ in the future?
Does GXT 2.2.5 work with GWT 2.5.x (RC)?
Best,
-- Thomas
UC Davis
-
28 Nov 2012 1:54 AM #2
Hello, anyone can provide information about compatibility with GWT 2.5?
-
3 Dec 2012 8:55 PM #3
Both GXT 2 and 3 seem to be working correctly with GWT 2.5.0, with one small exception. There was a regression created in GWT 2.5 where a class is missing from the gwt-servlet.jar file, so that any library (including both GXT 2 and 3) that wants to use the class GWT (such as for GWT.isClient()) on the server, and be compatible with both 2.4.0 and 2.5.0 will have problems.
The bug, reported in the GWT issue tracker:
http://code.google.com/p/google-web-...detail?id=7527
This can most easily be fixed by also including the requestfactory-server.jar in your server's WEB-INF/lib/ directory. As an alternative, you could copy the com.google.gwt.core.client.GWTBridge class and put it on your own classpath, in the package where it belongs. Both of these fixes are documented in the linked issue, and have been demonstrated to work.
As is indicated in the linked issue, the bug has been fixed, and will be released in a future GWT version, but in the meantime, these workarounds will get you past this issue.
One more issue to those upgrading from much older versions of GWT: Make sure you use the right gxt.jar file. There are three such jars included in the GXT download, depending on which version of GWT you are using. Make sure to use the one labeled gxt-2.x.x-gwt22.jar, the jar compatible with all versions of GWT newer than 2.2.
-
15 Jan 2013 6:57 PM #4
Has anyone used the LiveGridView under GWT 2.5? I seem to be getting an infinite update loop:
Code:com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded at Unknown.$collect(JsArrayString.java:42) at Unknown.fillInStackTrace_1(StackTraceCreator.java:174) at Unknown.fillInStackTrace(StackTraceCreator.java:501) at Unknown.$fillInStackTrace(Throwable.java:72) at Unknown.$$init_936(Throwable.java:46) at Unknown.Throwable_0(Throwable.java:49) at Unknown.Exception_0(Exception.java:25) at Unknown.RuntimeException_0(RuntimeException.java:25) at Unknown.JavaScriptException_1(JavaScriptException.java:115) at Unknown.JavaScriptException_0(JavaScriptException.java:107) at Unknown.caught_0(Exceptions.java:29) at Unknown.initDim(Array.java:138) at Unknown.$$init_1295(ArrayList.java:64) at Unknown.ArrayList_2(ArrayList.java:81) at Unknown.$checkHyphenCache(ComputedStyleImpl.java:52) at Unknown.getStyleAttribute_0(ComputedStyleImpl.java:30) at Unknown.$getStyleAttribute_0(El.java:1391) at Unknown.$getFrameWidth(El.java:1115) at Unknown.$setWidth_1(El.java:2895) at Unknown.setWidth(El.java:2893) at Unknown.$updateWidth(ColumnHeader.java:295) at Unknown.$updateColumnWidth_1(ColumnHeader.java:890) at Unknown.$updateAllColumnWidths(GridView.java:1971) at Unknown.updateAllColumnWidths_0(LiveGridView.java:437) at Unknown.fitColumns(GridView.java:1045) at Unknown.$layout_6(GridView.java:1409) at Unknown.layout_5(GridView.java:1389) at Unknown.$layout_5(GridView.java:533) at Unknown.calculateVBar_0(LiveGridView.java:213) at Unknown.$refresh_1(GridView.java:578) at Unknown.refresh_3(LiveGridView.java:134) at Unknown.$onClear_0(GridView.java:1516) at Unknown.storeClear_1(GridView.java:1318) at Unknown.$handleEvent_14(StoreListener.java:24) at Unknown.handleEvent_14(StoreListener.java:19) at Unknown.$callListener(BaseObservable.java:178) at Unknown.$fireEvent(BaseObservable.java:86) .....lines repeat a couple hundred thousand times... at Unknown.removeAll_1(Store.java:472) at Unknown.$updateRows(LiveGridView.java:496) at Unknown.updateAllColumnWidths_0(LiveGridView.java:439) at Unknown.fitColumns(GridView.java:1045) at Unknown.$layout_6(GridView.java:1409) at Unknown.layout_5(GridView.java:1389) at Unknown.$layout_5(GridView.java:533) at Unknown.calculateVBar_0(LiveGridView.java:213) at Unknown.$refresh_1(GridView.java:578) at Unknown.refresh_3(LiveGridView.java:134) at Unknown.$onClear_0(GridView.java:1516) at Unknown.storeClear_1(GridView.java:1318) at Unknown.$handleEvent_14(StoreListener.java:24) at Unknown.handleEvent_14(StoreListener.java:19) at Unknown.$callListener(BaseObservable.java:178) at Unknown.$fireEvent(BaseObservable.java:86) at Unknown.removeAll_1(Store.java:472) at Unknown.$updateRows(LiveGridView.java:496) at Unknown.execute_23(LiveGridView.java:417) at Unknown.$doExecuteCommands(CommandExecutor.java:291) at Unknown.run_15(CommandExecutor.java:205) at Unknown.fire(Timer.java:149) at Unknown.anonymous(Timer.java:68) at Unknown.apply(Impl.java:189) at Unknown.entry0(Impl.java:242) at Unknown.anonymous(Impl.java:70)
-
15 Jan 2013 7:18 PM #5
kjordan, that looks like an issue that also is present with GWT 2.4, related to resizing the LiveGridView. I know this is fixed in GXT 3 (and works in either GWT 2.4 or 2.5), but I'm not sure if we have a fix in GXT 2.
Can you provide a working example where this can be reproduced with GWT 2.5 but not GWT 2.4? That seems that it would point to a bug in GWT itself, but without more details, I can't be certain.
-
16 Jan 2013 2:55 PM #6
Looks like fixing the LiveGridView issue is as easy as extending it and putting a flag around the super.updateRows call:
Code:@Override protected void updateRows(int newIndex, boolean reload) { if (this.updateInProgress) { return; } this.updateInProgress = true; super.updateRows(newIndex, reload); this.updateInProgress = false; }


Reply With Quote