the above mentioned classes throw errors or just don't appear in the latest nightly.
Announcement
Collapse
No announcement yet.
X
-
Test code used:
Code:package com.fileee.client; import java.util.ArrayList; import com.smartgwt.client.widgets.form.DynamicForm; import com.smartgwt.client.widgets.form.fields.ButtonItem; import com.smartgwt.client.widgets.form.fields.FormItem; import com.smartgwt.client.widgets.form.fields.SectionItem; import com.smartgwt.client.widgets.form.fields.TextItem; import com.smartgwt.client.widgets.layout.VLayout; public class TestClientMarius { public void onModuleLoad() { // HauptFrame VLayout mainLayout = new VLayout(); mainLayout.addMember(getPropertyForm()); mainLayout.draw(); } private DynamicForm getPropertyForm() { final DynamicForm propertyForm = new DynamicForm(); final TextItem titleItem = new TextItem("title"); SectionItem senderSection = new SectionItem(); senderSection.setDefaultValue("section"); senderSection.setSectionExpanded(false); senderSection.setItemIds("title"); ButtonItem saveButton = new ButtonItem("save"); ArrayList<FormItem> fi = new ArrayList<FormItem>(); fi.add(titleItem); fi.add(senderSection); fi.add(saveButton); propertyForm.setFields(fi.toArray(new FormItem[0])); return propertyForm; } }
Exception:
Code:[ERROR] com.google.gwt.core.client.JavaScriptException: (TypeError): this.canvas.setExpanded is not a function [ERROR] fileName: http://127.0.0.1:8888/fileee/sc/modules/ISC_Forms.js [ERROR] lineNumber: 2150 [ERROR] stack: isc_SectionItem_collapseSection()@http://127.0.0.1:8888/fileee/sc/modules/ISC_Forms.js:2150 [ERROR] isc_DynamicForm__addItems([object Array],null,true,true)@http://127.0.0.1:8888/fileee/sc/modules/ISC_Forms.js:268 [ERROR] isc_DynamicForm_setItems([object Array],true)@http://127.0.0.1:8888/fileee/sc/modules/ISC_Forms.js:253 [ERROR] isc_DynamicForm_initWidget([object Object],(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0))@http://127.0.0.1:8888/fileee/sc/modules/ISC_Forms.js:240 [ERROR] isc_Canvas_init([object Object],(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0))@http://127.0.0.1:8888/fileee/sc/modules/ISC_Core.js:1889 [ERROR] isc_Class_completeCreation([object Object],(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0),(void 0))@http://127.0.0.1:8888/fileee/sc/modules/ISC_Core.js:335 [ERROR] isc_c_Class_create([object Object])@http://127.0.0.1:8888/fileee/sc/modules/ISC_Core.js:205 [ERROR] ()@http://127.0.0.1:8888:804 [ERROR] connect("http://127.0.0.1:8888/fileee/index.html?gwt.codesvr=127.0.0.1:9997#TILES","n]CkW3@FG&?1Al>j","127.0.0.1:9997","fileee","2.1")@:0 [ERROR] ((void 0),"fileee","http://127.0.0.1:8888/fileee/",0)@http://127.0.0.1:8888/fileee/hosted.html?fileee:281 [ERROR] A()@http://127.0.0.1:8888/fileee/fileee.nocache.js:2 [ERROR] (23)@http://127.0.0.1:8888/fileee/fileee.nocache.js:10 [ERROR] [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) [ERROR] at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:552) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) [ERROR] at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) [ERROR] at com.smartgwt.client.widgets.form.DynamicForm.create(DynamicForm.java) [ERROR] at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:356) [ERROR] at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1071) [ERROR] at com.fileee.client.TestClientMarius.onModuleLoad(TestClientMarius.java:20) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [ERROR] at java.lang.reflect.Method.invoke(Method.java:597) [ERROR] at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:397) [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:183) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510) [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) [ERROR] at java.lang.Thread.run(Thread.java:619)
i used firefox 3.6.1 and the latest nightly.Last edited by xelibrety; 28 Sep 2010, 11:06.
Comment
Comment