1. SmartClient Version: SNAPSHOT_v8.3d_2012-07-18/LGPL Development Only (built 2012-07-18)
2. Browser: FF 14.1
I have issue when im trying to destroy DynamicForm that only include a Button on CanvasItem !
I just create Dynamic Form and add CanvasItem with Button , and i add use another Button to destroy Dynamic Form , and i have this error
[ERROR] [sampleproject3_1] - 09:54:16.739:DSQ1:WARN:Log:method handleKeyUp on [Button ID:myButtonID] overridden with non-function: 'undefined'
its work fine on 3.0 , Any help please ?
2. Browser: FF 14.1
I have issue when im trying to destroy DynamicForm that only include a Button on CanvasItem !
Code:
VLayout layout = new VLayout(); final DynamicForm form = new DynamicForm(); form.setSize("500", "500"); Button myButton = new Button("Button On CanvasItem"); myButton.setWidth(150); myButton.setID("myButtonID"); Button deleteBTN = new Button("Destroy DynamicForm"); deleteBTN.setWidth(150); deleteBTN.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { form.markForDestroy(); } }); CanvasItem cavasItem = new CanvasItem(); cavasItem.setCanvas(myButton); cavasItem.setShowTitle(false); form.setItems(cavasItem); layout.addMember(deleteBTN); layout.addMember(form); layout.draw();
[ERROR] [sampleproject3_1] - 09:54:16.739:DSQ1:WARN:Log:method handleKeyUp on [Button ID:myButtonID] overridden with non-function: 'undefined'
Code:
09:54:16.745 [ERROR] [sampleproject3_1] 09:54:16.739:DSQ1:WARN:Log:method handleKeyUp on [Button ID:myButtonID] overridden with non-function: 'undefined' com.smartgwt.client.core.JsObject$SGWT_WARN: 09:54:16.739:DSQ1:WARN:Log:method handleKeyUp on [Button ID:myButtonID] overridden with non-function: 'undefined' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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:167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.smartgwt.client.widgets.BaseWidget.destroy(BaseWidget.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:167) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Unknown Source)
Comment