Re: Compile UiBinder to static html?

2015-06-15 Thread salk31
By static does that also exclude JavaScript? GWT/UiBinder etc will generate static files that can go in zip or served by apache and will produce the DOM you want in the browser... On Sunday, June 14, 2015 at 9:22:35 PM UTC+1, Seth wrote: Hi all, I would like to generate static html from a

Re: [gwt-contrib] Re: Stop calling it GWT 3.0

2015-06-15 Thread David
Daniel, Thanks for the background info. In my applications (non public web apps for banking purposes) I tend to use GIN, Guava, UiBinder + Widgets + GWT-RPC. - GWT-RPC has been a limitation (I filled several issues in the passed) and I was looking for a REST/JSON replacement but it was not

Re: [gwt-contrib] Re: Stop calling it GWT 3.0

2015-06-15 Thread James Horsley
Thanks Daniel. It's great that the steering committee are discussing the topic this early in the process; in particular, in the context of how GWT dev's can help themselves to be future proof (e.g. your Modernizing GWT talk). I completely understand how certain GWT generator based libraries

Re: [gwt-contrib] Re: Stop calling it GWT 3.0

2015-06-15 Thread Julien Dramaix
CssResources and such might be a bit more work... we were planning to move to GssResources ... will those remain ? probably not... CssResources will continue to work, the generator can be adapted to use APT api instead of GWT generators. Widgets ... by switching to GQuery we can avoid widgets

Re: [gwt-contrib] Re: Stop calling it GWT 3.0

2015-06-15 Thread Frank Hossfeld
Hi Daniel, it would be nice, if the team can provide early access to the new compiler. As the owner of mvp4g I would like to do the necessary changes to get mvp4g running with the new version. Also I like the idea that the new version contains the basic classes, to write old school widgets.

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

2015-06-15 Thread Thomas Broyer
On Monday, June 15, 2015 at 3:49:10 PM UTC+2, Ivan Hetman wrote: Thanks, got it. But why don't release special GWT 2.8 version with source level 1.8 only? Without improved collection API Java 8 benefits in GWT are low. You can write lambdas and use defender methods in your own

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

2015-06-15 Thread Ivan Hetman
Thanks, got it. But why don't release special GWT 2.8 version with source level 1.8 only? Without improved collection API Java 8 benefits in GWT are low. четвер, 11 червня 2015 р. 23:59:09 UTC+3 користувач Thomas Broyer написав: You cannot use classic DevMode with a Java 7 JVM and

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: Compile UiBinder to static html?

2015-06-15 Thread Seth
Hi, Thanks for the reply. It doesn't necessarily exclude JS, even though I'm pretty sure you can't include script tags in uibinder (at least when using it conventionally), but currently yes, the static page would not need any JS. And just to clarify I'm not talking about creating a new module

Re: Compile UiBinder to static html?

2015-06-15 Thread Seth
Yea, that sounds like it would work out great too. I might end up choosing that over the JSP method. Thanks again Jens, I really appreciate the ideas. On Monday, June 15, 2015 at 3:13:19 PM UTC-4, Jens wrote: I see, maybe you can generate a second representation of your constant values as

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

2015-06-15 Thread Ignacio Baca Moreno-Torres
IMO, stream API is totally replaceable (almost unnecessary), 80% of your uses cases can be solved with lamdas + Guava FluentIterables, and for advanced use cases libraries like RxJava (or whatever implements reactive streams interfaces) or IxJava are much more advanced and easy to extends. Not

Re: Compile UiBinder to static html?

2015-06-15 Thread Seth
Hi Jens, Thanks for weighing in. I have a class that houses constant values which I reference in my GWT app. What I want to be able to do is reference one of those values like the team name in another static page like the About page that way I could just update the value in one place if a

Re: Compile UiBinder to static html?

2015-06-15 Thread Jens
The UiBinder generator produces Java code and there is no configuration option to tell UiBinder to do anything else than that. Of course you could fork UiBinder and adjust it to your needs. Actually I don't know what you want to develop but if you just want to generate static html pages using

Re: Compile UiBinder to static html?

2015-06-15 Thread Jens
I see, maybe you can generate a second representation of your constant values as part of the build process. I could imaging slapping an annotation on your interface/enum that defines your constants and using an annotation processor to generate a different output format. Then you place some

Re: GWT Meet-up 2015 : which technologies for new project

2015-06-15 Thread Rogelio Flores
I'm not any kind of official voice for GWT or anyone, but my take is: 1) It might be true that UiBinder will be discontinued to favor some other templating system, but right now there's no replacement so we're using it extensively and I think a replacement will only be available long-term. 2)

GWT 2.7.0 Custom Linker Problem - module.nocache.js Artifact content mismatches file

2015-06-15 Thread bobbitdiddle
To solve an issue with our particular use of GWT, we implement our own post Linker for GWT. This post linker appends a block of JS code to the end of module.nocache.js, by detecting the nocache.js file when it's passed to the link() command in the ArtifactSet, and replacing it with a new

How to search object instances by their type ?

2015-06-15 Thread Ed
Please some advice on the following situation (gwt 2.7.0): From xml I generate display snippets like a menu with some different type of buttons that extends from a Button class. In the code I need to find RichButton instances in the menu, that are a subclass of the Button class (for further

Re: How to search object instances by their type ?

2015-06-15 Thread Jens
Why don't you use instanceof? -- J. -- 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,

Re: How to search object instances by their type ?

2015-06-15 Thread Ed
Why don't you use instanceof? Good point, sorry I forgot some info: I want to use a general method that searches for the widget types. Details: I have my own Widget tree (its root is called Elemento ;), It's a kind of builder pattern, that constructs GWT Element instances (I hope I can

Re: How to search object instances by their type ?

2015-06-15 Thread Ed
Extra note: I noticed that I have an increase of 9% initial code download (according to the soyc report). I went from 631Kb to 690Kb (unzipped), when enabling the meta class info (-XdisableClassMetaData) -- You received this message because you are subscribed to the Google Groups Google Web