Re: jsInterop cast to JavaScriptObject

2016-09-19 Thread Pablo Nussembaum
Hi Marcio, You can check: https://github.com/GWTReact/gwt-interop-utils that several helper to convert java to js and back. Regards, -- Bauna On 16/09/16 15:47, Marcio Alves wrote: > Hi, > >Is it possible to casto a jsInterop object to a JavaScriptObject? > >I am trying to use

Re: Is GWT is Dead?

2016-09-09 Thread Pablo Nussembaum
Google Inbox is 70% GWT code: https://gmail.googleblog.com/2014/11/going-under-hood-of-inbox.html https://news.ycombinator.com/item?id=8554339 On 06/09/16 17:06, Vassilis Virvilis wrote: > ok then gmail being written in GWT is urban myth. > > However looks like google group is written in GWT

Re: Completable Future in GWT 2.8-rc1

2016-08-23 Thread Pablo Nussembaum
Hi Zakaria, Do you have any example of how do you use Promises from GWT? On 23/08/16 06:07, zakaria amine wrote: > Thanks for the info. rxjava-gwt sounds promising, it does add some complexity > though...I will do with Promise for now. > > > -- > You received this message because you are

Re: Parsing URI components

2016-08-17 Thread Pablo Nussembaum
You can also use: http://www.gwtproject.org/javadoc/latest/com/google/gwt/http/client/RequestBuilder.html On 17/08/16 16:35, Jens wrote: > http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/Window.Location.html > > Should help you. > > -- J. > -- You received this message

Re: Guava

2016-08-10 Thread Pablo Nussembaum
Not sure, but you can try ;-) On 10/08/16 10:30, Velusamy Velu wrote: > Thanks Bauna - does your response apply even if I use GWT 2.7? > > On Tuesday, August 9, 2016 at 4:27:59 PM UTC-4, Velusamy Velu wrote: > > I started using Guava with my GWT application and ran into this benign >

Re: Guava

2016-08-10 Thread Pablo Nussembaum
Hey, You need to use guava version 20-SNAPSHOT. This is the maven entry: com.google.guava guava 20.0-SNAPSHOT On 09/08/16 17:46, Velusamy Velu wrote: > The errors became serious when attempted to build the project. Here is a > sample subset of errors- > [java]Tracing

Re: jsinterop: converting a jre collection to a jsArray

2016-05-18 Thread Pablo Nussembaum
ng) /*-{ > var l = string.length; > var s = ""; > for (var i = 0; i < l; i++) { > s += string[i]; > } > return s; > }-*/; > > Thanks in advance. > > > > > > On Thu, May 12, 2

Re: jsinterop: converting a jre collection to a jsArray

2016-05-12 Thread Pablo Nussembaum
Hi Vassilis, I have been using JsInterop for managing IndexedDB stores and I have created this [1] helper class for casting back and forth js to java. The main issue is that in GWT there are two Object hiearchies one from java and js, GWT makes are really job hiding that detail, but with

SDM in GWT 2.8-SNAPSHOT is super slow since yesterday

2016-03-19 Thread Pablo Nussembaum
Hey Guys, Since yesterday in SDM it takes 17 minutes to compile[1], it used to last less 30 seconds the first time. I don't know what to check, I have deleted every temp files (ie gwt-unitCache) and using the same version of java, eclipse, eclipse plugin and nothing changed pom.xml project. Is

Re: SDM in GWT 2.8-SNAPSHOT is super slow since yesterday

2016-03-19 Thread Pablo Nussembaum
I reimported everything in eclipse and now works fine. Sorry for the noise On 17/03/16 11:25, Pablo Nussembaum wrote: > Hey Guys, > Since yesterday in SDM it takes 17 minutes to compile[1], it used to last > less 30 seconds the first time. > I don't know what to check, I have delete

GWT 2.8-SNAPSHOT has broken JSP support in SDM & DM

2016-02-29 Thread Pablo Nussembaum
Hi Guys, After updating to Jetty 9.2 in GWT 2.8 the JSP support is not working any more during debug (it doesn't matter if you use SDM o DM). It seems that since Jetty 9.2[1] jsp support is not enabled by default and need to enabled when embedding. As a workaround

Re: GWT 2.8 Compiler Question for Streams

2015-12-29 Thread Pablo Nussembaum
You can still use Guava functional idioms in particular FluentIterable [1] gives you a more java8 feeling [1] http://google.github.io/guava/releases/snapshot/api/docs/com/google/common/collect/FluentIterable.html On 29/12/15 15:43, Paul Mazzuca wrote: > It appears that you are correct. I

Re: SEO Google Crawlable experience ?

2015-11-16 Thread Pablo Nussembaum
@Ed, pushState and semanatic route tokens are implemented in GWTP Framework [1] It has its own concepts for moving between "places" (there are not even called places ;-)). I have been using GWTP in production for long time and simplifies several rough edges of using plain GWT. [1]

Re: How to support new version and old version like Google Inbox?

2015-09-15 Thread Pablo Nussembaum
Take a look at HTML5 appcache: http://www.html5rocks.com/en/tutorials/appcache/beginner/ And the great library for GWT: http://realityforge.org/gwt-appcache/ -- Bauna On 15/09/15 10:30, Shawn Johnson wrote: > I'd like to have smoother updates to our GWT application, and not break > client's

Re: GWT 2.8.0 forEach, Consumer, Function, Streams and other Java 8 stuff

2015-06-15 Thread Pablo Nussembaum
Thomas is rigth, using lambdas is are really game changer for subscribing (you have 6 lines less on each one) to handlers and also you can use guava Optional class and functional idioms until idioms until we have fully java8 streams. Be aware that current GWT-2.8.0-SNAPSHOT compiler doesn't

Re: GWT 2.8.0 ?

2015-05-14 Thread Pablo Nussembaum
Yes, it works fine with maven. Add this repository: repository idgoogle-snapshots/id nameGoogle Snapshots/name urlhttps://oss.sonatype.org/content/repositories/google-snapshots//url releasesenabledfalse/enabled/releases snapshotsenabledtrue/enabled/snapshots

GWT 2.8.0 Snapshots are not published

2015-05-14 Thread Pablo Nussembaum
I've been using that repo for about a month without issues. Do anybody know why snapshots are not generated anymore? On 05/14/2015 05:34 PM, Thad Humphries wrote: There are no jar files in the 2.8.0-SNAPSHOT directories at this time. The last modified timestamp is Tue May 12 03:54:28 CDT

Re: how to reproduce.cache.html error in dev

2013-12-05 Thread Pablo Nussembaum
Hi Bhumika, You can take a look to: http://www.gwtproject.org/javadoc/latest/com/google/gwt/logging/server/StackTraceDeobfuscator.html It can be used to de-obfuscate the stacktrace. also check: https://groups.google.com/forum/#!topic/google-web-toolkit/jikvFQUJYjk Regards, -- Pablo On

Re: CSS

2013-05-16 Thread Pablo Nussembaum
I agree with Timothy that GWT as a framework makes almost impossible to create "runtime themeable" application. While doing with plain js is pretty straight forward, here is what we did: in the index.html link id="vt0" href="" rel="stylesheet"

Re: Is it possible to make css attributes dynamic in java backing class?

2013-03-01 Thread Pablo Nussembaum
Hi, If you use a cssResource you can use runtime substitution: https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle?hl=es-#Runtime_substitution On 03/01/2013 10:18 AM, membersound wrote: Hi, how can a css attribute made dynamically read from the java backend class?

Re: Error processing @WithTokenizers, cannot find type

2012-12-20 Thread Pablo Nussembaum
I have a similar problem with @WithTokenizers and I used some the workarounds from this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5658 On Tue 18 Dec 2012 07:01:42 PM ART, Tony B wrote: Sadly, not yet. If I found out something, I will update this thread. On Tuesday,

Re: Still problems with com.google.gwt.core.client.GWTBridge

2012-10-31 Thread Pablo Nussembaum
Moritz, Until you find the actual problem you can use this jar. Regards, -- Bauna On 10/31/2012 09:08 AM, Moritz wrote: Hi all, I get a NoClassDefFoundError for com.google.gwt.core.client.GWTBridge when I throw a RuntimeException on a server RPC. When I do not throw the RuntimeException

Re: GWT 2.5 GA is Here!

2012-10-26 Thread Pablo Nussembaum
Hey Guys, The issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=7527 is still not fixed in version 2.5.0 Since the bug was already fixed but not merged properly can re-release it or release version 2.5.1. Thanks, -- Pablo Bauna Nussembaum On 10/25/2012 07:14 PM, unnurg wrote: