Possible to run unit tests against external server?
I'm building a Facebook app that runs of Google App Engine. The problem is that a lot of the server logic depends on the cookies and the server has to be external (accessible to Facebook). How can I run unit tests against the deployed version on GAE rather than the local server? I've tried the Eclipse proxy thing, but it doesn't seem to be passing cookies. In general, how would you run unit tests against a deployed version of the app? -- 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-tool...@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.
Firefox can't establish a connection to the server at localhost:8888 when I testing gwt 2.0
Hi, All the following is when I test the gwt 2.0. I create one application using webAppCreator and after I did ant devmode, and I copy the suggest url to Firefox, chrome and i.e but it doesn't work. I got the following message: Firefox can't establish a connection to the server at localhost:. I installed the gwt pluggin in all the previous browsers from http://gwt.google.com/samples/MissingPlugin/MissingPlugin.html but with that it doesn't work too. I create a new project in eclipse 3.5 using gwt 2.0 plugin but it doesn't work too, the same messages appears in the browser. Some body knows what could be wrong. Thanks. -- 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-tool...@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.
Re: 1.7->2.0 hosted mode no longer working
Hi Cris, I create one application using webAppCreator and after I did ant devmode, and I copy the suggest url to Firefox, chrome and i.e but it doesn't work. I get the following message: Firefox can't establish a connection to the server at localhost:. I installed the gwt pluggin in all the previous browsers from http://gwt.google.com/samples/MissingPlugin/MissingPlugin.html but with that it doesn't work too. I create a new project in eclipse 3.5 using gwt 2.0 plugin but it doesn't work, the same messages appears in the browser. Do you know what could be wrong. Thanks. On 16 dic, 09:15, Chris Ramsdale wrote: > Derek, > > GWT 2.0 still allows you to debug using external servers. To do this though, > you'll need to update your launch configs to pass in -noserver and > -startupUrl. Below is a previous thread that talks about this in more > detail. > > http://groups.google.com/group/google-web-toolkit/browse_thread/threa... > > - Chris > > > > On Mon, Dec 14, 2009 at 1:45 PM, Derek wrote: > > Hi > > > I had my GWT app running in hosted mode last week with GWT 1.7, > > Eclipse 3.5, GXT with the server side hosted by IIS. > > > So I upgraded to GWT 2.0, upgraded the plugin in Eclipse, downloaded > > the GWT 2.0 SDK and am trying to get my application running once > > again. So far no luck though. > > > My old run configurations are still in Eclipse, it was originally > > setup so that I was not running the built in server (since we have IIS > > on the backend) and we had this for program arguments: -whitelist > > "http://localhost/war/KryptoniteDesktop.html";. > > > If I launch my old run configuration I get the new Development Mode > > window which shows the following URL to view in development mode: > >http://localhost:/KryptoniteDesktop.html?gwt.codesvr=172.17.3.67:... > > > However this doesn't work, when I point my browser to the suggested > > URL I get the following: > > Firefox can't establish a connection to the server at localhost:. > > > I don't know why its referencing localhost: given I don't have the > > checkbox for the built in server checked. I can't find anything that > > discusses using the new Development mode when not using the built in > > server. > > > Do I need to use the bult in server when in Development Mode of GWT > > 2.0? > > > Any idea how to configure this so I can debug my application again? > > > Thanks, Derek > > > -- > > > 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-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@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.
How can I work with other people's code in Eclipse?
Hey guys, I've been trying for the longest time now to find a way to work with other peoples open source projects in eclipse. I've got their project in a jar file, and I'm trying to find a way to pull it into eclipse and make some modifications. Any help would be much appreciated! Thanks! ~Scott -- 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-tool...@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.
Scroll a TextArea to make the current selection visible?
When I call TextArea.setSelectionRange(pos,length), I'd like the TextArea to scroll if necessary so that the selected block of text is visible. This seems like it would be a pretty common requirement, but I'm struggling to find a complete solution. I've got good solutions for the two most common special cases: // Scroll to the top of a TextArea: getElement().setScrollTop(0); // Scroll to the bottom of a TextArea: getElement().setScrollTop(getElement().getScrollHeight()); Those two special cases seem to be working perfectly in Safari, Firefox, Opera, Chrome, and IE8. But there doesn't seem to be any obvious way to scroll to an arbitrary character position in the document. Has anyone else attempted this? Any suggestions would be greatly appreciated. Jim. -- 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-tool...@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.
GWT slowness problem
I am displaying 843 rows x 8 columns (one date string and 7 ints) from my database using a Table from Google Visualization. I get the data through RPC (List) The problem with it that it takes about 10 seconds to refresh. If i reorder it clicking on the columns it even freezes the browser for 10 seconds. What can i do to make it faster? -- 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-tool...@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.
problem compiling gwt 2.0 using ant
Hi! I'm facing a curious problem when compiling my gwt projects to javascript using ant. The compilations worked perfectly with the previous GWT versions... The most interessant part of the logging text is the following: Validating newly compiled units [java] Removing units with errors [java] [ERROR] Errors in 'jar:file:/home/appdir/.hudson/libraries/gwt/2.0/gwt-user.jar!/com/google/gw t/user/client/ui/DockLayoutPanel.java' [java][ERROR] Line 20: The import com.google.gwt.dom.client.Style.Unit cannot be resolved [java][ERROR] Line 122: Unit cannot be resolved to a type [java][ERROR] Line 132: Unit cannot be resolved to a type [java][ERROR] Line 133: Unit cannot be resolved to a type [java][ERROR] Line 312: Unit cannot be resolved to a type [java][ERROR] Line 313: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 414: Unit cannot be resolved to a type It seems like the gwt compiler doesn't find the class "Style.Unit" used in the class "DockLayoutPanel", although both classes are present in the same jar... On my IDE all works perfectly... Any help will appreciated. Rodrigue -- 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-tool...@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.
Development Mode: "JavaScriptException: (null): null"
This is an exception I get in Development Mode when trying to validate SmartGWT's DynamicForm having FormItemValueParser on one of its fields: com.google.gwt.core.client.JavaScriptException: (null): null at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript (BrowserChannelServer.java:195) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke (ModuleSpaceOOPHM.java:120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean (ModuleSpace.java:179) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean (JavaScriptHost.java:35) at com.smartgwt.client.widgets.form.DynamicForm.validate (DynamicForm.java) at cz.acolyte.caesar.client.Caesar$2.onClick(Caesar.java:72) ...when compiled it works fine. -- 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-tool...@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.
Re: Can't inherit com.google.gwt.dev.util.collect
Hi Jim, I am encountering a same problem. Did you fix it? Could you share please? Thanks On Dec 16, 10:10 pm, Jim wrote: > I'm trying to use the om.google.gwt.dev.util.collect.HashMap class in > my source code, but Eclipse (Galileo 3.5) fails with the following > error: > > Loading inherited module 'com.google.gwt.dev.util.collect' > [ERROR] Unable to find 'com/google/gwt/dev/util/collect.gwt.xml' on > your classpath; could be a typo, or maybe you forgot to include a > classpath entry for source? > [ERROR] Line 10: Unexpected exception while processing element > 'inherits' > > Here is my config file: > > > > > > > > > > > > > > > > > > > > > > > > > > and in my code, I've got : > > import com.google.gwt.dev.util.collect.HashMap; > > HashMap defaultParams = new HashMap(); > defaultParams.put("session_id", Website.sessionID); > > I've looked at the Build Path and it includes the GWT 2.0.0 library > with both the gwt-user.jar and gwt-dev.jar files listed. > > Anybody have any ideas or know what is wrong? > > Thanks! > > Jim -- 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-tool...@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.
Re: Use smartgwt or not
> > With SmartGWT Pro and EE, you can literally open up a visual tool and > create a fully functional CRUD interface to Hibernate by just picking > an existing Hibernate entity from a list. That's not offered in any > other GWT product, and it would be hard to argue that anything could > be simpler or faster than that.. > Does the visual builder generate GWT code yet? I agree that any quick eval is bound to fail, as just s'gwt itself is quite large and needs time to digest and play with. Then there's the integration of whatever you do choose with other toolkits you may need that just add to the time to eval. -- 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-tool...@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.
Re: GWT 2.0 Panels
Actually, they do try to help, anything with a dash/hyphen in it they flag up (e.g. 'border-left'). float/cssFloat is it something that catches a lot of people out (myself included, which is why it sticks in my mind). It isn't really practicable to include a check for everything. Everything you do in Java code needs camelCase/DOM-style (e.g. 'borderLeft') Condiments of the season to you, too :-) Ian http://examples.roughian.com OK, thanks very much, that helps. I wish that the GWT pages would > reference the correct css details (an example would do wonders if > anyone from google listening). > > Merry Christmas, > > Mark > > > On Dec 23, 11:27 am, Ian Bambury wrote: > > You can't use CSS file syntax you have to use DOM style (i.e. 'cssFloat' > not > > 'float'). > > > > Try something like: > > > > FlowPanel searchPanel = new FlowPanel(); > > Label leftPanel = new Label("Left"); // Or whatever > > Label rightPanel = new Label("Right"); > > > > RootPanel.get().add(searchPanel); > > searchPanel.add(leftPanel); > > searchPanel.add(rightPanel); > > > > searchPanel.setWidth("100%"); > > searchPanel.getElement().getStyle().setProperty("border", "1px > solid > > black"); > > > > leftPanel.getElement().getStyle().setProperty("cssFloat", > "left"); > > > > rightPanel.getElement().getStyle().setProperty("cssFloat", > "right"); > > > > Ian > > > > http://examples.roughian.com > > > > 2009/12/23 mwaschkowski > > > > > > > > > Hi, > > > > > I've been having great difficulty with 2.0 panels. I've read over the > > > docs at: > > > > > http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html > > > > > and moved over to standards mode. I've found that a lot of widget that > > > used to display scrollbars just don't anymore. I've tried using the > > > new layoutpanels, but getting hung up now because of sizing issues - I > > > now have to declare the sizes explicitly, and now there are layout > > > issues (some of the page not being displayed depending on the > > > browser). > > > > > Well, first off, I decided to do something simple like replace my > > > horizontal panel with a flow panel. This horizontal panel (hp) was > > > 100% width, had a widget on the left and a widget on the right. > > > Because the docs cautioned that HorizontalPanels might not work with > > > standards mode, I did the following (using the float suggestion in the > > > docs): > > > > >FlowPanel searchPanel = new FlowPanel(); > > >DOM.setElementProperty(searchPanel.getElement(), > "border", > > > "1px > > > solid black"); > > >searchPanel.setWidth("100%"); > > >searchPanel.add(leftPanel); > > >DOM.setElementProperty(leftPanel.getElement(), "float", > > > "left"); > > >searchPanel.add(rightPanel); > > >DOM.setElementProperty(rightPanel.getElement(), "float", > > > "right"); > > > > > As well, I tried to add a border so I could better see the layout. > > > Neither the border is working, nor the floating of the widgets, help! > > > > > Thanks, > > > > > Mark > > > > > -- > > > > > 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-tool...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com cr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > > 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-tool...@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. > > > -- 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-tool...@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.
Re: How to fire event
Firing a change event turns out being simple: package simple.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.event.dom.client.ChangeHandler; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.TextBox; class OurChangeEvent extends ChangeEvent {} public class Simple implements EntryPoint { public void onModuleLoad() { TextBox textBox = new TextBox(); RootPanel.get().add(textBox); textBox.addChangeHandler(new ChangeHandler() { public void onChange(ChangeEvent event) { Window.alert("got change event on textBox"); } }); textBox.fireEvent(new OurChangeEvent()); } } On Dec 15, 5:42 am, HarryClaymore wrote: > Hi. I wonder how could i fire an simple OnChangeEvent for Widget ? > It implements interface HasChangeHandlers. > I just want tofireEventto mark widget as "changed" > > exapmple: > > selectAllButton = DasUtils.mkButton( GenericStrings.SELECT_ALL.toString > (), new Runnable() { > public void run() { > for ( int i = 0; i < lbRef[0].getItemCount(); > i++ ) { > lbRef[0].setItemSelected( i, true ); > } > // SearchFieldAttrIn.this.fireEvent( ); i dont > know what to do > here. > // SearchFieldAttrIn.this.onBrowserEvent( new > ChangeEvent() ); > } > } ); > > Thanks ! -- 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-tool...@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.
Styling the DecoratedPopupPanel
I am trying to make the DecoratedPopupPanel appear in a different color. As far as I can tell changing the DecoratedPopupPanel properties in my css file does not affect the popup inside of the popup at all. For example, I tried introducing the following which had no effect: .gwt-DecoratedPopupPanel .popupMiddleCenter { padding: 3px; background: red; } I also tried, which resulted in the surrounding border of the popup appearing in red: .gwt-DecoratedPopupPanel{ padding: 3px; background-color: red; } Is there a way to change the portion of the popup that, by default, appears in light blue, to something different? Thanks, Daniel -- 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-tool...@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.
Re: GWT 2.0 Panels
OK, thanks very much, that helps. I wish that the GWT pages would reference the correct css details (an example would do wonders if anyone from google listening). Merry Christmas, Mark On Dec 23, 11:27 am, Ian Bambury wrote: > You can't use CSS file syntax you have to use DOM style (i.e. 'cssFloat' not > 'float'). > > Try something like: > > FlowPanel searchPanel = new FlowPanel(); > Label leftPanel = new Label("Left"); // Or whatever > Label rightPanel = new Label("Right"); > > RootPanel.get().add(searchPanel); > searchPanel.add(leftPanel); > searchPanel.add(rightPanel); > > searchPanel.setWidth("100%"); > searchPanel.getElement().getStyle().setProperty("border", "1px solid > black"); > > leftPanel.getElement().getStyle().setProperty("cssFloat", "left"); > > rightPanel.getElement().getStyle().setProperty("cssFloat", "right"); > > Ian > > http://examples.roughian.com > > 2009/12/23 mwaschkowski > > > > > Hi, > > > I've been having great difficulty with 2.0 panels. I've read over the > > docs at: > > > http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html > > > and moved over to standards mode. I've found that a lot of widget that > > used to display scrollbars just don't anymore. I've tried using the > > new layoutpanels, but getting hung up now because of sizing issues - I > > now have to declare the sizes explicitly, and now there are layout > > issues (some of the page not being displayed depending on the > > browser). > > > Well, first off, I decided to do something simple like replace my > > horizontal panel with a flow panel. This horizontal panel (hp) was > > 100% width, had a widget on the left and a widget on the right. > > Because the docs cautioned that HorizontalPanels might not work with > > standards mode, I did the following (using the float suggestion in the > > docs): > > > FlowPanel searchPanel = new FlowPanel(); > > DOM.setElementProperty(searchPanel.getElement(), "border", > > "1px > > solid black"); > > searchPanel.setWidth("100%"); > > searchPanel.add(leftPanel); > > DOM.setElementProperty(leftPanel.getElement(), "float", > > "left"); > > searchPanel.add(rightPanel); > > DOM.setElementProperty(rightPanel.getElement(), "float", > > "right"); > > > As well, I tried to add a border so I could better see the layout. > > Neither the border is working, nor the floating of the widgets, help! > > > Thanks, > > > Mark > > > -- > > > 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-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@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.
Re: Hyperlink ClickHandler help
Yes, I was thinking about it but reading javadoc for Anchor says: "If you want use this anchor only for changing history states, use Hyperlink instead." I will do as you suggest, I am reading too much, instead of writing code myself :-) Thanks. Peter On Dec 24, 2:54 pm, Matt Moriarity wrote: > Perhaps you should be using an Anchor widget instead of a Hyperlink. > If you still need to link in with the history mechanism, you can have > your click handler call History.newItem > > On Dec 23, 9:05 am, Peter Ondruska wrote: > > > > > Dear all, > > > In GWT 2.0 Hyperlink.addClickHandler is deprecated and I should use > > FocusWidget.addClickHandler. However no matter how hard I try I cannot > > get this working. Would you help me please with an example of how to > > add ClickHander to Hyperlink in GWT 2.0. > > > Thank you, > > > Peter -- 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-tool...@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.
Re: Developement mode is not loading spring context
Eclipse 3.5.1 WTP (galileo) 3.1 m2eclipse http://m2eclipse.sonatype.org dev (0.99 ...) spring 3.0.0 GWT plugin 1.2 Spring STS 2.3 Server Side: The server side code runs under wtp. Client Side: The GWT environment run without the (faulty) embedded (jetty) server. The client code (can) run under the plugin just by appending "?gwt.codesvr= 134.40.251.239:9997" to the requested URL. Ok ? On Thu, Dec 24, 2009 at 3:26 PM, fuzebest wrote: > > Being tired with this I'm finally using the noserver configuration > (running > > tomcat/wtp) that works perfectly well. > > Olivier, could you please provide your setup? > Thanks > > -- > > 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-tool...@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. > > > -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi -- 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-tool...@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.
Re: Developement mode is not loading spring context
> Being tired with this I'm finally using the noserver configuration (running > tomcat/wtp) that works perfectly well. Olivier, could you please provide your setup? Thanks -- 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-tool...@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.
Re: Developement mode is not loading spring context
Yep, same conclusion under maven project ... Being tired with this I'm finally using the noserver configuration (running tomcat/wtp) that works perfectly well. On Thu, Dec 24, 2009 at 2:49 PM, fuzebest wrote: > Same here with GWT 2.0 final. > > I think the problem is in the GWT provided Jetty classloader > (somewhere in com.google.gwt.dev.shell.jetty.JettyLauncher > $WebAppContextWithReload) which ignores project classpath and includes > only the war directory content. > But this is only a wild guess... > > -- > > 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-tool...@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. > > > -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi -- 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-tool...@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.
Re: Hyperlink ClickHandler help
Perhaps you should be using an Anchor widget instead of a Hyperlink. If you still need to link in with the history mechanism, you can have your click handler call History.newItem On Dec 23, 9:05 am, Peter Ondruska wrote: > Dear all, > > In GWT 2.0 Hyperlink.addClickHandler is deprecated and I should use > FocusWidget.addClickHandler. However no matter how hard I try I cannot > get this working. Would you help me please with an example of how to > add ClickHander to Hyperlink in GWT 2.0. > > Thank you, > > Peter -- 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-tool...@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.
Re: Developement mode is not loading spring context
Same here with GWT 2.0 final. I think the problem is in the GWT provided Jetty classloader (somewhere in com.google.gwt.dev.shell.jetty.JettyLauncher $WebAppContextWithReload) which ignores project classpath and includes only the war directory content. But this is only a wild guess... -- 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-tool...@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.
Dynamically loading GWT
Hello, It is possible to dynamically load GWT javascript after the hosting html page loads? What I mean is, I don't want to include GWT script in my hosting HTML page. Instead, later at the click of a button would like to include the GWT script dynamically and load the application generated by GWT. Something like: Load App and in the script: function loadApp() { var gwtScript = document.createElement('script'); gwtScript.type = 'text/javascript'; gwtScript.src = 'app/app.nocache.js'; document.getElementsByTagName('head')[0].appendChild(gwtScript); } Currently this doesn't seem to work because app.nocache.js in-turn executes document.write() which doesn't work after the page finishes loading. Can someone suggest me a solution to this? Regards Jayarama Nettar -- 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-tool...@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.
Re: Use smartgwt or not
If "the choice was made quickly" it was probably an uninformed choice. We don't have anyone complaining that there is "less customization" so perhaps you could clarify that. With SmartGWT Pro and EE, you can literally open up a visual tool and create a fully functional CRUD interface to Hibernate by just picking an existing Hibernate entity from a list. That's not offered in any other GWT product, and it would be hard to argue that anything could be simpler or faster than that.. On Dec 19, 7:00 am, "gaill...@audemat.com" wrote: > I use GXT (Ext GWT from extJS) for several months with JBOSS 5.1, the > choice was made quickly between SmartGWT and GXT, GXT offers greater > customization and management of bindings are perfect with annontations > provided by GXTForms 0.2. There is no need to use Gilead or > Hibernate4gwt. -- 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-tool...@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.
Re: RequestBuilder with xml request and xml response
Hi I need to send the some values to server ,that values i have to set to xml nodes . For eg: I have the user name which is entered by user, now i need to send to the server that xml format request. before setting to xml node my request like this after setting my request like this : abac I need send to server like this format. So please give me reply with some samples. On Dec 24, 12:02 am, Malli wrote: > Hi, > some body help me out! i'm new to GWT. > I'm using RequesteBuilder for calling HttpServlet. > > Here my doubts are : > 1.How can we prepare the xml request ? > 2.how can we handle the xml response inside gwt application? > > please give me reply with some samples. -- 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-tool...@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.
How to add attribute "accept-charset" for FormPanel
Hi guys, I want to set the "accept-charset" for my form using FormPanel and I didn't find any operations that meets my requirment.Any one knows how to add attribute "accept-charset" for FormPanel? Thanks. -- 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-tool...@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.
Re: GWT RPC error
Ok! Thank you for answers! On 24 дек, 12:46, Sripathi Krishnan wrote: > > Will my application be translated in javascript in standard way and will > > can I deploy my app in my local network? > > Yes. > > GAE provides only "google's hosting", and If I don't want it, I can safely> > disable this feature and do not lost any functionality, except hosting ? > > Right. > > --Sri > > 2009/12/24 SergeZ > > > > > Thank you for your reply ! The desabling of GAE is helped me ! But > > what consequences i'll get from this disabling ? Will my application > > be translated in javascript in standard way and will can I deploy my > > app in my local network ? And one more =) As i right understood GEA > > provides only "google's hosting", and If I don't want it, I can safely > > disable this feature and do not lost any functionality, except > > hosting ? > > > On 23 дек, 23:32, Sripathi Krishnan > > wrote: > > > There are two separate google projects - GWT and Google App Engine (GAE). > > > > If you use GAE, you *cannot* use Oracle database (or any other database > > for > > > that matter). You are tied to using GAE's data storage mechanism. > > > > If you don't know or care about GAE, just disable it for your project > > (its > > > just a setting in your eclipse project). Once you disable it, you should > > be > > > able to access your Oracle database. > > > > --Sri > > > > 2009/12/23 SergeZ > > > > > Hi everybody!!! Please, help me in solving my problem!!! > > > > > I have the standard simple project. The only customization which is > > > > had been done by me is DB connection (actually Oracle 10g DataBase). > > > > Of course I use the RPC mechanism. Data, retrieved from DB returning > > > > from method with String type. When it's time to do for applicaton an > > > > asyncronous method call, i receiving the such error message: > > > > > Initializing AppEngine server > > > > The server is running athttp://localhost:/ > > > > 23.12.2009 12:33:21 > > > > com.google.appengine.tools.development.ApiProxyLocalImpl log > > > > SEVERE: [1261571601567000] javax.servlet.ServletContext log: Exception > > > > while dispatching incoming RPC call > > > > com.google.gwt.user.server.rpc.UnexpectedException: Service method > > > > 'public abstract java.lang.String > > > > org.kamal.hello.client.HelloWorld.client.GreetingService.greetServer > > > > (java.lang.String)' threw an unexpected exception: > > > > java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. > > > > Please see the Google App Engine developer's guide for more details. > > > >at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure > > > > (RPC.java:378) > > > >at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > > > (RPC.java:581) > > > >at > > com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > > > (RemoteServiceServlet.java:188) > > > >at > > com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost > > > > (RemoteServiceServlet.java:224) > > > >at > > > > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost > > > > (AbstractRemoteServiceServlet.java:62) > > > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > > > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > > >at > > > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > > > 487) > > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > > (ServletHandler.java:1093) > > > >at > > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter > > > > (ServeBlobFilter.java:51) > > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > > (ServletHandler.java:1084) > > > >at > > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter > > > > (TransactionCleanupFilter.java:43) > > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > > (ServletHandler.java:1084) > > > >at > > com.google.appengine.tools.development.StaticFileFilter.doFilter > > > > (StaticFileFilter.java:121) > > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > > (ServletHandler.java:1084) > > > >at org.mortbay.jetty.servlet.ServletHandler.handle > > > > (ServletHandler.java:360) > > > >at org.mortbay.jetty.security.SecurityHandler.handle > > > > (SecurityHandler.java:216) > > > >at org.mortbay.jetty.servlet.SessionHandler.handle > > > > (SessionHandler.java:181) > > > >at org.mortbay.jetty.handler.ContextHandler.handle > > > > (ContextHandler.java:712) > > > >at > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > > > 405) > > > >at > > > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle > > > > (DevAppEngineWebAppContext.java:70) > > > >at org.mortbay.jetty.handler.HandlerWrapper.handle > > > > (HandlerWr
Invitation to connect on LinkedIn
LinkedIn Breno Gomes requested to add you as a connection on LinkedIn: -- anoop, I'd like to add you to my professional network on LinkedIn. - Breno Accept invitation from Breno Gomes http://www.linkedin.com/e/0KTeTtbYtbm5JbSbinTxnAy06bq_5bwL3KeK8pLeUQ4N5xBBedsR/blk/I1681245027_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYTcz0Rd38Ne3oNiiYMjjtytmxBuyYNcPcRe3oVd3ALrCBxbOYWrSlI/EML_comm_afe/ View invitation from Breno Gomes http://www.linkedin.com/e/0KTeTtbYtbm5JbSbinTxnAy06bq_5bwL3KeK8pLeUQ4N5xBBedsR/blk/I1681245027_2/39vdP8MdjgOcjwSckALqnpPbOYWrSlI/svi/ -- Why might connecting with Breno Gomes be a good idea? People Breno Gomes knows can discover your profile: Connecting to Breno Gomes will attract the attention of LinkedIn users. See who's been viewing your profile: http://www.linkedin.com/e/wvp/inv18_wvmp/ -- (c) 2009, LinkedIn Corporation -- 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-tool...@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.
Re: Problem switching to GWT 2.0 from GWT 1.6 (mysql related I think)
I think that if you look at the "root" of the problem you will find that this is an access problem which can be deduced from the line: > Caused by: java.security.AccessControlException: access denied > (java.lang.RuntimePermission modifyThreadGroup) > at java.security.AccessControlContext.checkPermission(Unknown Source) > at java.security.AccessController.checkPermission(Unknown Source) > at java.lang.SecurityManager.checkPermission(Unknown Source) > at com.google.appengine.tools.development.DevAppServerFactory > $CustomSecurityManager.checkPermission(DevAppServerFactory.java:151) > at com.google.appengine.tools.development.DevAppServerFactory > $CustomSecurityManager.checkAccess(DevAppServerFactory.java:176) > at java.lang.ThreadGroup.checkAccess(Unknown Source) > at java.lang.Thread.init(Unknown Source) > at java.lang.Thread.(Unknown Source) > at java.util.TimerThread.(Unknown Source) > at java.util.Timer.(Unknown Source) > at java.util.Timer.(Unknown Source) > at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:208) Notice the "access denied" part. I think this has nothing to do with GWT 2.0. -- 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-tool...@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.
Re: Problem switching to GWT 2.0 from GWT 1.6 (mysql related I think)
. so I think > the problem might be with GWT 2 somehow... I really doubt it. You are trying something that appengine won't let you do AFAIK. You expect it to work locally? I suspect the local appengine environment is closer to the real thing than you think. You may want to check if what you are doing is whitelisted. -- 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-tool...@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.
Re: Problem switching to GWT 2.0 from GWT 1.6 (mysql related I think)
well, at the moment I just try to connect to MySQL locally - as far as I know this does not have anything to do with Google app engine yet (however, it might become a problem once I put it online). so I think the problem might be with GWT 2 somehow... I just don't know how to fix it.. On Dec 24, 11:38 am, Shawn Brown wrote: > I don't think you can make calls to mysql from appengine. Can you? > Anyway that is your issue not 1.6 --> 2.0. -- 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-tool...@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.
Re: Getting RuntimeException in development mode for gwt2.0
> I'm using that with 2.0 fine. What version do you have. I've got 2.6.2 which is I think for gwt 1.7 but ...seems ok. -- 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-tool...@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.
Re: Problem switching to GWT 2.0 from GWT 1.6 (mysql related I think)
I don't think you can make calls to mysql from appengine. Can you? Anyway that is your issue not 1.6 --> 2.0. -- 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-tool...@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.
Re: Problem switching to GWT 2.0 from GWT 1.6 (mysql related I think)
no one having an idea or tip? On Dec 21, 11:36 am, Dominik Erbsland wrote: > I wanted to switch my perfectly runningGWTapplication fromGWT1.6 > toGWT2.0also also put it to the Google App Engine. > > I got many many errors from which I could fix the most. But I still > get an error which I can't find to fix. Here is the error I get > (snippet): > > Initializing AppEngine server > The server is running athttp://localhost:/ > 21.12.2009 10:22:14 com.google.apphosting.utils.jetty.JettyLogger warn > WARNUNG: Nested in javax.servlet.ServletException: init: > java.lang.ExceptionInInitializerError > at com.mysql.jdbc.NonRegisteringDriver.connect > (NonRegisteringDriver.java:283) > at java.sql.DriverManager.getConnection(Unknown Source) > at java.sql.DriverManager.getConnection(Unknown Source) > at ch.myrss.server.DAO.(DAO.java:80) > at ch.myrss.server.DAO.getInstance(DAO.java:60) > at ch.myrss.server.RPCServiceImpl.(RPCServiceImpl.java:50) > 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 java.lang.Class.newInstance0(Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) > at org.mortbay.jetty.servlet.ServletHolder.getServlet > (ServletHolder.java:339) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 463) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > (ServletHandler.java:1093) > at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter > (ServeBlobFilter.java:51) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > (ServletHandler.java:1084) > at > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter > (TransactionCleanupFilter.java:43) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > (ServletHandler.java:1084) > at com.google.appengine.tools.development.StaticFileFilter.doFilter > (StaticFileFilter.java:121) > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > (ServletHandler.java:1084) > at org.mortbay.jetty.servlet.ServletHandler.handle > (ServletHandler.java:360) > at org.mortbay.jetty.security.SecurityHandler.handle > (SecurityHandler.java:216) > at org.mortbay.jetty.servlet.SessionHandler.handle > (SessionHandler.java:181) > at org.mortbay.jetty.handler.ContextHandler.handle > (ContextHandler.java:712) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 405) > at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle > (DevAppEngineWebAppContext.java:70) > at org.mortbay.jetty.handler.HandlerWrapper.handle > (HandlerWrapper.java:139) > at com.google.appengine.tools.development.JettyContainerService > $ApiProxyHandler.handle(JettyContainerService.java:352) > at org.mortbay.jetty.handler.HandlerWrapper.handle > (HandlerWrapper.java:139) > at org.mortbay.jetty.Server.handle(Server.java:313) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 506) > at org.mortbay.jetty.HttpConnection$RequestHandler.content > (HttpConnection.java:844) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > at org.mortbay.io.nio.SelectChannelEndPoint.run > (SelectChannelEndPoint.java:396) > at org.mortbay.thread.BoundedThreadPool$PoolThread.run > (BoundedThreadPool.java:442) > Caused by: java.security.AccessControlException: access denied > (java.lang.RuntimePermission modifyThreadGroup) > at java.security.AccessControlContext.checkPermission(Unknown Source) > at java.security.AccessController.checkPermission(Unknown Source) > at java.lang.SecurityManager.checkPermission(Unknown Source) > at com.google.appengine.tools.development.DevAppServerFactory > $CustomSecurityManager.checkPermission(DevAppServerFactory.java:151) > at com.google.appengine.tools.development.DevAppServerFactory > $CustomSecurityManager.checkAccess(DevAppServerFactory.java:176) > at java.lang.ThreadGroup.checkAccess(Unknown Source) > at java.lang.Thread.init(Unknown Source) > at java.lang.Thread.(Unknown Source) > at java.util.TimerThread.(Unknown Source) > at java.util.Timer.(Unknown Source) > at java.util.Timer.(Unknown Source) > at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:208) > ...
Re: facing problem while running gwt in mozilla firefox.
thats what the problem is. iam not getting any java script errors or anything. th moment i hit the compile button it opens up in the firefox but nothing is displayed et'll. the page goes absolute blank. On Dec 24, 2:57 pm, Sripathi Krishnan wrote: > What *exactly* is the problem? Any error messages? Any code snippets? > > --Sri > > 2009/12/24 saurav > > > > > hi all, > > > i am facing problem while hosting my gwt application in web mode using > > mozilla firefox. > > the version of the gwt which i am using is 1.4.6 and firefox 3.5. > > the application is running all fine on internet explorer. > > kindly help. > > its urgent. > > > regards > > saurav > > > -- > > > 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-tool...@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.- Hide quoted text - > > - Show quoted text - -- 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-tool...@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.
Re: facing problem while running gwt in mozilla firefox.
What *exactly* is the problem? Any error messages? Any code snippets? --Sri 2009/12/24 saurav > hi all, > > i am facing problem while hosting my gwt application in web mode using > mozilla firefox. > the version of the gwt which i am using is 1.4.6 and firefox 3.5. > the application is running all fine on internet explorer. > kindly help. > its urgent. > > > regards > saurav > > -- > > 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-tool...@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. > > > -- 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-tool...@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.
facing problem while running gwt in mozilla firefox.
hi all, i am facing problem while hosting my gwt application in web mode using mozilla firefox. the version of the gwt which i am using is 1.4.6 and firefox 3.5. the application is running all fine on internet explorer. kindly help. its urgent. regards saurav -- 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-tool...@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.
Re: Convenience callback method
See the recently added tutorial on MVP http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html Specifically, see the code for the class AppController. --Sri 2009/12/24 bhomass > could some one point out an avenue for finding answers to this > question. I am sure if google is provide these design guides, they > should have communication channels for Q/A. > > -- > > 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-tool...@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. > > > -- 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-tool...@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.
Re: GWT RPC error
> > Will my application be translated in javascript in standard way and will > can I deploy my app in my local network? > Yes. GAE provides only "google's hosting", and If I don't want it, I can safely > disable this feature and do not lost any functionality, except hosting ? > Right. --Sri 2009/12/24 SergeZ > Thank you for your reply ! The desabling of GAE is helped me ! But > what consequences i'll get from this disabling ? Will my application > be translated in javascript in standard way and will can I deploy my > app in my local network ? And one more =) As i right understood GEA > provides only "google's hosting", and If I don't want it, I can safely > disable this feature and do not lost any functionality, except > hosting ? > > On 23 дек, 23:32, Sripathi Krishnan > wrote: > > There are two separate google projects - GWT and Google App Engine (GAE). > > > > If you use GAE, you *cannot* use Oracle database (or any other database > for > > that matter). You are tied to using GAE's data storage mechanism. > > > > If you don't know or care about GAE, just disable it for your project > (its > > just a setting in your eclipse project). Once you disable it, you should > be > > able to access your Oracle database. > > > > --Sri > > > > 2009/12/23 SergeZ > > > > > > > > > Hi everybody!!! Please, help me in solving my problem!!! > > > > > I have the standard simple project. The only customization which is > > > had been done by me is DB connection (actually Oracle 10g DataBase). > > > Of course I use the RPC mechanism. Data, retrieved from DB returning > > > from method with String type. When it's time to do for applicaton an > > > asyncronous method call, i receiving the such error message: > > > > > Initializing AppEngine server > > > The server is running athttp://localhost:/ > > > 23.12.2009 12:33:21 > > > com.google.appengine.tools.development.ApiProxyLocalImpl log > > > SEVERE: [1261571601567000] javax.servlet.ServletContext log: Exception > > > while dispatching incoming RPC call > > > com.google.gwt.user.server.rpc.UnexpectedException: Service method > > > 'public abstract java.lang.String > > > org.kamal.hello.client.HelloWorld.client.GreetingService.greetServer > > > (java.lang.String)' threw an unexpected exception: > > > java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. > > > Please see the Google App Engine developer's guide for more details. > > >at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure > > > (RPC.java:378) > > >at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > > (RPC.java:581) > > >at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > > (RemoteServiceServlet.java:188) > > >at > com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost > > > (RemoteServiceServlet.java:224) > > >at > > > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost > > > (AbstractRemoteServiceServlet.java:62) > > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > >at > > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > > 487) > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > (ServletHandler.java:1093) > > >at > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter > > > (ServeBlobFilter.java:51) > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > (ServletHandler.java:1084) > > >at > > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter > > > (TransactionCleanupFilter.java:43) > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > (ServletHandler.java:1084) > > >at > com.google.appengine.tools.development.StaticFileFilter.doFilter > > > (StaticFileFilter.java:121) > > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > > (ServletHandler.java:1084) > > >at org.mortbay.jetty.servlet.ServletHandler.handle > > > (ServletHandler.java:360) > > >at org.mortbay.jetty.security.SecurityHandler.handle > > > (SecurityHandler.java:216) > > >at org.mortbay.jetty.servlet.SessionHandler.handle > > > (SessionHandler.java:181) > > >at org.mortbay.jetty.handler.ContextHandler.handle > > > (ContextHandler.java:712) > > >at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > > 405) > > >at > > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle > > > (DevAppEngineWebAppContext.java:70) > > >at org.mortbay.jetty.handler.HandlerWrapper.handle > > > (HandlerWrapper.java:139) > > >at com.google.appengine.tools.development.JettyContainerService > > > $ApiProxyHandler.handle(JettyContainerService.java:352) > > >at org.mortbay.jetty.handler.HandlerWrapper.handle > > > (HandlerWrapper.java:139
Re: GWT RPC error
Thank you very much for you reply and explanation !!! I chose the easyest way - disabling GAE for my project. I helped. On 23 дек, 23:25, "t.dave" wrote: > it looks like you're referencing code on the GWT client side that the > GWT compiler doesn't support. this kind of problem can be tricky, > because it looks like it compiles ok in eclipse. remember that your > GWT client packages will end up in the browser as javascript, and so > GWT only supports only a subset of the JRE in the com.x.client.* > packages. > > i'd check for any references to Socket: > > java.net.Socket is a restricted class > > as well, check the JRE emulation reference for supported client-side > java packages. > > http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html > > On Dec 23, 7:00 am, SergeZ wrote: > > > > > Hi everybody!!! Please, help me in solving my problem!!! > > > I have the standard simple project. The only customization which is > > had been done by me is DB connection (actually Oracle 10g DataBase). > > Of course I use the RPC mechanism. Data, retrieved from DB returning > > from method with String type. When it's time to do for applicaton an > > asyncronous method call, i receiving the such error message: > > > Initializing AppEngine server > > The server is running athttp://localhost:/ > > 23.12.2009 12:33:21 > > com.google.appengine.tools.development.ApiProxyLocalImpl log > > SEVERE: [1261571601567000] javax.servlet.ServletContext log: Exception > > while dispatching incoming RPC call > > com.google.gwt.user.server.rpc.UnexpectedException: Service method > > 'public abstract java.lang.String > > org.kamal.hello.client.HelloWorld.client.GreetingService.greetServer > > (java.lang.String)' threw an unexpected exception: > > java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. > > Please see the Google App Engine developer's guide for more details. > > at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure > > (RPC.java:378) > > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:581) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > (RemoteServiceServlet.java:188) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost > > (RemoteServiceServlet.java:224) > > at > > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost > > (AbstractRemoteServiceServlet.java:62) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > at > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > 487) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1093) > > at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter > > (ServeBlobFilter.java:51) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter > > (TransactionCleanupFilter.java:43) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at com.google.appengine.tools.development.StaticFileFilter.doFilter > > (StaticFileFilter.java:121) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at org.mortbay.jetty.servlet.ServletHandler.handle > > (ServletHandler.java:360) > > at org.mortbay.jetty.security.SecurityHandler.handle > > (SecurityHandler.java:216) > > at org.mortbay.jetty.servlet.SessionHandler.handle > > (SessionHandler.java:181) > > at org.mortbay.jetty.handler.ContextHandler.handle > > (ContextHandler.java:712) > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > 405) > > at > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle > > (DevAppEngineWebAppContext.java:70) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:139) > > at com.google.appengine.tools.development.JettyContainerService > > $ApiProxyHandler.handle(JettyContainerService.java:352) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:313) > > at > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > > 506) > > at org.mortbay.jetty.HttpConnection$RequestHandler.content > > (HttpConnection.java:844) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > > at org.mortbay.io.nio.SelectChannelEndPoint.run > > (SelectChannelEndPoint.java:396) > >
Re: GWT RPC error
Thank you for your reply ! The desabling of GAE is helped me ! But what consequences i'll get from this disabling ? Will my application be translated in javascript in standard way and will can I deploy my app in my local network ? And one more =) As i right understood GEA provides only "google's hosting", and If I don't want it, I can safely disable this feature and do not lost any functionality, except hosting ? On 23 дек, 23:32, Sripathi Krishnan wrote: > There are two separate google projects - GWT and Google App Engine (GAE). > > If you use GAE, you *cannot* use Oracle database (or any other database for > that matter). You are tied to using GAE's data storage mechanism. > > If you don't know or care about GAE, just disable it for your project (its > just a setting in your eclipse project). Once you disable it, you should be > able to access your Oracle database. > > --Sri > > 2009/12/23 SergeZ > > > > > Hi everybody!!! Please, help me in solving my problem!!! > > > I have the standard simple project. The only customization which is > > had been done by me is DB connection (actually Oracle 10g DataBase). > > Of course I use the RPC mechanism. Data, retrieved from DB returning > > from method with String type. When it's time to do for applicaton an > > asyncronous method call, i receiving the such error message: > > > Initializing AppEngine server > > The server is running athttp://localhost:/ > > 23.12.2009 12:33:21 > > com.google.appengine.tools.development.ApiProxyLocalImpl log > > SEVERE: [1261571601567000] javax.servlet.ServletContext log: Exception > > while dispatching incoming RPC call > > com.google.gwt.user.server.rpc.UnexpectedException: Service method > > 'public abstract java.lang.String > > org.kamal.hello.client.HelloWorld.client.GreetingService.greetServer > > (java.lang.String)' threw an unexpected exception: > > java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. > > Please see the Google App Engine developer's guide for more details. > > at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure > > (RPC.java:378) > > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:581) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > (RemoteServiceServlet.java:188) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost > > (RemoteServiceServlet.java:224) > > at > > com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost > > (AbstractRemoteServiceServlet.java:62) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > at > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > > 487) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1093) > > at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter > > (ServeBlobFilter.java:51) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter > > (TransactionCleanupFilter.java:43) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at com.google.appengine.tools.development.StaticFileFilter.doFilter > > (StaticFileFilter.java:121) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1084) > > at org.mortbay.jetty.servlet.ServletHandler.handle > > (ServletHandler.java:360) > > at org.mortbay.jetty.security.SecurityHandler.handle > > (SecurityHandler.java:216) > > at org.mortbay.jetty.servlet.SessionHandler.handle > > (SessionHandler.java:181) > > at org.mortbay.jetty.handler.ContextHandler.handle > > (ContextHandler.java:712) > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > 405) > > at > > com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle > > (DevAppEngineWebAppContext.java:70) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:139) > > at com.google.appengine.tools.development.JettyContainerService > > $ApiProxyHandler.handle(JettyContainerService.java:352) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:313) > > at > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > > 506) > > at org.mortbay.jetty.HttpConnection$RequestHandler.content > > (HttpConnection.java:844) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) > > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) > > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) > > at org.mortbay.io.