Stream

Join this community to post or comment

zakaria amine

Explain how it works  - 
 
How to use Docker in the context of a GWT application: https://goo.gl/mXz5Hk
G-Widgets: We are a team of GWT fans. We love Java, web developement, and the open source world.
18
4
Add a comment...

Dr. Lofi Dewanto

Share hints and howtos  - 
 
A bit marketing for #GWT in my article at #Dzone and also a short overview of #Java2JavaScript transpiler:

Part II: https://goo.gl/kiGvSy
Part I: https://goo.gl/Ueh6AV
Want to learn more about Portlets, OpenSocial Gadgets, and Progressive Web Apps? Look no further! Here is Part II of Lofi Dewanto's guide on all three.
2
zakaria amine's profile photoDr. Lofi Dewanto's profile photo
2 comments
 
+zakaria amine: your welcome, IMHO, you wrote a great article about GWT and PWA.
Add a comment...

Brandon Donnelson

Share hints and howtos  - 
 
 
Example using the Elemental FileReader API to read files in the browser on the client side.

https://gist.github.com/branflake2267/180b69b9a29987214643f62fb279151f

* I tested with GWT 2.8.0-SNAPSHOT (>RC2), b/c handleEvent was broken in RC2. 
11
Ignacio Baca Moreno-Torres's profile photoBrandon Donnelson's profile photo
7 comments
 
+Ignacio Baca Moreno-Torres Cool example. You should share that in the stream so it doesn't get lost in the comments :)
Add a comment...

Thomas Broyer

Share hints and howtos  - 
 
That also means you shouldn't use PushButton or CustomButton, stick to Button (and SubmitButton if you use forms), and possibly Checkbox and RadioButton if you need to toggle state. Use CSS to do the rest.
 
Thinking of making a fancy custom button? ✋

Just use <button>
13
2
Add a comment...

mark kevin ringor

Announcements  - 
 
 
Hi everyone,

We have released an emergency release gwt-material 1.6.2 for a patch for NavBar, Sidenav and ListBox issues.

For more details:
https://github.com/GwtMaterialDesign/gwt-material/issues?q=is%3Aissue+is%3Aclosed+milestone%3A1.6.2

Maven Release:
http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22gwt-material%22

Best Regards,
Kevin
You May Already Be Registered! If you have an account with one of the following Sonatype services, you can use your existing credentials for that account to log in: Sonatype JIRA (https://issues.sonatype.org); OSS Repository Hosting Service (https://oss.sonatype.org); Sonatype Support Account ...
7
Add a comment...

Andreas Ofner

Discussion  - 
 
Amusing thread: Is web programming a series of hacks on hacks? :-)
Love my current development stack: Gradle, GWT, Errai, Java EE, Wildfly - definitely not a hack on hacks
Yes. I feel like we're in the dark ages right now. JavaScript - Dynamically typed, does not scale what so ever. Code written in it becomes 'read only' very quickly. Impossible to refactor. CSS - Also becomes impossible to manage. Who knows if the class you wrote is or isn't being used in HTML or ...
7
Slava Pankov's profile photoHristo Stoyanov's profile photo
10 comments
 
Andreas, I have the same stack + Keycloak. Maybe we can collaborate!
Add a comment...

zakaria amine

Explain how it works  - 
 
Comparison of HTTP requests alternatives in GWT: http://goo.gl/0jPF5p
G-Widgets: We are a team of GWT fans. We love Java, web developement, and the open source world.
10
Josh Blinick's profile photozakaria amine's profile photo
4 comments
 
The article did not mention Errai because it's about pure GWT alternatives, not frameworks based on GWT, that's a different story ;)
Add a comment...

Mark Jayson Toledo

Ask for help  - 
 
can someone help me. I'm working on a hybrid apps using GWT-Errai. I Build the app successfully then the problem is when I build an APK the Ui exploded
1
Andreas Ofner's profile photo
 
Hi Mark,

What do you mean with "the UI exploded"?
Add a comment...

mark kevin ringor

Announcements  - 
 
 
GWT Material Errai Archetype 1.0-SNAPSHOT is now available.
Repo : https://github.com/GwtMaterialDesign/gwt-material-errai-archetype

Checkout the project and install it on your Maven Repo.
Then mvn archetype:generate -DarchetypeGroupId=com.github.gwtmaterialdesign -DarchetypeArtifactId=gwt-material-errai-archetype -DarchetypeVersion=1.0-SNAPSHOT.

Finally you have now a gwt-material running in Errai ! without any hassle
6
Thomas Broyer's profile photo
 
FWIW, if you cleanly separated out client and server code into distinct Maven modules, you wouldn't have to juggle with the dependencies like you do here.
Add a comment...

About this community

Daniel Florey

Discussion  - 
 
What is the best practice to bundle an gwt app with external resources?
Our gwt apps load a number of external resources (js-libs and css resources) using a separate request per resource. It would be super-nice if they could be preprocessed as part of the build process so that they get minified, tree-shaken or whatever to reduce the number of requests and the overall app size.
I remember that there was proposal from Ray Cromwell some years ago to include external resources like JS or CSS files into the compile process of a GWT-based app (using ClientBundle).
Any ideas or best practices?
Thanks a lot in advance!

Daniel
1
Daniel Florey's profile photoJens Nehlmeier's profile photo
3 comments
 
+Daniel Florey Yes it would reduce the amount of requests.
I usually use TextResource + Script/StyleInjector together with already minified JS / CSS resources.
For things like charts you could put these resources behind a split point so they are only downloaded when you actually need to draw a chart. Its a new request but its not at the start of the application.
Add a comment...
 
Another File API example, but this time using Elemental 2, so no User module nor JSNI required! And is much more cool that +Brandon Donnelson example because I use lambdas and FiraCode font 😜! https://git.io/vi7Sl
12
1
Ignacio Baca Moreno-Torres's profile photoKay Pac's profile photo
5 comments
Kay Pac
+
1
2
1
 
Thanks, I will look - I didn't have any luck finding answers when I did a google search. Appreciate the assist.
Add a comment...

GwtCon

Announcements  - 
 
Hurry up!
Only one day left to submit your talk proposal for next #GWTcon.

http://www.gwtcon.org/#call-for-papers
7
2
Add a comment...

Brandon Donnelson

Announcements  - 
 
More enhancements and fixes are coming to the GWT Eclipse Plugin. The changes are still being tested and available in the snapshots repo.

- Shortcuts and menu naming enhancements
- Launcher module detection for the new GWT Maven plugin.
- CodeServer launcher fixes and works with the new maven plugin.
- DevMode has a new image for its launcher to distinguish the difference
- Legacy dev mode jar removal - enabling easy SDM in 2.5.

* This is in testing, and there may be some issues. It will be another week or so before it gets pushed to production repo. I'm always interested in feedback and testing, let me know if you find something.

https://github.com/gwt-plugins/gwt-eclipse-plugin
24
Ignacio Baca Moreno-Torres's profile photo
 
devmode icon is perfect 😉!
Add a comment...
 
hehe... this tweet totally reminded me the GWT monolithic project setup problem, what a surprise when problem was related with classpath too.
1
1
Ignacio Baca Moreno-Torres's profile photo
 
Recomended maven GWT project layout here
https://github.com/tbroyer/gwt-maven-archetypes/
Add a comment...

GwtCon

Announcements  - 
 
Female #GWT  developers we are looking for you!
#GWTcon2016  supports female participation with awesome discounts for women.

Thanks to Woman Techmakers & +GDG Firenze
7
1
Jaroslav Záruba's profile photo
 
because screw gender equality
Add a comment...

Lee ViDemantay

Announcements  - 
 
I'm involved with a start up looking for a GWT Developer to help finish a LMS project. The back end is App Engine and we have heavy use of GwtQuery and Gwt Material Design libraries. If interested post a comment and then we can get in touch. I am on PTZ.
6

Andreas Ofner

Announcements  - 
 
GWT support for Javaslang
9
Add a comment...

Waruschan Babachan

Ask for help  - 
 
I want to test JSInterOp but I get some error. I have a very small java class:

@JsType(namespace = JsPackage.GLOBAL)
public class Product {
}

In JavaScript:

var product = new Product();

It doesn't work. I get always:

ReferenceError: Product is not defined
<anonymous>

Something I do wrong. What is really wrong ? I am using Intellij superDevmode, and GWT 2.8-RC2

JsInterOp with isNative is working fine @JsType(isNative = true)... is OK. So using javascript in java is OK, but java in JavaScript doesn't work.

Any Idea ? Could someone help me ? Thanks in advance.
1
Waruschan Babachan's profile photo
4 comments
 
I got it. You must add some delay before calling javascript command in order to get java in javascript !!! it was because of the compile time in gwt super dev mode !

Add a comment...

mark kevin ringor

Photos, Videos, Slides  - 
2
Add a comment...

Alberto Mancini

Announcements  - 
9
Add a comment...