jschwarz0
27 Jun 2009, 4:20 AM
Hi,
I am getting this error only in webmode, OS X, Firefox/Safari (see below for stack).
I have tried to repro a sample with no luck.
If I change GroupSummaryView.doAllWidths from:
protected void doAllWidths(List<Integer> ws, int tw)
{
NodeList<Element> gs = getGroups();
for(int i = 0, len = gs.getLength(); i < len; i++)
{
Element s = gs.getItem(i).getChildNodes().getItem(2).cast();
to:
protected void doAllWidths(List<Integer> ws, int tw)
{
if(!enableGrouping)
return;
NodeList<Element> gs = getGroups();
for(int i = 0, len = gs.getLength(); i < len; i++)
{
Element s = gs.getItem(i).getChildNodes().getItem(2).cast();
the problem goes away.
Does this make sense to the gxt team?
Anything else I might try?
Jim
---------
Firebug trace:
[FATAL] Uncaught Exception: com.google.gwt.core.client.JavaScriptException: (TypeError): this$static.com_extjs_gxt_ui_client_core_El_dom is undefined fileName: http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html lineNumber: 4571 stack: com_extjs_gxt_ui_client_core_El_$setWidth__Lcom_extjs_gxt_ui_client_core_El_2IZ([object Object],346,false)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:4571 com_extjs_gxt_ui_client_core_El_setWidth__IZ(346,false)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:4829 com_extjs_gxt_ui_client_core_El_setWidth__I(346)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:4825 com_extjs_gxt_ui_client_widget_gridGroupSummaryView_doAllWidths__Ljava_util_List_2I([object Object],346)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:47064
I am getting this error only in webmode, OS X, Firefox/Safari (see below for stack).
I have tried to repro a sample with no luck.
If I change GroupSummaryView.doAllWidths from:
protected void doAllWidths(List<Integer> ws, int tw)
{
NodeList<Element> gs = getGroups();
for(int i = 0, len = gs.getLength(); i < len; i++)
{
Element s = gs.getItem(i).getChildNodes().getItem(2).cast();
to:
protected void doAllWidths(List<Integer> ws, int tw)
{
if(!enableGrouping)
return;
NodeList<Element> gs = getGroups();
for(int i = 0, len = gs.getLength(); i < len; i++)
{
Element s = gs.getItem(i).getChildNodes().getItem(2).cast();
the problem goes away.
Does this make sense to the gxt team?
Anything else I might try?
Jim
---------
Firebug trace:
[FATAL] Uncaught Exception: com.google.gwt.core.client.JavaScriptException: (TypeError): this$static.com_extjs_gxt_ui_client_core_El_dom is undefined fileName: http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html lineNumber: 4571 stack: com_extjs_gxt_ui_client_core_El_$setWidth__Lcom_extjs_gxt_ui_client_core_El_2IZ([object Object],346,false)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:4571 com_extjs_gxt_ui_client_core_El_setWidth__IZ(346,false)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:4829 com_extjs_gxt_ui_client_core_El_setWidth__I(346)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:4825 com_extjs_gxt_ui_client_widget_gridGroupSummaryView_doAllWidths__Ljava_util_List_2I([object Object],346)@http://localhost:8080/x/F94B91E841D93A1A174803EC82A279CB.cache.html:47064