Re: REST Service on Backend which Framework in GWT?
I've never used gwtquery, but I'm pretty happy with RestyGWT. On Saturday, November 22, 2014 3:23:54 PM UTC, marian lux wrote: What is the best framework / way for getting data form REST backend (pros/cons)? gwtresty https://github.com/resty-gwt/resty-gwt or gwtquery https://code.google.com/p/gwtquery/wiki/Ajax or something else? THX --Marian -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
CellTable gets cut off at bottom of browser window; vertical scroll unavailable
Please try a DataGrid. Make sure you put it inside a layoutpanel. That layoutpanel should itself be placed in a layoutpanel. And so on until the rootlayoutpanel is reached. Also use a ResizeComposite and not Composite. If you do this it will appear without you having to give it a size. It will expand to fill the panel . Otherwise it won't appear without explicit sizes. Don't put it in a scrollpanel. If this is not possible then use a celltable. Put it in a scrollpanel - as you have - and set a fixed width and height to the scrollpanel. Grumble - replying to this in my mobile browser is unreliable. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: add mobile version to existing GWT app?
ok, but this leads me to the question, why we don't use REST/JSON right from the beginning? Isn't it a potential option for nearly any web application today to be complemented by a mobile version some day? I work in a large project which started in 2008, but was not full time back then, and only about, say 2011 got real priority. We started with the just released GWT 1.5, and there was not too many things to choose as today. Now we have a mobile app, and we have 2 entry point servlets: one to handle GWT RPC, and another one which exposes services in a rpc-like with json (not REST, as we don't want to maintain 2 APIs - it is just mirrored using Jackson). Not to say that we have A LOT of generated code to handle RPC. The current total size of our app is 3.3MB, where 6.4MB is for generated code for RPC (according to the compile report). Of course we use code splitting, but we're currently struggling on reducing the sizes. Currently, we have 975KB of initial download, 370KB of leftover and 9 split points (432KB max). If I'd start the project today, I'd just use plain REST / JSON for both the desktop and mobile versions. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: add mobile version to existing GWT app?
ok, but this leads me to the question, why we don't use REST/JSON right from the beginning? At the beginning of a project you usually know what you want to do. So if you want native clients for different platforms then you will start with some sort of REST/JSON or protobuff/thrift/... backend. When we started the current development, nobody cared about mobile apps or mobile versions of websites. Of course mobile today is the norm. But who knows what other device factor we'll have to support in some years from now? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Dynamic Images using ClientBundle
Hi, I need to load some dynamic images through ClientBundle to use append in Celltable widget.Is it Possible,How?Please give your suggestion?Thanks in Advance... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Loading dynamic Images into celltable
Hi, I am creating celltable widget and inside i need to wrap dynamic Image into celltable column.How to achieve this?and how to conver Image to ImageResouce? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] two errors in master
Hi, Given that the reuse-SDM cache patch (+ various Java 8 patches, hot damn) landed, I tried our app with master. I'm seeing two issues: 1. A transient/only-happened-once ConcurrentModificationException: https://gist.github.com/stephenh/6e32c3077b67769e46cb 2. Some compile errors related to guava/guava-gwt: https://gist.github.com/stephenh/92f451858eb9828c199f [ERROR] Line 1691: The method and(Predicatecapture#83-of ? super K, Predicatecapture#84-of ? super K) is undefined for the type Predicates [ERROR] com.google.common.collect.Maps.ImprovedAbstractMap cannot be resolved to a type Not quite sure what is going on here...I have guava and guava-gwt 18.0 on the classpath and, AFAICT, no other version is shadowing it, e.g. due to be included-non-rebased in another jar (which is surprising for once that the problem isn't related to that :-)). Also, along the old/shadowed version theory, I checked and Predicates.and seems to have been in Guava for awhile. This same app runs fine in gwt-2.7.0 final. Has there been a change recently that might affect this? Anything I can do to help poke around? (Normally I would have submitted a patch (assuming it's semi-trivial) for the first issue, but my GWT environment is on another machine.) Thanks, Stephen -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/20141130162413.4cd9bdfd%40sh10. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: two errors in master
Note that in my previous email, both errors came from running (Super)DevMode, but FWIW the Guava errors also occur in a regular production compile (which I was not anticipating). - Stephen On Sunday, November 30, 2014 4:24:21 PM UTC-6, Stephen Haberman wrote: Hi, Given that the reuse-SDM cache patch (+ various Java 8 patches, hot damn) landed, I tried our app with master. I'm seeing two issues: 1. A transient/only-happened-once ConcurrentModificationException: https://gist.github.com/stephenh/6e32c3077b67769e46cb 2. Some compile errors related to guava/guava-gwt: https://gist.github.com/stephenh/92f451858eb9828c199f [ERROR] Line 1691: The method and(Predicatecapture#83-of ? super K, Predicatecapture#84-of ? super K) is undefined for the type Predicates [ERROR] com.google.common.collect.Maps.ImprovedAbstractMap cannot be resolved to a type Not quite sure what is going on here...I have guava and guava-gwt 18.0 on the classpath and, AFAICT, no other version is shadowing it, e.g. due to be included-non-rebased in another jar (which is surprising for once that the problem isn't related to that :-)). Also, along the old/shadowed version theory, I checked and Predicates.and seems to have been in Guava for awhile. This same app runs fine in gwt-2.7.0 final. Has there been a change recently that might affect this? Anything I can do to help poke around? (Normally I would have submitted a patch (assuming it's semi-trivial) for the first issue, but my GWT environment is on another machine.) Thanks, Stephen -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/bf5374d8-07d5-40f5-b8a0-721df8278537%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: two errors in master
Hm funny. Just wanted to verify the Predicates issue but I can not launch my app anymore for some weird reason. Somehow the java compiler has detected a duplicate class in guava-gwt-18.0.jar: - com.google.common.collect.AbstractIterator - com.google.common.base.AbstractIterator They are clearly not duplicates as they have different packages. Strange. At least I can second your ConcurrentModificationException as I have seen it once as well and then never again. -- J. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/cce548b9-10c7-42c5-a68d-d9f8c880acca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: two errors in master
Note that in my previous email, both errors came from running (Super)DevMode, but FWIW the Guava errors also occur in a regular production compile (which I was not anticipating). Ah, crap, I had thought checked for this, but I had mistakenly introduced a 2nd variable: source level. In both devmode/production, GWT master works fine with -sourceLevel 1.7, but fails with those Guava errors with -sourceLevel 1.8. Maybe I'll go try and build a 1.8 version of Guava and see if the issue is in Guava itself? Not sure. - Stephen -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/8a1f1aff-33c5-4cc8-b7e7-6709740a3335%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.