ok .. on html form I am having <input type="button" id="btn" value="submit">
where I have to do pop up thing for buttons but I am getting following error [ERROR] Unable to load module entry point class my.pkg.client.Popup (see associated exception for details) java.lang.AssertionError: null at com.google.gwt.dom.client.ButtonElement$.as(ButtonElement.java:33) at com.google.gwt.user.client.ui.Button.<init>(Button.java:125) at com.google.gwt.user.client.ui.Button.wrap(Button.java:55) at my.pkg.client.Popup.onModuleLoad(Popup.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:326) at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:343) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$300(BrowserWidgetIE6.java:37) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad(BrowserWidgetIE6.java:77) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke(BrowserWidgetIE6.java:161) at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294) at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) On Tue, Sep 29, 2009 at 6:02 PM, Ian Bambury <ianbamb...@gmail.com> wrote: > Your subject line is "how to get values in gwt". > If you are having a problem with ext then you should post your question in > an ext forum not a gwt forum. > Ian > > http://examples.roughian.com > > > 2009/9/29 Saurabh Naik <saurabhsn...@gmail.com> > > I am using gwt ext but there is no wrap method. >> >> >> On Tue, Sep 15, 2009 at 4:49 PM, Ian Bambury <ianbamb...@gmail.com>wrote: >> >>> You need to wrap it, e.g. >>> TextBox t = TextBox.wrap(RootPanel.get("name").getElement()); >>> >>> and then use that. >>> >>> Ian >>> >>> http://examples.roughian.com >>> >>> >>> 2009/9/15 Saurabh Naik <saurabhsn...@gmail.com> >>> >>> Hello >>>> >>>> suppose there is one textbox in my html form. and I want to take >>>> the value which is entered in my gwt i.e in my onModuleLoad() function. how >>>> to take value ? >>>> >>>> e.g there is textbox >>>> >>>> <input type="text" id ="name"> >>>> >>>> String name = (String) rootpanel.get("name").getValue... but there is no >>>> get value method... >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---