Giving SplitPane a whirl in built-in-ds project, throws this error on page load:
Provoking code is
Once I dismiss the browser error, page appears to work as expected.
If I override the default true with SplitPane.setAddHistoryEntries(false), page loads without error, works fine.
Not sure yet if I even need History, but thought I'd post this issue.
---------------------------------------
SmartClient Version: v9.1p_2015-02-19/PowerEdition Deployment (built 2015-02-19)
IE11
No server log errors.
No data calls, no RPC at issue.
Code:
06:22:31.694 [ERROR] [builtinds] 06:22:31.693:ERROR:SplitPane:isc_SplitPane_0:addHistoryEntries is true, but the History module is not loaded.
Stack trace:
SplitPane.$137m()
SplitPane.initWidget(Obj{ID:isc_SplitPane_0}, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef)
Canvas.init(_1=>Obj{ID:isc_SplitPane_0}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
[a]MathFunction.completeCreation(_1=>Obj{ID:isc_SplitPane_0}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
[c]Class.create(_1=>Obj{ID:isc_SplitPane_0}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
anonymous()
anonymous(thisObj=>SplitPane{navigationTitle: "Upload Content",
navigationPane: [VLayout ID:isc_ContentManager_rev00_4_0],
listTitle: "Content",
listPane: [VLayout ID:isc_ContentManager_rev00_2_0],
AUTOIDClass: "SplitPane",
ID: "isc_SplitPane_0",
members: Array[1],
position: "absolute",
className: "normal",
width: 100,
height: 100,
vertical: true,
children: Array[1],
mainLayout: [HLayout ID:isc_SplitPane_0_mainLayout],
leftLayout: [VLayout ID:isc_SplitPane_0_leftLayout],
rightLayout: [VLayout ID:isc_SplitPane_0_rightLayout],
navigationLayout: [VLayout ID:isc_SplitPane_0_navigationLayout],
listLayout: [VLayout ID:isc_SplitPane_0_listLayout],
listToolStrip: [NavigationBar ID:isc_SplitPane_0_listToolStrip],
detailLayout: [VLayout ID:isc_SplitPane_0_detailLayout],
detailToolStrip: [NavigationBar ID:isc_SplitPane_0_detailToolStrip],
navigationBar: [NavigationBar ID:isc_SplitPane_0_navigationBar],
}, dispId=>1245781)
anonymous()
anonymous(errFn=>undef, modName=>"builtinds", modBase=>"http://127.0.0.1:8888/builtinds/", 0)
G()
anonymous()
"if(L){r=true;G()}"
com.smartgwt.client.core.JsObject$SGWT_WARN: 06:22:31.693:ERROR:SplitPane:isc_SplitPane_0:addHistoryEntries is true, but the History module is not loaded.
Stack trace:
SplitPane.$137m()
SplitPane.initWidget(Obj{ID:isc_SplitPane_0}, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef)
Canvas.init(_1=>Obj{ID:isc_SplitPane_0}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
[a]MathFunction.completeCreation(_1=>Obj{ID:isc_SplitPane_0}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
[c]Class.create(_1=>Obj{ID:isc_SplitPane_0}, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
anonymous()
anonymous(thisObj=>SplitPane{navigationTitle: "Upload Content",
navigationPane: [VLayout ID:isc_ContentManager_rev00_4_0],
listTitle: "Content",
listPane: [VLayout ID:isc_ContentManager_rev00_2_0],
AUTOIDClass: "SplitPane",
ID: "isc_SplitPane_0",
members: Array[1],
position: "absolute",
className: "normal",
width: 100,
height: 100,
vertical: true,
children: Array[1],
mainLayout: [HLayout ID:isc_SplitPane_0_mainLayout],
leftLayout: [VLayout ID:isc_SplitPane_0_leftLayout],
rightLayout: [VLayout ID:isc_SplitPane_0_rightLayout],
navigationLayout: [VLayout ID:isc_SplitPane_0_navigationLayout],
listLayout: [VLayout ID:isc_SplitPane_0_listLayout],
listToolStrip: [NavigationBar ID:isc_SplitPane_0_listToolStrip],
detailLayout: [VLayout ID:isc_SplitPane_0_detailLayout],
detailToolStrip: [NavigationBar ID:isc_SplitPane_0_detailToolStrip],
navigationBar: [NavigationBar ID:isc_SplitPane_0_navigationBar],
}, dispId=>1245781)
anonymous()
anonymous(errFn=>undef, modName=>"builtinds", modBase=>"http://127.0.0.1:8888/builtinds/", 0)
G()
anonymous()
"if(L){r=true;G()}"
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.smartgwt.client.widgets.layout.SplitPane.create(SplitPane.java)
at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:471)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:304)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at com.smartgwt.client.widgets.layout.SplitPane.showListPane(SplitPane.java)
at com.smartgwt.sample.client.ContentManager_rev00.makeSplitPane(ContentManager_rev00.java:52)
at com.smartgwt.sample.client.ContentManager_rev00.createRootLayoutContainer(ContentManager_rev00.java:35)
at com.smartgwt.sample.client.ContentManager_rev00.onModuleLoad(ContentManager_rev00.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:411)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:724)Code:
private Canvas makeSplitPane() {
SplitPane splitPane = new SplitPane();
splitPane.setNavigationTitle("Navigation");
splitPane.setNavigationPane(new VLayout());
splitPane.setListTitle("List");
splitPane.setListPane(new VLayout());
splitPane.showListPane();
splitPane.setDetailTitle("Detail");
splitPane.setDetailPane(new VLayout());
return splitPane;
}If I override the default true with SplitPane.setAddHistoryEntries(false), page loads without error, works fine.
Not sure yet if I even need History, but thought I'd post this issue.
---------------------------------------
SmartClient Version: v9.1p_2015-02-19/PowerEdition Deployment (built 2015-02-19)
IE11
No server log errors.
No data calls, no RPC at issue.