Re: ImageResource loading
Hi, After further researches it seems not possible to load image loading without showing it on a visible Panel. Also i have not found how the read pixels from the ImageResource of the ClienBundle. The main issue is that i have to read images at any time, but as the RootLayoutPanel has its central widget already defined, the super dev mode throws a security error... Any idea ? Thanks for your attention, Regards, Harold 2012/8/31 Harold Comere harold.com...@gmail.com Hi all, I have a ClientBundle containing one ImageResource. Then i create an Image from this ImageResource : Image img = new Image(myImageResource); I set on the image a LoadHandler and ErrorHandler to manage loading events. To launch the image loading, i have to attach the image to the RootLayoutPanel. *Is there a way to force the image loading without attaching it to RootLayoutPanel ?* Regards, Harold -- *Small WebGL 3D engine for GWT* *http://code.google.com/p/ethereal-engine/*http://code.google.com/p/ethereal-engine/ -- 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.
Re: fundamental problems with predictive layout
How about using nested LayoutPanels? Or if you don't want to use LayoutPanels all the way but need resizing in one of the inner widget you could wrap it in a http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/ResizeLayoutPanel.html . On Sunday, September 2, 2012 12:09:28 AM UTC+2, Magnus wrote: Hi, since I use GWT I have a fundamental problem with implementing a predictive layout. I did many resize operations using the onResize method. This method is called whenever a widget is resized. This is fine. However, it is only possible to react on a resize event if one knows the new sizes!! Consider a composed widget, with an outer panel and some child widgets. In order to resize the child widgets, I need to know the actual size of the outer panel. But this size is not known in most cases. In almost every onResize method I was not able to detect the *new* size of the object being resized. Calling getOffset[Width|Height] nearly always results in wrong sizes, old sizes. One method to deal with this is to schedule the onResize code after the current events are processed. But these retarded resizing codes cascade, when there are composite widgets that must delegate the resize event to their children. And cascading this stuff makes it slow. So given a composite widget, with a horizontal fixed (left) component, and a variable (right) component: How can you make this resizable? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/pGfTFtMc5EgJ. 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.
Meteor DDP - or similar - with GWT?
Anybody aware of a gwt library that would provide a publish/subscribe mechanism similar to the Meteor DDP? eg for live updates of clients when the database gets updated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YfqQJEQYhEcJ. 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.
Re: Meteor DDP - or similar - with GWT?
Have u had u look at errai from RedHat ? On Sep 3, 2012 10:29 AM, Thomas Lefort lefortho...@gmail.com wrote: Anybody aware of a gwt library that would provide a publish/subscribe mechanism similar to the Meteor DDP? eg for live updates of clients when the database gets updated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YfqQJEQYhEcJ. 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. -- 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.
Re: FormPanel reset
use fileUploadWidget.getElement().setPropertyString(value, ); when SubmitCompleteEvent is called. @UiHandler(uploadFileFormPanel) void handleuploadFileFormPanelSubmitComplete(SubmitCompleteEvent e){ uploadFile.getElement().setPropertyString(value, ); presenter.uploadCompleted(e); } On Tuesday, August 29, 2006 1:36:36 AM UTC+5:30, hovan wrote: This is form reset solution i modified from Google submit. It works for me on both FF IE. Extends FormPanel and add the methods: public void reset() { //form, iframe reset(getElement(), DOM.getFirstChild(getElement())); } /** *Reset a form, this code is copy from FormPanelImpl of google * * @param form the form to be submitted * @param iframe the iframe that is targetted, or codenull/code */ private native void reset(Element form, Element iframe) /*-{ // Hang on to the form's action url, needed in the // onload/onreadystatechange handler. if (iframe) iframe.__formAction = form.action; form.reset(); }-*/; -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nCbp80WA6-AJ. 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.
Re: CellBrowser EditTextCell (not refreshing the cell)
Hi, This solution worked for me: https://groups.google.com/d/msg/google-web-toolkit/sPRy0lqACsc/UJH-jvBNAcIJ On Tuesday, August 14, 2012 4:21:19 PM UTC+5:30, Arash wrote: Hi, I have changed the CellBrowser sample in showcase to render an EditTextCell for one of the columns. I would like to ignore the value change in EditTextCell in certain occasions. If the value entered by user in the EditTextCell is not acceptable, I would like to revert back to the original value that it was already rendering. I have read multiple posts about refreshing the cell table but none of them prevents the EditTextCell to change its value or at least set it to its original content. Note that the backed data provider has not changed, in fact if you click on the EditTextCell two times, it automatically reverts back to the original value but refreshing the EditTextCell data provider or it's parent data provider or closing / reopening the cellBrowser has no affect. I tried to extend the EditTextCell and override onBrowserEvent method but I can't seem to find a way to set the content of the cell to it's original value. Any help would be greatly appreciated. These are similar posts that I have followed: https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/Jv8cz3ynwEI/FwJLyAS2fdcJ%5B1-25%5Dhttps://groups.google.com/forum/?fromgroups#%21searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/Jv8cz3ynwEI/FwJLyAS2fdcJ%5B1-25%5D http://stackoverflow.com/questions/4702102/gwt-how-to-programmatically-reload-cellbrowser EditTextCell but related matter. http://stackoverflow.com/questions/5171254/how-can-i-disable-edittextcell-and-enable-it-with-editbutton-click-in-gwt https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/ymSNiH5VtM4/ZkFo-pCc9hMJ%5B1-25%5Dhttps://groups.google.com/forum/?fromgroups#%21searchin/google-web-toolkit/Cellbrowser$20refresh/google-web-toolkit/ymSNiH5VtM4/ZkFo-pCc9hMJ%5B1-25%5D Thanks, Arash -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aRK8-Nq0O5cJ. 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.
Re: enable closure compiler
Hi all, FYI: gquery 1.2.0 has been released, it has the issue fixed. About the advantages of using the closure compiler apart from the size of the js, I'll add the optimization of jsni blocks in your app, for instance I tend to embed 3party code (like cordova.js etc) in jsni blocks to optimize it. On Mon, Aug 27, 2012 at 11:56 PM, opn opn...@gmail.com wrote: In my case the generated javascript is about 10% smaller now. Can't tell exactly because I just made a quick test and the compileReport flag is ignored with the closure compiler enabled. I read on g+ some time ago that some people had even better results (I think up to 20% and more code size reduction? Can't find the post with the comments anymore). Am Montag, 27. August 2012 23:08:08 UTC+2 schrieb Deepak Singh: So what's benefit of this closure compiler ? On Tue, Aug 28, 2012 at 1:46 AM, Alex opn opn...@gmail.com wrote: Sorry for double post : ) Forgot to say that using the snapshot indeed solved the problem. Am Montag, 27. August 2012 22:14:46 UTC+2 schrieb Alex opn: You can get it here: http://code.google.com/p/gwtquery/wiki/Downloads?tm=2 Direct Download: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/gwtquery/gwtquery/1.1.1-SNAPSHOT/gwtquery-1.1.1-20120724.210322-26.jar Maven users of the SNAPSHOT version you have to add these lines: repositories repository idsonatype-snapshots/id urlhttp://oss.sonatype.org/content/repositories/snapshots/url snapshotsenabledtrue/enabled/snapshots releasesenabledfalse/enabled/releases /repository repositories dependencies dependency groupIdcom.googlecode.gwtquery/groupId artifactIdgwtquery/artifactId version1.1.1-SNAPSHOT/version scopeprovided/scope /dependency /dependencies Am Montag, 27. August 2012 20:52:45 UTC+2 schrieb Deepak Singh: Can i also have the new Gwtquery-snapshot to avoid this error ? On Mon, Aug 27, 2012 at 9:23 PM, Alex opn opn...@gmail.com wrote: Thanks for pointing this out! Google didn't come up with the issue. Trying with the new GQuery-Snapshot now. Am Montag, 27. August 2012 17:32:03 UTC+2 schrieb Thomas Broyer: On Monday, August 27, 2012 4:13:24 PM UTC+2, Alex opn wrote: After reading this I thought I'd give it a try, too and got the same error: [ERROR] Unexpected internal compiler error [INFO] java.lang.IllegalStateException: Expected non-empty string. Reference node STRING Any hints? : ) See http://code.google.com/p/google-web-toolkit/issues/detail?id=7469 The issue seems to only happen if you have a switch/case in JSNI with an empty string as a 'case' value (see http://code.google.com/p/gwtquery/source/detail?r=1035) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/oDSZBHOG6_EJ. To post to this group, send email to google-we...@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. -- Deepak Singh -- You received this message because you are subscribed to the Google Groups gwtquery group. To view this discussion on the web visit https://groups.google.com/d/msg/gwtquery/-/aNRPR-97yCcJ. To post to this group, send email to gwtq...@googlegroups.com. To unsubscribe from this group, send email to gwtquery+u...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/gwtquery?hl=en. -- Deepak Singh -- You received this message because you are subscribed to the Google Groups gwtquery group. To view this discussion on the web visit https://groups.google.com/d/msg/gwtquery/-/-It2Bo0eUacJ. To post to this group, send email to gwtqu...@googlegroups.com. To unsubscribe from this group, send email to gwtquery+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/gwtquery?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-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.
Re: Meteor DDP - or similar - with GWT?
I am looking at Errai CDI right now, thanks for your suggestion. On Monday, 3 September 2012 10:36:16 UTC+2, nino wrote: Have u had u look at errai from RedHat ? On Sep 3, 2012 10:29 AM, Thomas Lefort lefor...@gmail.com javascript: wrote: Anybody aware of a gwt library that would provide a publish/subscribe mechanism similar to the Meteor DDP? eg for live updates of clients when the database gets updated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YfqQJEQYhEcJ. To post to this group, send email to google-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/91QhxA4yeP4J. 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.
fundamental problems with predictive layout
You can build any layout in GWT that you can build with plain HTML and CSS, i.e. any layout you like. I build very complex UIs in GWT, and I very rarely use resize handlers or getOffsetWidth()/getOffsetHeight() methods, because: (a) I use a layout panel for page structure, an it resizes by itself as the browser window resizes; (b) I use fluid HTML/CSS layouts for inside content, relying on the browser to reflow the content as the page size or the content size changes. There are many good resources on building fluid layouts in HTML/CSS, and all of the suggested techniques can and should be used when using GWT. Maybe if you can give a specific example of a problem you face, we can suggest a solution. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/m-nTWYoCrY8J. 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.
Re: fundamental problems with predictive layout
Am Montag, 3. September 2012 14:08:27 UTC+2 schrieb Andrei: Maybe if you can give a specific example of a problem you face, we can suggest a solution. Hello, I actually need a composite panel TournamentField that consists of two widgets, a label and a button at the right of the label. I want that the label always consumes most available horizontal space, while the button has a fixed size. [ label with variable width][button] Below is the code. (The HorizontalLayoutPanel is just a FlowPanel which sets float:left; on its children, as supposed by the article Moving to standards mode in the GWT docs. As you can see, I even needed to use a hard coded size for the height of the label, because I do not know the default height... This TournamentField is added to a LayoutPanel. Magnus - package bcs.client.mod.tournament.cmp; ... public class TournamentField extends Composite implements RequiresResize { private HorizontalLayoutPanel pnl = new HorizontalLayoutPanel (); private Label lbl_Tournament = new Label (); private PushButtonbtn_Select = new PushButton (); private static final int XS_BTN = 15; private static final int YS = 25; public TournamentField () { super (); init (); } private void init () { initWidget (pnl); pnl.add (lbl_Tournament); pnl.add (btn_Select); gui.styleBorder(lbl_Tournament,#FF55DD); } @Override public void onResize() { Size sp = gui.getSize(pnl); // size contains two ints: x and y btn_Select.setWidth(XS_BTN + px); int lxs = sp.x - XS_BTN - 15; if (lxs 0) lxs = 0; lbl_Tournament.setWidth(lxs + px); lbl_Tournament.setHeight(sp.y + px); } } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/i-wyA61GKYoJ. 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.
Re: fundamental problems with predictive layout
Am Montag, 3. September 2012 10:09:45 UTC+2 schrieb Ümit Seren: How about using nested LayoutPanels? Or if you don't want to use LayoutPanels all the way but need resizing in one of the inner widget you could wrap it in a http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/ResizeLayoutPanel.html. Hi, I am using LayoutPanels, and found out the following while debugging within GWT code: When setting the sizes of a widget using the methods of LayoutPanel (setWidgetLeftWidth, and so on), the widget's onResize is not called. So I call it manually right after setting its sizes. But then, the new sizes are not known yet. The several calls to setWidgetLeftWidth and others just seem to collect information, but the real resizing is done later. (I foudn something with a Scheduler, but I don't know what it does.) So there are two questions: - Do I really have to call the widget's onResize manually, after setting its size using the LayoutPanel's methods? - How can I schedule this call, so that the widget's onResize is called after its parent has been resized? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TEK0iLk4aYkJ. 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.
Re: fundamental problems with predictive layout
Are you changing the sizes of the layoutPanels dynamically? Because if you don't it should work out of the box. If you are changing it dynamically then you might run into this bug (http://code.google.com/p/google-web-toolkit/issues/detail?id=7188). I found following code snippet in one of my projects: layoutPanel.setWidgetSize(this.asWidget(), size); /*workaround for bug http://code.google.com/p/google-web-toolkit/issues/detail?id=7188*/ layoutPanel.animate(0,new AnimationCallback() { @Override public void onLayout(Layer layer, double progress) { } @Override public void onAnimationComplete() { layoutPanel.forceLayout(); } });; On the other hand if you have simple elements (like in your use case) you could just rely on CSS settings (float, etc) as Andrei pointed out, although depending on your actual use case you might have to calculate the sizes and set them explicitly. On Mon, Sep 3, 2012 at 4:24 PM, Magnus alpineblas...@googlemail.com wrote: Am Montag, 3. September 2012 10:09:45 UTC+2 schrieb Ümit Seren: How about using nested LayoutPanels? Or if you don't want to use LayoutPanels all the way but need resizing in one of the inner widget you could wrap it in a http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/ResizeLayoutPanel.html. Hi, I am using LayoutPanels, and found out the following while debugging within GWT code: When setting the sizes of a widget using the methods of LayoutPanel (setWidgetLeftWidth, and so on), the widget's onResize is not called. So I call it manually right after setting its sizes. But then, the new sizes are not known yet. The several calls to setWidgetLeftWidth and others just seem to collect information, but the real resizing is done later. (I foudn something with a Scheduler, but I don't know what it does.) So there are two questions: - Do I really have to call the widget's onResize manually, after setting its size using the LayoutPanel's methods? - How can I schedule this call, so that the widget's onResize is called after its parent has been resized? Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TEK0iLk4aYkJ. 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. -- 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.
Re: fundamental problems with predictive layout
In pure HTML I would do it like: http://jsfiddle.net/EHCGu/ you can drag the vertical splitter to change the size of the result and the label div fills all the space while the button is float:right. No need to use any onResize() JavaScript as the browser takes care of the size. Maybe you can omit the div that clears the float:right. You should use as much CSS as you can, so you don't have to worry about resizing your widgets. Let the browser do it. -- J. Am Montag, 3. September 2012 16:16:05 UTC+2 schrieb Magnus: Am Montag, 3. September 2012 14:08:27 UTC+2 schrieb Andrei: Maybe if you can give a specific example of a problem you face, we can suggest a solution. Hello, I actually need a composite panel TournamentField that consists of two widgets, a label and a button at the right of the label. I want that the label always consumes most available horizontal space, while the button has a fixed size. [ label with variable width][button] Below is the code. (The HorizontalLayoutPanel is just a FlowPanel which sets float:left; on its children, as supposed by the article Moving to standards mode in the GWT docs. As you can see, I even needed to use a hard coded size for the height of the label, because I do not know the default height... This TournamentField is added to a LayoutPanel. Magnus - package bcs.client.mod.tournament.cmp; ... public class TournamentField extends Composite implements RequiresResize { private HorizontalLayoutPanel pnl = new HorizontalLayoutPanel (); private Label lbl_Tournament = new Label (); private PushButtonbtn_Select = new PushButton (); private static final int XS_BTN = 15; private static final int YS = 25; public TournamentField () { super (); init (); } private void init () { initWidget (pnl); pnl.add (lbl_Tournament); pnl.add (btn_Select); gui.styleBorder(lbl_Tournament,#FF55DD); } @Override public void onResize() { Size sp = gui.getSize(pnl); // size contains two ints: x and y btn_Select.setWidth(XS_BTN + px); int lxs = sp.x - XS_BTN - 15; if (lxs 0) lxs = 0; lbl_Tournament.setWidth(lxs + px); lbl_Tournament.setHeight(sp.y + px); } } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mfRKWSgjKOcJ. 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.
Re: IE 7 / 8 issue
I am still stuck with the problem. On development i am getting the following error 22:05:33.168 [ERROR] [yatrafinderdevenv] Uncaught exception escaped com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) @com.google.gwt.dom.client.Style::setPropertyImpl(Ljava/lang/String;Ljava/lang/String;)([string: 'wordWrap', string: 'breakWord']): Invalid procedure call or argument at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129) at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129) at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116) at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351) at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307) at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:570) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:278) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242) at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.reactToMessages(BrowserChannelServer.java:293) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) at java.lang.Thread.run(Thread.java:619) Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.dom.client.Style::setPropertyImpl(Ljava/lang/String;Ljava/lang/String;)([string: 'wordWrap', string: 'breakWord']): Invalid procedure call or argument at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:570) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:298) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) at com.google.gwt.dom.client.Style$.setPropertyImpl$(Style.java) at com.google.gwt.dom.client.Style$.setProperty$(Style.java:2022) at com.pdstechi.activity.client.PackageFullDetails.init(PackageFullDetails.java:139) at com.pdstechi.activity.client.ActivitySearchResultPage$9.onClick(ActivitySearchResultPage.java:488) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:56) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1) at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1) at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40) at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193) at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127) at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129) at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116) at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351) at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307) at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
Re: IE 7 / 8 issue
In com.pdstechi.activity.client.PackageFullDetails.init(PackageFullDetails.java:139) you call getStyle().setProperty(wordWrap, breakWord); but I think it should be getStyle().setProperty(wordWrap, break-word); -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yUFjXiXxGzcJ. 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.
Re: IE 7 / 8 issue
Thanks. It worked. On Mon, Sep 3, 2012 at 10:52 PM, Jens jens.nehlme...@gmail.com wrote: In com.pdstechi.activity.client.**PackageFullDetails.init(** PackageFullDetails.java:139) you call getStyle().setProperty(wordWrap, breakWord); but I think it should be getStyle().setProperty(wordWrap, break-word); -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yUFjXiXxGzcJ. 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. -- Deepak Singh -- 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.
Re: GwtChosen: make your select boxes much more user-friendly
Thanks all ! The plugin was intensively tested this week. A new release was built today: GwtChosen 1.2.0. Update your pom.xml or download the jar file here : http://code.google.com/p/gwtquery-plugins/downloads/detail?name=gwtchosen-1.0.2.jar Julien On Fri, Aug 31, 2012 at 5:21 PM, Joseph Lust lifeofl...@gmail.com wrote: Awesome. I was fearing I'd have to roll my own like I did for ExtJs. Great work. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1CI3ljBo2kEJ. 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. -- 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.
Re: How do you get uiBinder to inject its style code immediately?
Hello! Im trying to find a solution too and I stop on your resolving way: static boolean in the widget and injection by StyleInjector. But invoking StyleInjector.inject( style.getText(), true ); force inject styles and after few moments styles injected again! It happens because uiBinder.createAndBindUi(this) invoke style.ensureInjected(), that invoke StyleInjector.inject( style.getText(), FALSE ); that add style injection to the queue in the StyleInjector. Fortunately StyleInjector provide flush() method... And final solution is: @UiField Style style; private static boolean styleInjected = false; public SomeWidget() { widget = uiBinder.createAndBindUi(this); if (!styleInjected) { styleInjected = true; StyleInjector.flush(); } } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fvKhIYlWinEJ. 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.
Very weird behavior of OptionalFieldEditor
Hi, I am using the following editor to support a nullable list: public class NullableListEditorT, E extends EditorT extends Composite implements IsEditorOptionalFieldEditor ListT, ListEditorT,E { private ListEditorT, E list = ListEditor.of(new ListEditorSource()); private final OptionalFieldEditorListT, ListEditorT, E editor = OptionalFieldEditor.of(list); … } NullableListEditor for type A and B: public class NullableAListEditor extends NullableListEditorA, AEditor {..} public class NullableBListEditor extends NullableListEditorB, BEditor {..} If I use both editors in my application, say first create NullableAListEditor and then NullableBListEditor, NullableAListEditor will work fine but NullableBListEditor will fail with Error: java.lang.ClassCastException: ..editor.B.BEditor cannot be cast to ...editor.A.AEditor at ..editor.A.AEditor_SimpleBeanEditorDelegate.setEditor(AEditor_SimpleBeanEditorDelegate.java:6) at com.google.gwt.editor.client.impl.AbstractEditorDelegate.initialize(AbstractEditorDelegate.java:200) at com.google.gwt.editor.client.impl.AbstractEditorDelegate.addSubDelegate(AbstractEditorDelegate.java:156) at com.google.gwt.editor.client.impl.AbstractEditorDelegate$Chain.attach(AbstractEditorDelegate.java:78) at com.google.gwt.editor.client.adapters.ListEditorWrapper.attach(ListEditorWrapper.java:95) at com.google.gwt.editor.client.adapters.ListEditor.setValue(ListEditor.java:164) at com.google.gwt.editor.client.adapters.ListEditor.setValue(ListEditor.java:1) at com.google.gwt.editor.client.impl.Refresher.visit(Refresher.java:40) at com.google.gwt.editor.client.impl.Initializer.visit(Initializer.java:49) at com.google.gwt.editor.client.impl.AbstractEditorContext.traverse(AbstractEditorContext.java:128) at com.google.gwt.editor.client.impl.AbstractEditorDelegate$Chain.traverse(AbstractEditorDelegate.java:100) at com.google.gwt.editor.client.impl.AbstractEditorDelegate$Chain.attach(AbstractEditorDelegate.java:83) at com.google.gwt.editor.client.adapters.OptionalFieldEditor.setValue(OptionalFieldEditor.java:113) at com.google.gwt.editor.client.impl.Refresher.visit(Refresher.java:40) at com.google.gwt.editor.client.impl.Initializer.visit(Initializer.java:49) at com.google.gwt.editor.client.impl.AbstractEditorContext.traverse(AbstractEditorContext.java:128) I debugged into it and it seemed to be related to AbstractEditorDelegate.java: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.4/user/src/com/google/gwt/editor/client/impl/AbstractEditorDelegate.java?r=10474 in line 75, for NullableBListEditor , the type returned by createComposedDelegate()is the same as that of NullableAListEditor(editor_A_AEditor_SimpleBeanEditorDelegate). As a result, the subDelegate type is not correct for B and caused the above errors during attaching. (If I create B then A, B will work but A will fail for similar errors) I couldn’t figure out why. Anyone knows how to fix it? Thanks a lot, -Jeff -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ofcPl6AjAgMJ. 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.
GWT Script running too long error - and solution?
Hi All, I have the following problem: A piece of code running too long for the Browsers (both for IE and Mozilla). This is a while cycle searching for RootPanel of a widget. While I was debugging I found that if I put Window.alert it operates correctly, no pop-up from browser. Finally the following solution solved the problem: while (null != w) { //check if w is a composite try { Composite tmp = (Composite) w; tmp.isAttached(); wLastComposite = w; wLastCompositeChild = wChild; wChild = w; w = w.getParent(); continue; } catch (Exception ex) { //not Composite, do nothing } !START solution: Added only this line long end = System.currentTimeMillis(); !END of solution //check if w is a RootPanel try { RootPanel rpTest = (RootPanel) w; rpTest.isAttached(); w = null; foundRootPanel = true; break; } catch (Exception ex) { //not RootPanel, nothing to do } //continue with its parent wChild = w; w = w.getParent(); } Now, its running fast. Like 1 ms. Can you please tell me WHY??? Approximately 6 iteration needed, this is what I found during debug. I do not think, this shall last more than 10 sec (Browsers limits) by default. And the issue occurred after we upgraded to 2.1. I understand, that GWT is single threaded, and the only think I can think of that system call somehow make an interrupt. So two questions: - why does not it work?? - why this system call solves the issue?? Thanks in advance for your answers/explanation!! BR, Zsomi -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XTYVt4QQNuEJ. 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.
Re: DevMode not working in Chrome after update
I installed the plugin and it looks good in the extension page but it still not work. I use Chrome 22 under OSX Lion. Is there an older version of Chrome required? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/3jvGHSmci0IJ. 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.
How long is the reviewing process?
Hi, Friday noon, I posted a question about weird behavior of OptionalFieldEditor. But I haven't seen it online yet. Is it expected? thanks, -Jeff -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wSDEyfFB00oJ. 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.
Re: GWT Dev Plugin for Google Chrome
I have the same problem. Now the plugin is installed but it is still not working. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Ln__M-zzjowJ. 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.
GWT Developers plugin for chrome
Hi, I am unable to add GWT developers plugin for chrome. Each time I add it, I get a message saying Extensions,tools can be added for chrome store. Can someone help me in adding it? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZmbUaeYMqPQJ. 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.
Re: GWT 2.5 RC1 Is Here!
It would be great if it worked. I installed it with the older Eclipse version Indigo (that was OK), but there is no way to get the web app running in Chrome. The GWT dev plugin does not work! He guys, are there any tests before publishing? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QOMtiI9IbEsJ. 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.
abstract base classes, error
Ok my question hasn't been posted, but I've found, what I think is the solution. I'm not exactly certain if I'm doing things correctly yet, but, to save some other poor soul 8 hours of their life. If you are having problems with OutputStream or any other part of the standard JRE. let's say you are getting: write(int) is undefined for class OutputStream take a look at: https://groups.google.com/forum/?fromgroups=#!topic/Google-Web-Toolkit/kz1RH1JMw1U specifically this: https://developers.google.com/web-toolkit/doc/1.6/DevGuideOrganizingProjects and http://code.google.com/p/gwt-in-the-air/source/browse/trunk/super/net/ltgt/gwt/air/emul/Emulation.gwt.xml basically what you want to do is: in source trunk, assuming you made a java and javax tree with custom java files, cause you thought you will fill in places in GWT mkdir jre mv java jre mv javax jre cd jre cat JRE.gwt.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 2.4.0//EN http://google-web-toolkit.googlecode.com/svn/tags/2.4.0/distro-source/core/src/gwt-module.dtd; module super-source/ /module cd .. go into whatever your main project is and do your usual inherit: ?xml version=1.0 encoding=UTF-8? module rename-to='mailiverse' !-- Inherit the core Web Toolkit stuff.-- inherits name='com.google.gwt.user.User'/ inherits name='jre.JRE'/ Seems to work. -tim p.s. google, your new newsgroups have lots of errors. why not fix this. it's 2012 and we have errors reading newsgroups? what is the cut off date when things actually work? 2050? Why is the bar just so low for all of these technologies? oh well. take for instance this google groups window I am writing in 20% of the screen space write now. I can't even see my whole post. 80% of the screen is the stupid google bar + google search + google welcome to google+ google post + my groups + google web tookit title in a mysteriously huge font + by me (I know who I am) + subject, ok fine + blahblahblah I can't even see my own post, who is this stuff designed by? no one? god I am a troll, but jeeze this stuff is so poorly done. It's like no one cares. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/k_YvhIvKIxkJ. 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.
Re: CellTable - style specific columns
use css selectors to id your datagrid or cell table container. and by use child and exclusion selectors u should be able to spefic the style on the td. u can also use css expressions or some jsni for quick and dirty impl. however i woukd implement it using my own custom cells to render via safe html templates. this would allow u to not only wrap the inner content with a div for overflow handling and or tooltips. iylt would also be the easiest way to specify a class and or id name or other atreibutes. u could crawl it with the dom and element methods but i dont recommend that Sent from my iPhone On Aug 27, 2012, at 3:43 PM, Kevin Buikema kevin.buik...@gmail.com wrote: I'm using a CellTable element via UIBinder, and I'm trying to come up with a way to simply style specific columns in the table to make them look distinct. To make it as simple as possible, I set up a separate css style for them: .special_column_style { background-color: pink; } and used the code table.addColumnStyleName(colIndex, special_column_style); ...and it does nothing. Is there additional setup for the table that needs to be done to make the above code work? It seems like it should be simple, and yet it does nothing. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YneTtXIy0mgJ. 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. -- 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.
Re: Spring Roo, relationship status with GWT? recommended for more apps more complex than basic CRUD?
Hi, I might have the answer to question 2: With the latest version of Roo (1.2.2) you can tell Roo to create only the Proxy and Request layer. Here are two command samples from the documentation: A.13.5. web gwt proxy request all Locates all entities in the project and creates GWT requests and proxies web gwt proxy request all --package --package The package in which created proxies and requests will be placed; no default value (mandatory) A.13.8. web gwt request all Locates all entities in the project and creates GWT requests web gwt request all --package --package The package in which created requests will be placed; no default value (mandatory) All GWT related roo commands can be found in chapter 13 under the following link: http://static.springsource.org/spring-roo/reference/html/command-index.html Hope that helps. 8-) Roman Am Samstag, 25. August 2012 11:16:48 UTC+2 schrieb GWTter: Hi Thomas, Thanks for the suggestion, I'll definitely see if if the Spring community can shed a little more light. -seth On Saturday, August 25, 2012 10:29:53 AM UTC+2, Thomas Broyer wrote: On Saturday, August 25, 2012 4:23:44 AM UTC+2, GWTter wrote: Hi all, I came across Spring Roo recently and have put in a considerable amount of research as far as whether to use it for my app or not. However, I'm running into a couple of issues in my consideration. 1) GWT support: Spring Roo integration with GWT (more specifically the gwt addon for Roo to make MVP life easier) was presented back in 2010 in the IO keynote ( http://www.youtube.com/watch?v=GQHlhIIxCIc) and in a talk by Ray Ryan ( http://www.youtube.com/watch?v=M5x6E6ze1x8) and it seemed promising. However, in all my googling it seems like the gwt-roo presence/community has been sorely lacking, is it just me? Is GWT still on the Roo bandwagon? AFAICT the GWT add-on for Roo was a joint effort, but Google has not been involved after the first release (milestone?). For all your other questions, you'd rather ask the Spring Roo community then. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yAwF5XHPzocJ. 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.
gwt abstract classes, error
So. from the gwtquake, I ripped your: package java.io; public abstract class OutputStream { // not abstact because of some gwt strangeness public abstract void write(int b) throws IOException; public void write(byte[] ba) throws IOException { write(ba, 0, ba.length); } ... and I ripped the: package java.io; public class ByteArrayOutputStream extends OutputStream { protected int count; protected byte[] buf; public ByteArrayOutputStream() { this(16); } ... - I have the code: ByteArrayOutputStream bos = new ByteArrayOutputStream (); bos.write(1); And that works fine. But then I have the code: OutputStream bos = new ByteArrayOutputStream (); bos.write(1); And it fails with: [ERROR] [] - Line 139: The method write(int) is undefined for the type OutputStream But it is defined. I have tried putting in dummy bodies, declaring things abstract, non-abstract, changing the throws declaration, changing the class declaration, removing those @override from the child classes. to no avail. I have tried changing the inherits of the various components, changing the names of the inherit files, changing blahblahblah. ridiculous number of things. My question is two fold: 1. How should I go about debugging this? Trying random things is not wonderful. 2. Is there a list of gotchas for GWT? (Things that should work but fail) Thanks, -tim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/P9nlX2VolpIJ. 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.
Protected Application with login page
I have a simple web application. I would like to protect it with a login page. Below is the web.xml ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 xmlns=http://java.sun.com/xml/ns/javaee; !-- Servlets -- security-constraint display-nameExample Login Page/display-name web-resource-collection web-resource-nameall/web-resource-name url-pattern/*/url-pattern http-methodDELETE/http-method http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method /web-resource-collection auth-constraint role-namemanager-gui/role-name /auth-constraint user-data-constrainttransport-guaranteeNONE/transport-guarantee/user-data-constraint /security-constraint !-- Default page to serve -- welcome-file-list welcome-file/BViewer.html/welcome-file /welcome-file-list servlet servlet-nameBViewerRemote/servlet-name servlet-classcom.xx.xxx.abc.bviewer.server.ui.BViewerRemoteImpl/servlet-class /servlet servlet-mapping servlet-nameBViewerRemote/servlet-name url-pattern/bviewer/BViewerRemote/url-pattern /servlet-mapping listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listener servlet servlet-nameimageServlet/servlet-name servlet-classcom.xx.xxx.abc.bviewer.server.ui.ImageServlet/servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameimageServlet/servlet-name url-pattern/irimages/*/url-pattern /servlet-mapping login-config auth-methodFORM/auth-method realm-namecustomRealm/realm-name form-login-config form-login-page/LoginForm.html/form-login-page form-error-page/LoginForm.html/form-error-page /form-login-config /login-config security-role role-namemanager-gui/role-name /security-role /web-app whenever I access the application using http://localhost:8080/BViewer-2.0.1-a1/http://localhost:8080/BucketViewer-2.0.1-a1/ is directly goes to the page. but if I access the http://localhost:8080/BViewer-2.0.1-a1/http://localhost:8080/BucketViewer-2.0.1-a1/BucketViewer.html it will direct me to login page. I want to direct it to login page always. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZROel3zI5C0J. 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.
Web Site based on GWT
a web site based on GWT , MVP etc.. www.messagingbay.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/PMneP3FgN-kJ. 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.
bouncy castle, jordan zimmerman, biginteger, binary resources
I thought you guys would like to know that it appears the Apache Harmony's BigInteger is exactly compatible with Sun's. I have bouncy castle's rsa,aes as well as jz's srp working with no problems. Although, when I debug GWT from eclipse+chrome is it running within a javascript vm, or am I still in java land? I was wondering whether anyone has any comments about this code: native String getBinaryResource(String url) /*-{ // ...implemented with JavaScript var req = new XMLHttpRequest(); req.open(GET, url, false); // The last parameter determines whether the request is asynchronous - this case is sync. req.overrideMimeType('text/plain; charset=x-user-defined'); req.send(null); if (req.status == 200) { return req.responseText; } else return null }-*/; Is this going to cause problems later on? Is there a more proper way I can do this with GWT? Thanks, -tim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/60_PYR0ezaQJ. 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.
Re: Problem seeing dynamic part of StockWatcher demo in production mode
Hey bcutler, Now I have the same problem you described. Have you find any solution? ranalynamic On Saturday, 28 January 2012 01:35:01 UTC+1, bcutler wrote: I am brand new to GWT and just trying to get the hang of things. I followed all the steps in the StockWatcher tutorial, and it worked perfectly... until I got to the step about compiling in production mode and opening up StockWatcher.html in a browser. When I opened it in Chrome, all I could see were the GoogleCode image and the Stock Watcher title; anything generated by javascript was just missing. I really don't know how to debug this since I have limited experience with any web development. My only theory is that the compiler output might suggest that there is a path problem. My compile output says: Linking into /Users/bcutler/Documents/workspace/StockWatcher/war/ stockwatcher ... but in the tutorial the same line says: Linking into war/stockwatcher. Could this be the problem? If so, how do I fix it? For what it's worth, I tried opening the file in Firefox as well. The page loaded just fine in Firefox and the javascript seemed to work perfectly, except that pressent Enter on the text box doesn't do anything. Isn't GWT supposed to fix the cross-browser problem? I am using Eclipse 3.7 (Indigo) with the GWT plugin and version 2.4.0 of the SDK. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7wjkF47HVFgJ. 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.
Can't find GWT developer plugin for Chrome on the web store
I get this message when I try to run a GWT project in developement mode. Development Mode requires the Google Web Toolkit Developer Plugin I can't find GWT developer plugin for Chrome on the Chrome Web Store. I need to install this on Chrome. Chrome doesn't seem to be adding any downloaded plugins. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ibzXfXbGdm8J. 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.
GWT Developer plugin does not work in Chrome 22 (under OSX Lion)
The plugin is installed and activated but still not work. If I try to open a gwt page in dev mode I get the request to install the dev mode plugin. How can I get this running (probably in an older version of Chrome) ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6v2kZTkNlMUJ. 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.
Could somebody please point me to the GWT developer plugin for Chrome on the Chrome web store.
I can't find it on the web store, and I can't install it any other way. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gwzmZaOtqWgJ. 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.
Re: GWT 2.5 RC1 Is Here!
I think all depends on the kind of applications you are writing. I've successfully tried with JSF and Java Script frameworks for simpler things, but for the most elaborated designs I allways get back to GWT after a lot of rearch on other alternatives. HTML 5 has has many of the GWT features in a simpler way, but GWT gives you the integration and support for bigger projects. A disadvantage of GWT may be that it needs all of the code before compiling, but there are also design patterns that allow to implement dynamic stuff. If you don't like the Google way you can count on * Scala+GWT ( http://scalagwt.github.com/ ) if you want another language * Tessell (http://www.tessell.org/) for MVP and other * Errai ( https://www.jboss.org/errai ), if you like a very easy, poweful and JEE integrated enviroment and on code.google.com you can find * GIN and GUICE for the same above but tho Google way * m-gwt, excellent tool for mobile * gwt-platform (MVP, Support for search crawling) * guit (MVP and a lot of stuff yo simplfy your work) and a lot more. These are my tips, but as always, it's all up to you. El martes, 21 de agosto de 2012 21:23:53 UTC-5, rajar escribió: On Wednesday, June 27, 2012 1:39:07 PM UTC-7, Rajeev Dayal wrote: Hey all, We're excited to announce the GWT 2.5 Release Candidate! Read about it on the GWT Blog http://googlewebtoolkit.blogspot.com/2012/06/gwt-2.html, and download it here http://developers.google.com/web-toolkit/download (bottom of the page). The RC has been uploaded to Maven Central with the version string of 2.5.0-rc1. Please give it a try and let us know your feedback! Also, many thanks to all of you for your contributions. Without your help, we wouldn't have had a GWT 2.5 release at all! -Rajeev, on behalf of the GWT team More of a question than reply. What is the future of GWT after 2.5 ? We are using GWT and wanted to decide whether to change all our GWT modules to javascript . Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/A7HlmcTqEBMJ. 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.
Re: CellTable, Custom Header and Focus Problem
On Tuesday, June 28, 2011 8:42:58 AM UTC-4, Ümit Seren wrote: I played a little bit around and tried to override the resetFocus method on the SearchCell but this method is never called. I suppose this only works if the Cell used in a row context and not in a header context? My approach is somehow run schedule a deffered command which sets the focus but that's doesn't seem to be a really clean approach. Is there maybe a better approach? Hi Umit, Any updates on this issue? I am running into the exactly same focus problem. Could you post your deferred schedule approach? Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Q4BxVPpzcjYJ. 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.
Re: RF Editors dealing with null proxies/subeditors
good to know On Saturday, August 25, 2012 2:57:16 PM UTC-7, Arash wrote: Thank you Thomas for your elaborate response. I had to implement your solutions to fully grasp the idea. I summarize the result here for anyone who may be interested: OptionalFieldEditor is an elegant solution to dynamically create non existing proxies (Thomas's second solution). It takes care of attaching the newly created address proxy to the personProxy (automatically) so you don't have to actually make the assignment. This is what you need: public class OptionalAddressEditor extends OptionalFieldEditorAddressProxy, AddressEditor implements HasRequestContextAddressProxy, IsWidget { ... @Override public Widget asWidget() { return this.addressEditor; } } To be able to use this field as part of your view /uiBinder you have to extend isWidget and return the actual addressEditor (passed in as part of the constructor) via asWidget(). There are three possible scenarios here: New Person/New Address, Edit Person/New Address, Edit Person/Edit Address. To be able to grab the address editor changes via the context, it seems trivial to create the AddressProxy (if non existent) prior to editing. The problem with this approach is that if you create a Person from scratch or if personProxy has no addressProxy already attached to it, and user don't fill out the address at all, you have already created an addressProxy which haunts you in validation (I don't know how to get around this one). Even returning null after flushing and before firing the context has no affect. To get around the validation issue, fake addressProxy seems to be the solution but If your validation resides on the server (like my scenario), there is no way to avoid actually saving the fake proxy. Your fake proxy needs to go all the way to the db since your sql carries the constraint as well and that means you have to interpret the fake values. In the client, upon rendering the fake address proxy recognize the fake value and empty out the fields. (setValue of the optionalFieldValue). Thank you Thomas again, it has been a good learning process but with the limitations we have, I resort to removing all the constraint on the Address domain, at this point it seems to be the lesser of the evils. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2CvQZbc8914J. 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.
Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light
hibernate with jpa beans. run onto of a restful java servlet to serve up your DAL. if your not good with dep inj design use GIN and Guice for instantiating your widgets and composites. also if your new to gwt use the ui binder. advanced create a viewport and screen manager to inject your classes. and oracle for db since it works nicely with run native behind the scenes of your plsql views that u create in your db. also for quick and dirty apps use springroo to architect and develop your back end. Sent from my iPhone On Aug 27, 2012, at 5:20 PM, GWTter seth@gmail.com wrote: Hi all, I also posted this question on SO and revised it a little since, but received one really great response so far if anyone is interested: http://stackoverflow.com/questions/12132213/recommended-serverside-architectureframework-stack-to-use-with-gwt-for-large-a -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/8O06mXQjVUwJ. 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. -- 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.
Re: What is the proper way of implementing page-level select-all through a Checkbox Header in a CellTable
this works with true and true set on the CTOR of the checkbox header cell, however this does not persist though multiple pages becuase you are only referencing the visible items. working on implementing a post processor to the updaterowcount and updaterowdata method calls. if we use a flag to determine when select all was toggled, then we can execute the post process to update new pages of visible records as the user toggles though them. Also during user interaction such as batch editing on all selected items, we can check to see if the flag is up, and apply this to all records regardless if the user has paginated to them yet. fun fun. Im still a bit curious to as of why google has not included this functionality into there datagrid release. Is it just that new??? Neways thanx for the pointers it saved me a bunch of time today. k On Tuesday, November 22, 2011 1:19:31 PM UTC-5, Raziel wrote: This question has been asked and partially responded in a number of posts: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/dc3a97cd25deb6e3/392dfcdb35f04c95?lnk=gstq=DefaultSelectionModel#392dfcdb35f04c95 http://snipt.net/araujo921/checkbox-in-gwt-celltable-header/ http://groups.google.com/group/google-web-toolkit/browse_thread/thread/56f5513b709cd041 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b20080056a76276f http://0-groups.google.com.topcat.switchinc.org/group/google-web-toolkit/browse_thread/thread/6d4e65510855e6f6 However, I still haven't found I clean answer to what seems to me a very common feature requested in data presentation (and editing) grids. In summary we want to be able to add a checkbox header to a selection column of checkboxes that: * Checking it will select all visible items in the grid. * Unchecking it will deselect all visible items in the grid. * Any change in the visible data, caused for example by paging or sorting, will result in the checkbox header value to be updated according to the rules above: if all visible items are selected then check it, otherwise uncheck it. The straightforward logic would suggest that the following implementation should work: CheckboxCell headerCheckbox = new CheckboxCell(); HeaderBoolean selectPageHeader = new HeaderBoolean(headerCheckbox) { @Override public Boolean getValue() { for (T item : grid.getVisibleItems()) { if (!getSelectionModel().isSelected(item)) { return false; } } return grid.getVisibleItems().size() 0; } }; selectPageHeader.setUpdater(new ValueUpdaterBoolean() { @Override public void update(Boolean value) { for (T item : grid.getVisibleItems()) { getSelectionModel().setSelected(item, value); } } }); grid.insertColumn(0, checkColumn, selectPageHeader); However, the result is not the expected: * When updating the visible data, lets say by moving to the next page, the getValue() method gets called. The first couple of calls, getVisibleItems() returns empty, and then it returns the new not-yet- selected data. In each case, getValue() returns false. However, this produces no change in the checked state of the header. This in itself seems like a bug to me. * When just toggling the checkbox header, this ends up in the opposite state than desired. Even though update() gets called with the proper value that reflects the checkbox header state, and the last calls made to getValue() result in the proper value being returned. The only irregular logic I see that could cause this, is that when clicking on the header, the getValue() method gets called before the update() - to obtain the key and create a cell context. That results in getValue() returning the wrong value (i.e. the opposite). However, after update() gets called and it sets the selection state of the visible items, getValue() gets called again, thus returning the proper value this time. I guess there are ways where the header can be created in a way where we can control better how its value is set and retrieved. However, this being such a common use case, and whose logical implementation shown above produces inconsistent results, tells me that either I'm completely missing something, or that this is a flaw in the celltable widgets. I would appreciate any input on this regard, Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/pcltn-6GcmEJ. 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.
Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!
forms??? thats so 2000s. use event based design like u mentioned and submit via restful. using post get or update or whatever ur backend or api require. sometimes u need to use forms for file xfer or other specialized means. just keep in mind that not using forms can and does break usability / accessabilty guidelines. but then again i was never good at coloring or following the rules. Sent from my iPhone On Aug 28, 2012, at 1:20 AM, jopaki jop...@gmail.com wrote: So all this form/FormPanel mangling implies that the form tag is required to be present in the original markup yes? Otherwise, one could just have the username and password fields in the orig. markup and manually submit to server by trapping an onclick to a simple button and then construct the request via RequestBuilder. What do you guys think about this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vcL7hYiHy7UJ. 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. -- 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.
Re: What is the proper way of implementing page-level select-all through a Checkbox Header in a CellTable
That works like a charm. Thanx for the tip! On Friday, June 8, 2012 8:45:04 PM UTC-4, Nicholas Lesiecki wrote: Hi, Thanks for your well written post. It appears that your solution works well if you construct the CheckboxCell with the right flags: new CheckboxCell(true, true) the two booleans are handlesSelection and dependsOnSelection, and they cure the weird event ordering issues you were seeing. Cheers, Nick On Tuesday, November 22, 2011 10:19:31 AM UTC-8, Raziel wrote: This question has been asked and partially responded in a number of posts: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/dc3a97cd25deb6e3/392dfcdb35f04c95?lnk=gstq=DefaultSelectionModel#392dfcdb35f04c95 http://snipt.net/araujo921/checkbox-in-gwt-celltable-header/ http://groups.google.com/group/google-web-toolkit/browse_thread/thread/56f5513b709cd041 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b20080056a76276f http://0-groups.google.com.topcat.switchinc.org/group/google-web-toolkit/browse_thread/thread/6d4e65510855e6f6 However, I still haven't found I clean answer to what seems to me a very common feature requested in data presentation (and editing) grids. In summary we want to be able to add a checkbox header to a selection column of checkboxes that: * Checking it will select all visible items in the grid. * Unchecking it will deselect all visible items in the grid. * Any change in the visible data, caused for example by paging or sorting, will result in the checkbox header value to be updated according to the rules above: if all visible items are selected then check it, otherwise uncheck it. The straightforward logic would suggest that the following implementation should work: CheckboxCell headerCheckbox = new CheckboxCell(); HeaderBoolean selectPageHeader = new HeaderBoolean(headerCheckbox) { @Override public Boolean getValue() { for (T item : grid.getVisibleItems()) { if (!getSelectionModel().isSelected(item)) { return false; } } return grid.getVisibleItems().size() 0; } }; selectPageHeader.setUpdater(new ValueUpdaterBoolean() { @Override public void update(Boolean value) { for (T item : grid.getVisibleItems()) { getSelectionModel().setSelected(item, value); } } }); grid.insertColumn(0, checkColumn, selectPageHeader); However, the result is not the expected: * When updating the visible data, lets say by moving to the next page, the getValue() method gets called. The first couple of calls, getVisibleItems() returns empty, and then it returns the new not-yet- selected data. In each case, getValue() returns false. However, this produces no change in the checked state of the header. This in itself seems like a bug to me. * When just toggling the checkbox header, this ends up in the opposite state than desired. Even though update() gets called with the proper value that reflects the checkbox header state, and the last calls made to getValue() result in the proper value being returned. The only irregular logic I see that could cause this, is that when clicking on the header, the getValue() method gets called before the update() - to obtain the key and create a cell context. That results in getValue() returning the wrong value (i.e. the opposite). However, after update() gets called and it sets the selection state of the visible items, getValue() gets called again, thus returning the proper value this time. I guess there are ways where the header can be created in a way where we can control better how its value is set and retrieved. However, this being such a common use case, and whose logical implementation shown above produces inconsistent results, tells me that either I'm completely missing something, or that this is a flaw in the celltable widgets. I would appreciate any input on this regard, Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/_rvjvPkrhzkJ. 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.
Re: GWT In Eclipse Debug Mode All Of A Sudden is Super Slow
Hi, Recently I experienced the same problem. Have you figured out how to solve it? Best regards W dniu poniedziałek, 11 kwietnia 2011 15:54:44 UTC+2 użytkownik innusius napisał: No breakpoints and it is slow as hell. This is some code issue as I see that after each reload of debug , it takes longer and longer to reload application or maybe it depends of how long it runs... On Apr 7, 6:27 pm, Chris Conroy con...@google.com wrote: Eclipse's debug hooks can sometimes cause pathological slowdowns if you have a breakpoint set on a method entry point. This can happen for regular java (read: non-GWT) programs as well. Try removing any breakpoints you have set (or at least, removing any on the method entry--you can set them just fine on the first line of the function instead) On Wed, Apr 6, 2011 at 3:15 PM, PTJ pjuckiew...@gmail.com wrote: Recently I was running my GWT application in devmode via the Eclipse plugin in the Google Chrome Browser. Chrome stopped responding and my browser completely crashed, requiring me to restart my computer. I restarted my computer and tried to run my GWT application again, but this time it was SUPER slow. Devmode has always been a little slow, but now it's at the point where it is not even usable anymore. The weird part is that it is only when running in debug mode via the Eclipse plugin, standard run (not debug) via eclipse, the devmode Ant target, and production depoyment (WAR) work fine. I have tried to run other GWT applications and now they are all running unbearably slow now as well. I uninstalled/reinstalled the Google Plugin, upgraded to Eclipse Helios (was using Galileo), upgraded to GWT 2.2.0 (was using 2.0.3), etc and nothing has worked. I am the only one on my team having this issue and we are all running the EXACT same codebase. Has anyone encountered this issue before? Any help would be greatly appreciated. I have spent ~2 days straight trying to figure out this out! Environment (at this point I have tried a number of different versions of the below libraries, all produced the same issue of being too slow in devmode debugging via Eclipse): -GWT 2.2.0 -Eclipse Helios w/ Google Plugin for Eclipse 3.6 GWT SDK 2.2.0 -Google Chrome 10.0.648.204 -GXT 2.2.3 (for GWT 2.2) Regards, Paul J. -- 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-we...@googlegroups.comjavascript:. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/IZ6-0TFDik0J. 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.
Re: enable closure compiler
Alex, Could it be this post? https://plus.google.com/110412141990454266397/posts/ACHHv2KSBCD Regards Henrik On Monday, August 27, 2012 11:56:44 PM UTC+2, Alex opn wrote: In my case the generated javascript is about 10% smaller now. Can't tell exactly because I just made a quick test and the compileReport flag is ignored with the closure compiler enabled. I read on g+ some time ago that some people had even better results (I think up to 20% and more code size reduction? Can't find the post with the comments anymore). Am Montag, 27. August 2012 23:08:08 UTC+2 schrieb Deepak Singh:So what's benefit of this closure compiler ? On Tue, Aug 28, 2012 at 1:46 AM, Alex opn opn...@gmail.com wrote: Sorry for double post : ) Forgot to say that using the snapshot indeed solved the problem. Am Montag, 27. August 2012 22:14:46 UTC+2 schrieb Alex opn: You can get it here: http://code.google.com/p/gwtquery/wiki/Downloads?tm=2 Direct Download: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/gwtquery/gwtquery/1.1.1-SNAPSHOT/gwtquery-1.1.1-20120724.210322-26.jar Maven users of the SNAPSHOT version you have to add these lines: repositories repository idsonatype-snapshots/id urlhttp://oss.sonatype.org/content/repositories/snapshots/url snapshotsenabledtrue/enabled/snapshots releasesenabledfalse/enabled/releases /repository repositories dependencies dependency groupIdcom.googlecode.gwtquery/groupId artifactIdgwtquery/artifactId version1.1.1-SNAPSHOT/version scopeprovided/scope /dependency /dependencies Am Montag, 27. August 2012 20:52:45 UTC+2 schrieb Deepak Singh: Can i also have the new Gwtquery-snapshot to avoid this error ? On Mon, Aug 27, 2012 at 9:23 PM, Alex opn opn...@gmail.com wrote: Thanks for pointing this out! Google didn't come up with the issue. Trying with the new GQuery-Snapshot now. Am Montag, 27. August 2012 17:32:03 UTC+2 schrieb Thomas Broyer: On Monday, August 27, 2012 4:13:24 PM UTC+2, Alex opn wrote: After reading this I thought I'd give it a try, too and got the same error: [ERROR] Unexpected internal compiler error [INFO] java.lang.IllegalStateException: Expected non-empty string. Reference node STRING Any hints? : ) See http://code.google.com/p/google-web-toolkit/issues/detail?id=7469 The issue seems to only happen if you have a switch/case in JSNI with an empty string as a 'case' value (see http://code.google.com/p/gwtquery/source/detail?r=1035) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/oDSZBHOG6_EJ. To post to this group, send email to google-we...@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. -- Deepak Singh -- You received this message because you are subscribed to the Google Groups gwtquery group. To view this discussion on the web visit https://groups.google.com/d/msg/gwtquery/-/aNRPR-97yCcJ. To post to this group, send email to gwtq...@googlegroups.com. To unsubscribe from this group, send email to gwtquery+u...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/gwtquery?hl=en. -- Deepak Singh -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/BVQTnEsS8AAJ. 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.
Difference between using the library in server side and in client side ?
To invoke the library methods that on sever side, do I have to make RPC or simply import the library in the javapath and use it normally ?? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/08lde8qh1-gJ. 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.
Re: [gwt-visualization-api] Export chart to image
El viernes, 21 de octubre de 2011 19:44:19 UTC+2, Renato Beserra escribió: Hi guys, My team is working on an application that uses Google Image Chart api to generate a few charts. We are finishing a new analysis component and the number of generated charts will increase a lot. So, we'd like to use a more sofisticated solution. The new google visualization api appeared to be perfect for us. But we noticed there is not a feature to export the SVG chart as an image which is necessary for us. We could continue to use the Image Chart Api to provide the export feature, but the problem is that it seems to be deprecated. If we make the same call to a ImageLineChart and to a LineChart, for example, we see that the labels of the Image Chart are overlapped. Therefore, it doesn't seem smart to use both apis. So, I would like to know if there is a workaround for this problem. I would also be thankful for suggestions of other non-flash solutions for charts, that can be easily exported. Thanks in advance. []'s -- Renato Beserra Sousa Hi Renato, i've been using the aka visualization API form displaying interactive charts in my GWT applications. Now i have the need to include these charts in a PDF report. I am planning to use the deprecated Image Charts API to create image files which can be included in my PDF file, but i don't think using different APIS for different purposes is a good option either. Some alternatives i've found on the web are the following: a) saving google interactive SVG charts as images using JavaScript code: http://www.battlehorse.net/page/topics/charts/save_google_charts_as_image.html b) making a screen-shot of the browser by means of a tool like this one: http://code.google.com/p/speak-lib/source/browse/#svn/trunk/WebShot%3Fstate%3Dclosed I've seen you had the same doubts some mounths ago, but i don't see any responses...did you finally come up with a finer solution for converting interactive charts to images? Thank you in advance Victor -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/433jnHJMR_UJ. 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.
Re: RemoteServiceObfuscateTypeNames throws SerializationException
Hello. I have struggled with the problem to. :) Can you please tell my. Did you resoled the issue? On Saturday, September 4, 2010 12:39:01 AM UTC+3, Gal Dolber wrote: Hi, I am trying to get rpc obfuscation working. Have added this: inherits name= com.google.gwt.user.RemoteServiceObfuscateTypeNames / on my application module, but can't get it working. My rpc is not getting serialized and it fails with a SerializationException (the whole app do not works). Any tip? (I'm on trunk) -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gV2xQWjxAOwJ. 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.
Re: Clear Cell table data
try updating your row count and row data. getDataGrid().setRowCount(getDataCount(), true); getAsyncDataProvider().updateRowCount(getDataCount(), getAsyncDataProvider().updateRowData(getOffset(), getDataList()); rather then using my async provider you would get your list provider or whatever else. This provider is bound to the cell table (datagrid and cell table are the same thing for the most part.) kara On Tue, Aug 28, 2012 at 10:28 AM, lucky lucky.begum...@gmail.com wrote: Can any one help me on this? On Monday, 11 June 2012 21:13:45 UTC+5:30, lucky wrote: How to clear celltable data when i click on the Button 'Clear'? i tried with cellTable.setRowCount(0); and private void clearTable() { if (dataProvider.getDataDisplays(**) != null dataProvider.getDataDisplays()**.isEmpty() == false) { dataProvider.**removeDataDisplay(cellTable); } cellTable.**setVisibleRangeAndClearData(**resultListGrid.**getVisibleRange(), true); } but this is not working for me. Could you please tell me did i do any thing wrong ? or let me know the best way to clear the cellTable data Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/9c-T_-LkYvwJ. 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. -- 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.
Re: DART vs. GWT
umm no. On Tue, Aug 28, 2012 at 11:02 AM, Chris Lercher cl_for_mail...@gmx.netwrote: About Dart: - I really (!) hope that Dart will succeed. - Ideally, Dart would even become the new JavaScript alternative in all browsers (however, AFAIK a few browser vendors have signaled, that this ain't gonna happen). If not, then it could maybe still be successful with dart2js. About GWT: - GWT allows to code in *Java* for the client side, which is perfect, if you already use *Java* on the server side. - There is no significant amount of existing Dart code for the server side, so Dart does not have that advantage. Conclusion: GWT + Dart would be such an awesome combination: GWT compiling Java to Dart. And then Dart to JS only if necessary. - This would require changing GWT internals, - but it wouldn't require changing the GWT API and programming techniques much (except for low level JSNI and JSO) - remember, that a lot of the GWT API is about manipulating the DOM (which stays the same no matter if the underlying language is JS or Dart), handling browser events, ... - As long as you want to work with Java on the server side, it's a good idea to use GWT - otherwise you'd have to duplicate common parts of your code for the server (Java) and client side (Dart) - like in the medieval days before GWT. (I hope we'll never have to fall back to that situation.) Alternative: The alternative would be that Dart also succeeds on the server side, completely replacing Java. This is rather unlikely, but if things like O/R mapping, fully-fledged IDEs, and anything of value that Java provides is available in Dart someday, plus if it provides any real advantage over Java, then I'm the first one to switch completely to Dart. Then we wouldn't need GWT anymore, and Dart would probably adopt all useful GWT features. (And it should be straightforward to port existing GWT code to Dart.) On Wednesday, August 22, 2012 5:57:42 PM UTC+2, deepak chauhan wrote: One question is disturbing me from a long time. Why Google invented DART, when GWT is already there? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/G02R2U9lzkcJ. 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. -- 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.
Re: GWT for ActiveMQ or Stomp
On Thursday, November 20, 2008 12:12:42 PM UTC+1, Juan Backson wrote: Hi, Does anyone know of any GWT lib that can subscribe to stomp server or activeMQ server to listen for events? Any pointer will be greatly appreciated. Thanks, JB Hi, i have problems with activeMQ and JMS There is no connection in my queue when i compile in GWT the same JMS-Java code works withs Swing Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-SWKJSl73hkJ. 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.
Re: how to write a 2D game by using GWT and html5.
its as simple as creating a while statement or a timer that fires a method called update every frame. in that method you would update all of the objects in your level. By using some simple physics equations you can apply acceleration and gravity. definately check out playn though. k On Tuesday, August 28, 2012 3:51:33 PM UTC-4, Joey wrote: I want to write a simple animated 2D game by using GWT and HTML5. The game basically needs to keep running several animations all the time, but I do not know what libraries or techniques I should use to achieve this. Based on my experience in GWT so far, I know I can just use plain GWT and GWT-animation to achieve what I want. This is the easiest way for me to achieve. However, I hope I can make the game look and feel a bit more professional and attractive. So GWT-Canvas may be the good option for me to write the animation. Physical reactions and Audio are also the important concern. Please give me some advices about the following questions. 1. To write the animations, which technique should I use, plain GWT-animation or GWT-Canvas+HTML5. Which one has better performance? (the game will be running on the webpage, so the level of performance is the most important for me) 2. Is there any good libs I should definitely use for writing 2d games? I do not prefer the complicated lib because my game is pretty simple. 3. I am considering using some game engine. My game is easy and simple, I could make a fake physical reactions by just using some math functions to run the animations. but if the game engine is easy and handy to use, then I would prefer using game engine. So is there any good one out there for beginners? 4. Please give me some advices about making the game audio. are there any good audio libraries for GWT projects? Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/M--cu2vRq6kJ. 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.
Chrome GWT developer plugin not installed
Chrome says that it should be installed via Chrome Market, but I can`t find it on market. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/zV33gzDgxY8J. 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.
Can someone please explain to me why I get this error?
I'm using a free google voice api. Now when I try to run it I get this error Microsoft Windows [Version 6.1.7601] 02 Copyright (c) 2009 Microsoft Corporation. All rights reserved. 03 04 C:\Users\*cd desktop 05 06 C:\Users\*\Desktopjava -jar voice.jar 07 Exception in thread main java.lang.NoClassDefFoundError: gvjava/org/json/JSONE 08 xception 09 at java.lang.Class.getDeclaredMethods0(Native Method) 10 at java.lang.Class.privateGetDeclaredMethods(Unknown Source) 11 at java.lang.Class.getMethod0(Unknown Source) 12 at java.lang.Class.getMethod(Unknown Source) 13 at sun.launcher.LauncherHelper.getMainMethod(Unknown Source) 14 at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) 15 Caused by: java.lang.ClassNotFoundException: gvjava.org.json.JSONException 16 at java.net.URLClassLoader$1.run(Unknown Source) 17 at java.net.URLClassLoader$1.run(Unknown Source) 18 at java.security.AccessController.doPrivileged(Native Method) 19 at java.net.URLClassLoader.findClass(Unknown Source) 20 at java.lang.ClassLoader.loadClass(Unknown Source) 21 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 22 at java.lang.ClassLoader.loadClass(Unknown Source) 23 ... 6 more 24 25 C:\Users\*\Desktop The api is here http://code.google.com/p/google-voice-java/ I am using the latest download The api source is here http://google-voice-java.googlecode.com/svn/trunk/src/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/H_-g5xlSSz4J. 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.
Re: GWT 2.4.0 - DataGrid - Differentiating between single click and double clicks on rows
sink a mousedown event and use a static double click bool flag when u see a click check flag if its up the its a double click and reset the flag if not then is a single click. add a timer too that will reset the flag after a delay of like 100ms or something. kara Sent from my iPhone On Aug 28, 2012, at 11:39 AM, dave_mcgee daveomc...@gmail.com wrote: Hi there, I am currently picking up on a row selection (single click) in a DataGrid using NoSelectionModel (As seen below). This works fine and I perform a certain action based on this selection. However, I also want to pick up on when a user double clicks a row in this data grid. Does anyone have any advice? Thanks! final NoSelectionModelMyObjectRecord selectionModel = new NoSelectionModelMyObjectRecord(); selectionModel.addSelectionChangeHandler(new SelectionChangeEvent.Handler() { @Override public void onSelectionChange(SelectionChangeEvent event) { final MyObjectRecord myObjectRecord = selectionModel.getLastSelectedObject(); // Do stuff with myObjectRecord } }); this.setSelectionModel(selectionModel); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mKxVnb-JzJ0J. 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. -- 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.
Re: any chance to get FF15 dev plugin
Anyone willing to build it for Windows x64? On Thursday, August 30, 2012 9:08:09 AM UTC-4, koma wrote: confirmed working for FF15 on Linux 64-bit... thx ! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CMdsMe2LTYcJ. 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.
GWT textbox.
onFocus of any of the textboxes in my GWT application the cursor is going back to the starting of the text. I tried to set the cursor position but still didnt work. Even i cannot be able to select the text by dragging the mouse over the text. This happens only in IE ,works fine in Chrome. Please provide with a solution guys.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/o13Y8F5ym_cJ. 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.
GWT Window.localtion.assign redirect is not working in tomcat/jetty server
** i am using gwt to create a web application. when a user presses the logout button, i want to be able to refresh the page(or basically redirect to the homepage)as my GWT application runs only on one html page. what is the programmatic code to do this? I am doing Async calls to to the server side on button click and able to clear the cookies and refresh as well , but redirect is not happening . i am using Window.localtion.assign (GWT.getHomePageURL+index.html) on the client side code , but it's not redirecting to index.html . one more observation is it is working in DEV environment but once deployed on external servers like Tomcat/Jetty , redirect is hot happening , all the time its going to some other page. Any suggestions will be highly appreciated ... Thanks, Ranjan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/GASfVYM6wSUJ. 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.
Window.Location.assign() works in dev but fails in Tomcat/jetty external deployment
i am using gwt to create a web application. when a user presses the logout button, i want to be able to refresh the page(or basically redirect to the homepage)as my GWT application runs only on one html page. what is the programmatic code to do this? Even this Window.Location.assign() works in development machine , but fails in Tomcat/jetty deployment ... if any one has faced such issues , please let me know some tips to implement the same... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LqaIURH5gUwJ. 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.
GWT listbox not working with single click.
When I click on the listbox in IE it doesnt open for the single click.It works fine in Chrome. Please help with any solution for this problem -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/k910Jep6ltQJ. 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.
Re: Can't install gwt plugin for chrome/firefox/internet explorer
Well, take the downloaded file (gwt-dev-plugin.crx) and drag it to chrome://chrome/extensions/ Cheers Am Sonntag, 5. August 2012 18:12:40 UTC+2 schrieb danielMartinus: I tried to install the browser plugin of gwt to finally run an application in my browser, now did i found out its a really painfull operation. And to make sure to everyone i searched on many discussions but could not find the answer. I am using Windows 7 and Eclipse (with all sdk's etc. needed for gwt). My problem (Chrome): When i try to download the plugin on chrome it says i can't download this plugin directly, and that i have to download it from the market.. There is no gwt plugin on the market of google.. i searched for it. So i readed somewhere to put the scx file in the Chrome://Extensions directory, but this did not work. Chrome asked again if i wanted to install this gwt plugin when i try to run the application. Problem (Firefox): Firefox could not find any plugin, so i uninstalled firefox, and downloaded the newest version. When i started the gwt application in firefox it says its outdated! but i have the newest version of firefox!? how is this possible? anyone? How to solve this? My last try is going to be Internet explorer, its outdated so i download the newest version, but how to fix it on Chrome or firefox? Anyone? How can i download a plugin on chrome without downloading it from the so called market? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QvWt71lsfO4J. 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.
Re: any chance to get FF15 dev plugin
Works also on win :D ... thx ! joi, 30 august 2012, 16:08:09 UTC+3, koma a scris: confirmed working for FF15 on Linux 64-bit... thx ! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SIXpyeZ49LcJ. 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.
Visually select a TreeNode in a CellTree
Hello, is it somehow possible to select a node in a CellTree programmatically, so that the 'cellTreeKeyboardSelectedItem' and 'cellTreeSelectedItem' styles are applied to the node? Furthermore, I'd like to know if there is a way to prevent this styles from being removed when the tree looses focus? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/D0PIFfJKrW0J. 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.
GWT FileUpload
Hello, I have issues with GWT fileUpload in Internet Explorer. in the onSubmitComplete ,event.getResult() is not giving me the XML with values.It is just giving me the XML skeleton without valuse. It works fine in Chrome,but failing in InternetExplorer. Does anyone have this kind of issue? Please help with a work around for IE. Regards, Bobby -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nSyWtDiFA0gJ. 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.
Unable to create GWT Library using 3.7 and Eclipse Indigo.
Hi - Trying to create a new GWT Library project for UI components that are to be reused across multiple GWT projects - I would think this is a very common thing. However I cannot find the wizzard or any information for that matter on how to do this. Maybe this was added in a later version, as I said I am on 3.7. But in the link below it shows a screenshot of Eclipse Wizards that looks nothing like what I am looking at. I am surprised there isn't more info about this out there. https://developers.google.com/web-toolkit/tools/gwtdesigner/wizards/gwt/library I have only the following options: Google -- Web Application Project Google Web Toolkit -- Client Bundle Entry Point Class HTML Page Module UiBinder -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/kZ-0z3dIOZUJ. 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.
GWT Mobile App in Same WAR File
Hi All, We are developing a GWT application for desktop browsers that is deployed to a Tomcat 7 container as a WAR file. We are also developing a companion mobile application that is written in JavaScript and JQuery. We would now like to embed both applications into the same WAR file so that the appropriate version is served based on the user-agent property of the browser. For example, if a user hits 'ourapp.com' from a desktop browser, they should be served the GWT application and if they hit it from mobile Safari on an iPhone, they should get the JavaScript/JQuery application. Can anyone shed some light on how we might be able to accomplish this? We're fairly new to GWT and web programming so I apologize if the question is a bit vague or non GWT specific. Jim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-gZqRrc-EmkJ. 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.
Multipages with GTW
Hey, we want to use multiple tabs in a GWT Project. Is there a way to implement this? We want use ClientStorage for the session tracking. We need more than one HTML page because we have a user- /gamemanagement, and for every new game thats started we need a new tab. The user can start more than one game. TabPanel is maybe a alternative. Sorry for my bad english :( Greetings 4x4 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LqpnipJCxMkJ. 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.
RequestFactory collects request calls after onConstraintViolation response
Hello, We're having a problem using the request factory in GWT 2.5 RC1. When calling *rejectBankCheck() *on the activity, it happens that there are bean validation errors. The service method corresponding to this request call is not invoked. By correcting the errors on the UI and clicking on a button, * rejectBankCheck()* is called again. This time, the receiver gets *onSuccess(). *Everything looks fine, but I can see that both,* onSuccess()* and the service method corresponding to *rejectBankCheck()*, are invoked twice! public void rejectBankCheck(String remarks) { request.rejectBankCheck(entity, remarks) .fire(new ReceiverProtocolProxy() { @Override public void onSuccess(ProtocolProxy response) { display.onRejectSuccess(); } @Override public void onConstraintViolation(SetConstraintViolation? violations) { display.setConstraintViolations(violations); } }); } My first intention was to split this in two steps: 1. initialize the receiver when the activity starts 2. when the user clicks on the button, just call *fire()* on the request context This isn't possible, because the parameter *remarks *of the method is a user input and can change between the two invocations. So I have to call *request.rejectBankCheck(entity, remarks)* every time the user clicks. Here are my questions: 1. Is this a bug or a feature of the request factory? At the moment, I cannot see when this behaviour would be necessary or of any help. 2. Can anyone see a workaround for this? Thank's for your help! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ffd359cizv4J. 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.
Re: Spring and gwt (request factory)
Hello, have you found a way to configure it properly? If so, would you mind posting samples for web.xml and applicationContext.xml? I have a very similiar code, but I got stuck at wiring it all. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/y2m6JMgY8_sJ. 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.
Re: fundamental problems with predictive layout
you have to call force layout to calc sizes in the new space. k Sent from my iPhone On Sep 1, 2012, at 6:09 PM, Magnus alpineblas...@googlemail.com wrote: Hi, since I use GWT I have a fundamental problem with implementing a predictive layout. I did many resize operations using the onResize method. This method is called whenever a widget is resized. This is fine. However, it is only possible to react on a resize event if one knows the new sizes!! Consider a composed widget, with an outer panel and some child widgets. In order to resize the child widgets, I need to know the actual size of the outer panel. But this size is not known in most cases. In almost every onResize method I was not able to detect the *new* size of the object being resized. Calling getOffset[Width|Height] nearly always results in wrong sizes, old sizes. One method to deal with this is to schedule the onResize code after the current events are processed. But these retarded resizing codes cascade, when there are composite widgets that must delegate the resize event to their children. And cascading this stuff makes it slow. So given a composite widget, with a horizontal fixed (left) component, and a variable (right) component: How can you make this resizable? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2uqreZcZNCwJ. 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. -- 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.
CellTable does not appear when used in CellList (or CellTable) as part of a custom widget
Hello, I created a custom widget that contains a CellTable and other components. It works fine. Now I want to use this widget in a CellList (or CellTable, whatever). I created a custom cell that extends AbstractCell and contains my widget. The problem is that I can see every components of my custom widget except the CellTable. Thanks for your help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Apnu5hUDYSUJ. 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.
Re: GWT Delevoper Plugin for Chrome must be installed from Web Store
I just hit the same issue. When I went to chrome://extensions/ it said it was installed and enabled. I just disabled it and reenabled it and it started working again. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/hUfWV1aOW28J. 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.
GWT Library feature missing in GWT 3.7 plugin for Indigo?
Hi - I am trying to create a GWT Library (that I will be using for a UI widget library) - that will be shared with many other web projects. I found information on creating a GWT Library, but my Eclipse (Indigo) is missing the GWT Library Wizard, and I cannot find any additional information on that. What is the best way to create a separate widget library in Eclipse; is it best to link to a JAR, or to set the project references in Eclipse (I lean toward the later if possible). I have only one option in Eclipse New Web Application Project - and don't see any of the options shown in this link. https://developers.google.com/web-toolkit/tools/gwtdesigner/wizards/gwt/library -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xwjLxhlhsicJ. 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.
Re: GWT Maps V3 Api, clearing directions
I have the same question please any one can help? On Friday, 31 August 2012 12:47:02 UTC+1, Jonas wrote: I'm using the GWT Maps V3 Api from https://github.com/branflake2267/GWT-Maps-V3-Api After finding directions on the map, I'm trying to clear the previous ones before finding new. In DirectionsRenderer: /** * This method specifies the map on which directions will be rendered. Pass null to remove the directions from the map. * @param mapWidget */ public final void setMap(MapWidget mapWidget) { setMapImpl(mapWidget.getJso()); } private final native void setMapImpl(MapImpl map) /*-{ this.setMap(map); }-*/; I'm trying to pass: directionsDisplay.setMap(null); which results in NPE: Caused by: java.lang.NullPointerException: null at com.google.gwt.maps.client.services.DirectionsRenderer$.setMap$(DirectionsRenderer.java:50) Anyone used this API and knows how to clear directions from the map widget? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/emLbrk1GnloJ. 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.
RequestFactory collects request calls after onConstraintViolation
Hi, I have the following method in my activity: public void rejectBankCheck(String remarks) { request.rejectBankCheck(entity, remarks) .fire(new ReceiverProtocolProxy() { @Override public void onSuccess(ProtocolProxy response) { display.onRejectSuccess(); } @Override public void onConstraintViolation(SetConstraintViolation? violations) { display.setConstraintViolations(violations); } }); } On the UI, the user enters remarks and clicks on a button. This invokes * rejectBankCheck()* on the activity. The current request is now fired with the associated receiver. It happens that there are constraint violations which the user then corrects and reclicks on the button. This time, the receiver gets onSuccess(), so everything seems to be correct. But I can now see that, in this case, *onSuccess()* and the corresponding service method of *rejectBankCheck()* are called twice. Or several times if the user doesn't correct the constraint violations after the first call. This means that the request calls are collected by the requestcontext. My first intention was to split this into two steps: 1. Initialize the requestcontext when the activity starts: *request.rejectBankCheck(entity, remarks).to(new Receiver...* 2. Call request.fire() when the user clicks on the button This unfortunately isn't possible, since the parameter *remarks* (entered by the user) can change between two invocations. Now my questions: 1. Is this behaviour a bug or a feature of the request factory? I can't see where this would be useful. If it's a bug, I'll open an issue 2. Can anyone see a workaround for this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/uVr1RG44M2EJ. 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.
Re: Poor Developer
I think, that developer is BALA :-) On Thu, Aug 30, 2012 at 12:23 PM, Bala california.b...@gmail.com wrote: Attach the picture about poor developer in the wild world of clients, managers and testers -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aPL1BgwozioJ. 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. -- Warm Regards, Amit Pandya End is not end, In-fact E.N.D is EFFORT NEVER DIES If you get NO in answer, remember N.O. is NEXT OPPORTUNITY Impossible just separate the word - I M Possible -- 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.
Problem - Images are not displayed
Hallo, I am new to GWT so this might be a stupid question. I am trying to familiarize myself with GWT and wanted to build a simple UI using the UIBinder. For starters I wanted to try a simple layout using the DockLayoutPanel with a logo at the top and some images that are supposed to be used as navigation on the left. I thought I understood the process (it seemed straightforward enough), but for some reason only the images on the top are displayed, the images in the left side are not. All images are saved using the same format (PNG). Here is the relevant part of the XML (interestingly enough the images are displayed when I switch to design mode in Eclipse): ui:with field=res type=com.gwttest.client.Resources / g:DockLayoutPanel g:north size=200 unit=px g:HorizontalPanel g:Image resource={res.imgLogo}/ g:Image resource={res.imgHeading}/ /g:HorizontalPanel /g:north g:west size=200 unit=px g:VerticalPanel g:Image resource={res.button1}/ g:Image resource={res.button2}/ g:Image resource={res.button3}/ /g:VerticalPanel /g:west g:center g:HTML Content goes here /g:HTML /g:center /g:DockLayoutPanel When I look at the javascript console in chrome I can under Resources that all images are there. When I dig into the Code under Elements i see that the images have been replaced with an image called clear.cache.gif. Can someone please tell me what I am doing wrong? Thank you very much -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZQSDez5z0UcJ. 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.
Re: DevMode for Firefox 14
Hi Alan, I'm running Firefox 14 on my Fedora 16 64-bit machine, after upgrade to the latest dev mode plugin from your site, the plugin constantly output massive chunk of information to my console, which froze my browser right away. Do you have any suggestion on that? Thank you very much. On Wednesday, July 18, 2012 10:08:06 AM UTC+10, Alan Leung wrote: While I am technically no longer on the team, I got curious and started looking at the FF14 changes. There were some slight changes in the JS Object layout again but they seem easy enough to fix. I have built it for Linux 32 bit: http://acleung.com/ff14-linux32.xpi -Alan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EokV6ImDLtAJ. 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.
Re: DevMode for Firefox 14
Sorry forgot to mention, the output information is from the Gwt Dev mode plugin, including init information, all the communication stuff. with flushed output in the end. Thanks again. Regards, Chao On Wednesday, July 18, 2012 10:08:06 AM UTC+10, Alan Leung wrote: While I am technically no longer on the team, I got curious and started looking at the FF14 changes. There were some slight changes in the JS Object layout again but they seem easy enough to fix. I have built it for Linux 32 bit: http://acleung.com/ff14-linux32.xpi -Alan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/MF5gDQ0SSEoJ. 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.
Accessibility and ruler divs...
Hi, I have one small problem... Some widgets contain ruler divs, which looks like this: div style=position: absolute; z-index: -32767; top: -20ex; width:10em; height: 10ex;nbsp;/div When I use JAWS12 (screen reader), and move through the page with 'DOWN' key, it always says 'Blank'. Would it be possible to add in next release additional attribute to this div: aria-hidden='true'? Thanks, dreak. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/lq4DIKEgLLAJ. 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.
GWT-RPC unmarshalling problem
Hello, I built a login screen with user and password text fields and a button, when the button is clicked, the client sent a log in request to the server using the user and password as parameters : loginService.loginServer(username,password ,new AsyncCallBackCCtLoginUser() { .. int the server i have: @Override public CCtLoginUser loginServer(final String username, String password) {. when we run in all our machines, this work fines but when running on the customer machine we see that the username and passwords strings are gibrished (or encoded) and login failes, for example if i send user123 (username ), abcde (password) i get in the server username = u199873 password a9343 the value are the same for the same username and password. we use solaris machine , SunOS 5.10 with java 1.6 is there someone who has an idea what can be the problem ? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/c68aGzqkLVoJ. 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.
how to get text,value pairs in gwt suggestionBox
i need a autosuggest combobox for an ambiguous list of strings. but everey string has an unique id. this id is needed to know what the user has selected (send id back to server and do something with it). how to implement this with the gwt's auto-suggest-comboBox suggestionBox. Is there a way to get an List of id-name pairs (like with listBox.addItem(String name, String value)) into the suggestionBox? probably by overwriting suggestionOracle? (how to get the selected id of the selected name?) or is this usecase better be implemented by another gwt widget? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/my7iKl3n2LEJ. 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.
CellTable does not appear when used in CellList (or CellTable) as part of a custom widget
Hello, I created a custom widget that contains a CellTable and other components. It works fine. Now I want to use this widget in a CellList (or CellTable, whatever). I created a custom cell that extends AbstractCell and contains my widget. The problem is that I can see every components of my custom widget except the CellTable. Thanks for your help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KkKkmeESLYEJ. 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.
GWT designer doesn't work in RHEL
I'm attempting to using the GWT designer in Eclipse 3.7 on Red Hat Enterprise Linux 5.4 (64 bit). I get the following error: *GWT Designer uses the SWT Browser widget to render the GWT UI. SWT Browser requires a compatible xulrunner version installed: it should be 1.9.1.x or 1.9.2.x version and meet the current environment architecture* I had a later version of xulrunner installed, so I removed this and installed version 1.9.2 instead. I've also tried passing the path to xulrunner when starting eclipse and also putting it in eclipse.ini using -Dorg.eclipse.swt.browser.XULRunnerPath=path to xulrunner 1.9.2 This doesn't work and I get the same error. Has anybody else been able to get the GWT designer working in Eclipse on RHEL? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7io4fIVgo9oJ. 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.
Is this a bug in TabLayoutPanel?
Hi, I'm relatively new to GWT so I'm not sure if this is a bug or if I'm misunderstanding something. When I add a widget to a TabLayoutPanel, if the widget is already attached to the TabLayoutPanel, it should move the existing widget to the far right. This is how I understood the javadoc which says of the add(Widget w) method: Adds a widget to the panel. If the Widget is already attached, it will be moved to the right-most index. When I try this, however, I get the following error: com.google.web.bindery.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:203) at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88) snip Caused by: java.lang.AssertionError: beforeIndex out of bounds at com.google.gwt.user.client.ui.TabLayoutPanel.insert(TabLayoutPanel.java:724) at com.google.gwt.user.client.ui.TabLayoutPanel.insert(TabLayoutPanel.java:527) at com.google.gwt.user.client.ui.TabLayoutPanel.add(TabLayoutPanel.java:328) at com.google.gwt.user.client.ui.TabLayoutPanel.add(TabLayoutPanel.java:265) And the existing widget (and header tab) simply disappear from the tablayoutpanel. I had a brief look at the code but wanted to check if this is, in fact, a bug or I'm just doing it wrong! Thanks Joel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/0XQbvAuMC2UJ. 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.
Re: Meteor DDP - or similar - with GWT?
I also found an old project called GWT StreamHub http://code.google.com/p/gwt-comet-streamhub/ On Monday, September 3, 2012 1:24:38 PM UTC+2, Thomas Lefort wrote: I am looking at Errai CDI right now, thanks for your suggestion. On Monday, 3 September 2012 10:36:16 UTC+2, nino wrote: Have u had u look at errai from RedHat ? On Sep 3, 2012 10:29 AM, Thomas Lefort lefor...@gmail.com wrote: Anybody aware of a gwt library that would provide a publish/subscribe mechanism similar to the Meteor DDP? eg for live updates of clients when the database gets updated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YfqQJEQYhEcJ. To post to this group, send email to google-we...@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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5zSU04Po3L4J. 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.
Re: RequestFactory collects request calls after onConstraintViolation response
On Friday, August 31, 2012 11:43:23 AM UTC+2, Manuel Schrag wrote: Hello, We're having a problem using the request factory in GWT 2.5 RC1. When calling *rejectBankCheck() *on the activity, it happens that there are bean validation errors. The service method corresponding to this request call is not invoked. By correcting the errors on the UI and clicking on a button, *rejectBankCheck()* is called again. This time, the receiver gets *onSuccess(). *Everything looks fine, but I can see that both,*onSuccess() * and the service method corresponding to *rejectBankCheck()*, are invoked twice! public void rejectBankCheck(String remarks) { request.rejectBankCheck(entity, remarks) .fire(new ReceiverProtocolProxy() { @Override public void onSuccess(ProtocolProxy response) { display.onRejectSuccess(); } @Override public void onConstraintViolation(SetConstraintViolation? violations) { display.setConstraintViolations(violations); } }); } My first intention was to split this in two steps: 1. initialize the receiver when the activity starts 2. when the user clicks on the button, just call *fire()* on the request context This isn't possible, because the parameter *remarks *of the method is a user input and can change between the two invocations. So I have to call *request.rejectBankCheck(entity, remarks)* every time the user clicks. Here are my questions: 1. Is this a bug or a feature of the request factory? At the moment, I cannot see when this behaviour would be necessary or of any help. Not a bug. 1. Can anyone see a workaround for this? Three: - either don't use validation on the server-side (either do it on the client-side before calling rejectBankCheck, or inside the rejectBankCheck method on the server-side and use a new RequestContext in the onFailure case) - fire() once without the rejectBankCheck to validate the proxies, then if OK create a new RequestContext, edit the proxies, call rejectBankCheck and fire again - move the remarks argument to a proxy so you can change it without the need to call rejectBankCheck again -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fbc0JLd9J4YJ. 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.
Re: Accessibility and ruler divs...
On Monday, September 3, 2012 9:03:56 AM UTC+2, dreak wrote: Hi, I have one small problem... Some widgets contain ruler divs, which looks like this: div style=position: absolute; z-index: -32767; top: -20ex; width:10em; height: 10ex;nbsp;/div When I use JAWS12 (screen reader), and move through the page with 'DOWN' key, it always says 'Blank'. Would it be possible to add in next release additional attribute to this div: aria-hidden='true'? Could you file an issue in the tracker? http://code.google.com/p/google-web-toolkit/issues/entry -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Icgr5P_LYPwJ. 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.
Re: fundamental problems with predictive layout
Magnus, Jens is right: all you need is a simple FlowPanel with a Label and a button inside. Set the button style to float: right, set its width (which, I assume, is constant), and add a right margin to your label which is wider than the button. That's it. Your generated code will be 10 times smaller (layout panels produce a lot of HTML), and your pages will reflow much faster. You don't need to worry about the height: a FlowPanel will expand automatically to accommodate its contents. If you want, you can fix its height, or you can use min-height and/or max-height CSS rules. You can set a width of the FlowPanel in pixels or as percentage of its parent's width, or you can let it expand with the content up to a specified maximum. You can allow the content to wrap inside the widget, or you can force it to show ellipsis when the label gets too long, or you can force a scrollbar, etc. There are a lot of options available to you in CSS. I use layout panels only for page structure, and I never use HorizontalPanel or VerticalPanel - they offer nothing that cannot be easily done with FlowPanels and CSS, while they are less flexible as you have discovered. My advice: when building a layout, forget about widgets. Think how you can do it in pure HTML/CSS, ideally without any table elements. Once you do it, the choice of widgets becomes obvious. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/obV8zXuKqaMJ. 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.
Re: Meteor DDP - or similar - with GWT?
I like Errai a bit more :) 2012/9/3 Thomas Lefort lefortho...@gmail.com I also found an old project called GWT StreamHub http://code.google.com/p/gwt-comet-streamhub/ On Monday, September 3, 2012 1:24:38 PM UTC+2, Thomas Lefort wrote: I am looking at Errai CDI right now, thanks for your suggestion. On Monday, 3 September 2012 10:36:16 UTC+2, nino wrote: Have u had u look at errai from RedHat ? On Sep 3, 2012 10:29 AM, Thomas Lefort lefor...@gmail.com wrote: Anybody aware of a gwt library that would provide a publish/subscribe mechanism similar to the Meteor DDP? eg for live updates of clients when the database gets updated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/** msg/google-web-toolkit/-/**YfqQJEQYhEcJhttps://groups.google.com/d/msg/google-web-toolkit/-/YfqQJEQYhEcJ . To post to this group, send email to google-we...@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=enhttp://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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5zSU04Po3L4J. 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. -- 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.
Re: Multipages with GTW
Check this https://community.jboss.org/thread/199409?_sscc=t 2012/8/30 4x4is18 mar...@eljeb.de Hey, we want to use multiple tabs in a GWT Project. Is there a way to implement this? We want use ClientStorage for the session tracking. We need more than one HTML page because we have a user- /gamemanagement, and for every new game thats started we need a new tab. The user can start more than one game. TabPanel is maybe a alternative. Sorry for my bad english :( Greetings 4x4 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/LqpnipJCxMkJ. 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. -- Atte: Natanael Maldonado -- 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.
Re: GWT multi-page application
Check this https://community.jboss.org/thread/199409?_sscc=t El martes, 5 de agosto de 2008 07:19:21 UTC-5, Nitin Gupta escribió: Hi all, I am a GWT newbie. I am working on an application in which we have got multiple web pages. I checked the web but I could not find a very convincing answer as to how we can create multi-page GWT applications and debug them in the hosted mode. I am not able to figure out how will MVC controller return a new view to my GWT application in the hosted mode. One option is to independently work on each view, compile them and put under the web content of the server. After the development, target integration testing between the pages. Please let me know if there is a better approach than this one. Any links, pointers, references shall be highly appreciated. Best Regards, Nitin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vqUMFdvrB8gJ. 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.
Re: Anyone knows GWT Multipage Framework?
Check this https://community.jboss.org/thread/199409?_sscc=t El viernes, 9 de diciembre de 2011 13:55:27 UTC-6, Xybrek escribió: Hi, anyone here knows http://code.google.com/p/gwt-multipage/ ? I have some specific problems with the framework, is there any other GWT framework that allows multipage function, like gwt-multipage? It can map EntryPoints and load it based on the html request. Like: mysite.com/index.html or mysite.com/somethingelse.html will load two separate entry ponts for each. Problem with gwt-multipage is that if the access is coming from mysite.com/ (without specifying the html to load) it breaks and sometimes loads random entry points if I am not mistaken. Any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ACkg7SDMr2wJ. 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.
Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!
I'm a little confused. The way Tomas showed (above) used to work with Autocomplete, however, Chrome decided it wasn't going to play nice with that any more. The only solution I could find was to do a login with a form. Eg: form action=login method=GET.../form I don't know how to get Autocomplete working in Chrome with GWT RPC, and I don't understand what you're talking about with switching to a restful approach. If you (or anyone) can offer a solution not using a form, I'm all ears. As, yes, forms are so 2000s, and I would rather not use them. Cheers. On Tuesday, 28 August 2012 15:33:38 UTC+10, Kara Marie Rawson wrote: forms??? thats so 2000s. use event based design like u mentioned and submit via restful. using post get or update or whatever ur backend or api require. sometimes u need to use forms for file xfer or other specialized means. just keep in mind that not using forms can and does break usability / accessabilty guidelines. but then again i was never good at coloring or following the rules. Sent from my iPhone On Aug 28, 2012, at 1:20 AM, jopaki jop...@gmail.com javascript: wrote: So all this form/FormPanel mangling implies that the form tag is required to be present in the original markup yes? Otherwise, one could just have the username and password fields in the orig. markup and manually submit to server by trapping an onclick to a simple button and then construct the request via RequestBuilder. What do you guys think about this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vcL7hYiHy7UJ. To post to this group, send email to google-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/o3V9wE7boyEJ. 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.
Re: fundamental problems with predictive layout
Am Montag, 3. September 2012 16:41:16 UTC+2 schrieb Jens: http://jsfiddle.net/EHCGu/ you can drag the vertical splitter to change the size of the result and the label div fills all the space while the button is float:right. No need to use any onResize() JavaScript as the browser takes care of the size. Maybe you can omit the div that clears the float:right. You should use as much CSS as you can, so you don't have to worry about resizing your widgets. Let the browser do it. Hi Jens, this looks good. I often read about letting the browser do most of the layout is much faster. The problem is to integrate this pure HTML/CSS code (your example) into an existing environment within GWT, i. e. into a LayoutPanel. The place, where the composite widget should be inserted, is a LayoutPanel. I believe that whenever I inserted something into a LayoutPanel it gets invisible because of size 0. This in turn results in setting the sizes explicitely and so on. So how would one do this (your example) within GWT? Which Panels to use for the three DIVs? And how to avoid zero sizes when inserting into the LayoutPanel... Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/eYL3apWhPvUJ. 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.
Re: fundamental problems with predictive layout
Am Montag, 3. September 2012 23:25:04 UTC+2 schrieb Andrei: Magnus, Jens is right: all you need is a simple FlowPanel with a Label and a button inside. Set the button style to float: right, set its width (which, I assume, is constant), and add a right margin to your label which is wider than the button. That's it. Your generated code will be 10 times smaller (layout panels produce a lot of HTML), and your pages will reflow much faster. You don't need to worry about the height: a FlowPanel will expand automatically to accommodate its contents. If you want, you can fix its height, or you can use min-height and/or max-height CSS rules. You can set a width of the FlowPanel in pixels or as percentage of its parent's width, or you can let it expand with the content up to a specified maximum. You can allow the content to wrap inside the widget, or you can force it to show ellipsis when the label gets too long, or you can force a scrollbar, etc. There are a lot of options available to you in CSS. I use layout panels only for page structure, and I never use HorizontalPanel or VerticalPanel - they offer nothing that cannot be easily done with FlowPanels and CSS, while they are less flexible as you have discovered. My advice: when building a layout, forget about widgets. Think how you can do it in pure HTML/CSS, ideally without any table elements. Once you do it, the choice of widgets becomes obvious. Hi Andrei, thanks, I'll change the composite widget to be a FlowPanel, but I am sure that it gets 0 sizes when inserted into the LayoutPanel. But it's a precondition that the outer environment is a LayoutPanel, because this is used - as you mentioned - for the page structure. I understand that you recommend doing the overall page layout using LayoutPanels, but doing the small stuff concerning widgets with HTML/CSS? Then there must always be a border crossing between the outer layout panels and the inner HTML/CSS widgets. And exactly at this border you have to insert a widget into a layout panel, right? How do you do this? When I do it, the widget gets 0 sizes and I have to hard code the sizes explicitely, resulting in ugly code... Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/StcLmVxOLgYJ. 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.
Re: [gwt-contrib] Cleanup: is IE6 JNI really needed?
On Monday, September 3, 2012 12:29:22 AM UTC+2, Ray Cromwell wrote: The version pings are actually pretty important in terms of showing Google management continued interest in GWT as well. Being able to have a rough estimate on how many active monthly users we have is a good way to argue for continued investment. Would you mind sharing the numbers? (at least with the Steering Committee) Also, while I understand the usefulness of the pings (I'll rollback my changes in the gwt-maven-plugin for the DevMode mojo), that doesn't answer the question about the need for the JNI access to WinINet. It looks to me like recent versions of Java (at least starting with 1.5, for the Sun/Oracle JDK) use the WinINet settings by default (that's what I understand from Oracle's documentation). Glancing at the OpenJDK code, it looks like they use the settings from the registry, but do not use WinINet directly. Does that make a difference in practice? (maybe for corporate proxies that require authentication?) Oh, and you'd probably want to add the ping to the SuperDevMode then? On Sat, Sep 1, 2012 at 10:41 PM, John A. Tamplin j...@jaet.orgjavascript: wrote: On Sat, Sep 1, 2012 at 9:57 AM, Thomas Broyer t.br...@gmail.comjavascript: wrote: As you all know, the we decided to move to Maven as the build system for GWT. The first step is cleaning up dependencies. Digging into the code, I stumbled upon a bit of JNI: GWT checks for updates every day, and on Windows it tries to use a bit of JNI to glue it to the IE COM object, and therefore make sure to use the WinINet proxy settings. For that to work, it requires the gwt-ll.dll inside the install dir of the GWT SDK. So, first, it means that it won't work if you use GWT from Maven (or Ivy, or Gradle, or anything that uses the artifacts from The Central Repository rather than an SDK bundle downloaded from code.google.com or as an Eclipse plugin), and will fallback to using plain Java in that case. But I wonder if this bit of JNI is at all needed to being with, as Java seems to be using (or able to use, at least) the WinINet proxy settings: http://www.java.com/en/download/help/proxy_setup.xml So, first question: is that bit of JNI really needed after all? IIRC, yes to get proper handling of proxy settings on Windows. Next question: is the version check needed? useful? I recently changed the gwt-maven-plugin to unconditionally pass the -XdisableUpdateCheck, as you generally don't want that check to be done on your CI server, and there are other means to check for updates (e.g. mvn versions:display-dependency-updates to stay in the Maven world, but there's also an RSS feed for the downloads, and Sonatype's Insight –e.g. http://www.sonatype.com/Products/Insight-App-Health-Check–, and probably other means as well). Doing away with the update check would also mean losing the ability to tell what versions are active from the pings. -- John A. Tamplin -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Cleanup: is IE6 JNI really needed?
We are doing development on machines not connected to the internet and I bet a lot of other GWT devs are in the same situation. So how can management depend on such a feature to decide on usage ? David On Mon, Sep 3, 2012 at 10:44 AM, Thomas Broyer t.bro...@gmail.com wrote: On Monday, September 3, 2012 12:29:22 AM UTC+2, Ray Cromwell wrote: The version pings are actually pretty important in terms of showing Google management continued interest in GWT as well. Being able to have a rough estimate on how many active monthly users we have is a good way to argue for continued investment. Would you mind sharing the numbers? (at least with the Steering Committee) Also, while I understand the usefulness of the pings (I'll rollback my changes in the gwt-maven-plugin for the DevMode mojo), that doesn't answer the question about the need for the JNI access to WinINet. It looks to me like recent versions of Java (at least starting with 1.5, for the Sun/Oracle JDK) use the WinINet settings by default (that's what I understand from Oracle's documentation). Glancing at the OpenJDK code, it looks like they use the settings from the registry, but do not use WinINet directly. Does that make a difference in practice? (maybe for corporate proxies that require authentication?) Oh, and you'd probably want to add the ping to the SuperDevMode then? On Sat, Sep 1, 2012 at 10:41 PM, John A. Tamplin j...@jaet.org wrote: On Sat, Sep 1, 2012 at 9:57 AM, Thomas Broyer t.br...@gmail.com wrote: As you all know, the we decided to move to Maven as the build system for GWT. The first step is cleaning up dependencies. Digging into the code, I stumbled upon a bit of JNI: GWT checks for updates every day, and on Windows it tries to use a bit of JNI to glue it to the IE COM object, and therefore make sure to use the WinINet proxy settings. For that to work, it requires the gwt-ll.dll inside the install dir of the GWT SDK. So, first, it means that it won't work if you use GWT from Maven (or Ivy, or Gradle, or anything that uses the artifacts from The Central Repository rather than an SDK bundle downloaded from code.google.com or as an Eclipse plugin), and will fallback to using plain Java in that case. But I wonder if this bit of JNI is at all needed to being with, as Java seems to be using (or able to use, at least) the WinINet proxy settings: http://www.java.com/en/**download/help/proxy_setup.xmlhttp://www.java.com/en/download/help/proxy_setup.xml So, first question: is that bit of JNI really needed after all? IIRC, yes to get proper handling of proxy settings on Windows. Next question: is the version check needed? useful? I recently changed the gwt-maven-plugin to unconditionally pass the -XdisableUpdateCheck, as you generally don't want that check to be done on your CI server, and there are other means to check for updates (e.g. mvn versions:display-dependency-**updates to stay in the Maven world, but there's also an RSS feed for the downloads, and Sonatype's Insight –e.g. http://www.sonatype.com/**Products/Insight-App-Health-**Check–http://www.sonatype.com/Products/Insight-App-Health-Check%E2%80%93, and probably other means as well). Doing away with the update check would also mean losing the ability to tell what versions are active from the pings. -- John A. Tamplin -- http://groups.google.com/**group/Google-Web-Toolkit-**Contributorshttp://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Cleanup: is IE6 JNI really needed?
On Mon, Sep 3, 2012 at 10:51 AM, David david.no...@gmail.com wrote: We are doing development on machines not connected to the internet I feel your pain. and I bet a lot of other GWT devs are in the same situation. I sincerely hope they're not a lot. That's so 20th century! So how can management depend on such a feature to decide on usage ? “better than nothing” ? I bet there are a whole lot more people with internet access on their dev machine than without. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Cleanup: is IE6 JNI really needed?
On Mon, Sep 3, 2012 at 4:51 AM, David david.no...@gmail.com wrote: We are doing development on machines not connected to the internet and I bet a lot of other GWT devs are in the same situation. So how can management depend on such a feature to decide on usage ? You measure what you can and extrapolate from other information. Personally, it seems hard to imagine being an effective developer without net access on the development machine -- I am looking up things multiple times per day. -- John A. Tamplin -- http://groups.google.com/group/Google-Web-Toolkit-Contributors