I think the goal was to implement all of those kind of optimizations using
the javascript closure compiler.. so dead code elimination and shrinking
and code-splitting would all be done by the closure compiler.
I'd guess the GWT code would remain similar, and the output javascript
would use
You definitely don't want to be sending raw audio over the web to your
server - it's huge. What you want to do is take that raw audio, convert it
to an ogg or similar using something like
https://github.com/muaz-khan/WebRTC-Experiment/tree/master/ffmpeg
Then you'd take the ogg output and upload
Slightly off topic, but do you know if the hibernate-validation support
will be upgraded to version hibernate validator 5?
hibernate-validator-4.1.0.Final.jar requires on an old slf4j, and it plays
a bit of havoc when including it in projects that require modern sl4j.
On Monday, February 10,
There was some talk about Java8 support in GWT - obviously with all the
callbacks needed by GWT this would be really helpful. Is there any ETA yet
on when Java8 lambdas will be usable in GWT? I think it will be huge in
making GWT much better.
On Friday, January 31, 2014 12:23:45 AM UTC+2,
How difficult would it be to integrate something like inline webworkers
into GWT?
An example of this functionality in normal javascript:
https://github.com/EtienneLem/architect
Would be very nice if GWT could do something like
WebWorkers.runAsync(new Runnable(){...}, new Callback(){ ... Object
Something like this would be great:
http://scala-lang.org/
On Saturday, July 27, 2013 8:03:07 PM UTC+2, salk31 wrote:
Anyone like this one?
http://html5up.net//uploads/demos/minimaxing/
Might need to replace the jquery code ;)
--
You received this message because you are subscribed
You're probably doing a lot of work all at once to display the page, so it
takes awhile to show up. You can either try to move some of the logic to
deferred calls so it can run after the screen update, or you can first
switch in a loading page, and then show your screen. The browser tab will
http://aws.amazon.com/ec2/
https://cloud.google.com/products/compute-engine
https://www.digitalocean.com/
http://www.windowsazure.com/en-us/
On Wednesday, July 24, 2013 4:21:44 PM UTC+2, Iman Lechgar wrote:
Hi, Richard please what do you mean by VM-based hosting service ??? any
examples ?
Jens, even with source maps in Chrome, I've been unable to get stack traces
to work. They still print out poorly in production when an exception is hit
- the exceptions ignore the source maps entirely. I asked previously if
there is a way around it, but apparently it's a known issue - so I
Hey
First, as long as the code is not compiled by GWT, GWT has zero effect on
it. So your problem is likely not GWT related.
It's difficult to tell from your error 'The API package 'mail' or call
'Send()' was not found.' - I've never seen a java error like this one
before.
Do you maybe have
Will this presentation be available on Youtube afterwards? I can't make it
to SF or EU, but a talk like Benjamin's sounds very interesting. I'm sure
I'm not alone!
On Sunday, July 7, 2013 10:11:51 AM UTC+2, Joonas Lehtinen wrote:
Sounds very interesting. Could you submit presentation
The docs/information for how to get stack traces working in superdevmode
are very, very poor.
By the sound of it, the two options are:
(1) Deobfuscate your stack traces on the server (see
StackTraceDeobfuscator)
(2) Emulated stack traces
However, I can't get either of these to work in
I might be way off here, but is there any reason to extend myTestClass at
all? You can have multiple css classes per element, so simply doing:
ui:style
.myLOCALTestClass{ ...more properties specific for this binder...}
/ui:style
And then assigning both myTestClass and myLOCALTestClass to the
Vaadin has a special linker that should let you use SASS. I haven't tried
it though.
https://vaadin.com/blog/-/blogs/link-to-the-client-side-from-sass
On Friday, June 14, 2013 3:23:43 PM UTC+2, Ed wrote:
Hi,
I am curious how people use LESS/SASS/... etc.. in GWT i.c.m. GWT
Clientbundle
Have a quick read through this article if you don't know what asm.js is:
http://arstechnica.com/information-technology/2013/05/native-level-performance-on-the-web-a-brief-examination-of-asm-js/
With firefox already supporting it, GWT should have the firefox compile
target target asm.js for, at
When running gwt:run on this atmosphere sample, everything works fine:
https://github.com/Atmosphere/atmosphere-extensions/tree/master/gwt20/samples/gwt20-demo
However, when running gwt:run-codeserver the java code is compiled
properly, but the .jsp and servlets aren't copied over/available.
Not claiming to be an expert here, but from my experience GWT consulting is
probably not viable. This would depend on if you have contacts/inroads into
companies already using GWT. You'd probably just be better off going with
plain Java consulting which is an enormous market, and it really
There is always RestyGWT - http://restygwt.fusesource.org/
I've been using it recently and it works very nicely in combination with
Jersey. I'm not sure on speed compared to GWT-RPC though, you'd need to
test. I haven't had any speed problems so far though.
RestyGWT will let you use raw json
As far as I can tell from your description, best practices for something
like this would be to use an event bus rather than the facade.
You would have your presenter listen for both local data and RPC data on
the event bus.
You would have the RPC system and the local data system both listen for
and it will not
block the client.
thank you!
On Wednesday, February 6, 2013 8:45:23 AM UTC-5, RyanZA wrote:
As far as I can tell from your description, best practices for something
like this would be to use an event bus rather than the facade.
You would have your presenter listen for both
Make sure that the actual container your uibinder is using is a
RequiresResize. Usually you use a Composite for UiBinder - if that's the
case, change it to a ResizeComposite
On Friday, January 18, 2013 5:07:02 PM UTC+2, membersound wrote:
Could you give me the link of your working example?
You have mistaken the 'Hyperlink' class - and yes, it is a common/easy
mistake to make because of the naming. Hyperlink is a special type of link
that deals with the GWT history stack. You sound like you are just looking
for a simple html link, which is called an Anchor (a tag). You use it
Since you're using eclipse, the easiest way is to grab the google eclipse
plugin https://developers.google.com/eclipse/
Once installed, click the blue icon at the top left, it will drop down a
menu, and you can select compile there. Then you can run run the .html
produced file directly.
On
Hi
No need to go so extreme -
https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI#methods-fields
You can access static java methods from javascript as described in that
link.
On Friday, January 11, 2013 2:59:46 PM UTC+2, Michael Vogt wrote:
Hello.
I would like to
() {
return Class1.counter;
}
public static native void exportStaticMethod() /*-{
$wnd.counter =
$entry(@mypackage.Class1Exposer::getClass1Counter());
}-*/;
}
On Friday, January 11, 2013 4:05:53 PM UTC+2, RyanZA wrote:
Hi
No need to go so extreme -
https
First you need to get the data from the canvas so you can save that. Use
this method:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/canvas/client/Canvas.html#toDataUrl%28%29
Now for session you have 2 options:
1) You can transmit this data to your server in an http
Grab this code from stackoverflow, should do what you want
http://stackoverflow.com/questions/2865647/solution-for-numeric-text-field-in-gwt
On Monday, January 7, 2013 4:55:44 PM UTC+2, membersound wrote:
Hi,
I have a textbox where I want to user to only enter digits. Moreover I
want to
Hi Thomas
Do you know if there are any plans to move the gwt-* css styles into the
CssResource system directly?
It's confusing to have all of the default GWT widgets use external styles
when it's also recommended for users to use CssResource?
On Monday, January 7, 2013 2:30:49 PM UTC+2, Thomas
Check out this link, specifically point 3 on how to set up a servlet filter
that works with _escaped_fragment.
https://developers.google.com/webmasters/ajax-crawling/docs/html-snapshot
You now have two choices: in the link above, they use a java WebClient (
http://htmlunit.sourceforge.net/ ) to
You can (and should) just use plain html and css for this. Remove your
horizontal panel, and then layout the child focuspanels using css styles
(that you either declare inside the uibinder.xml or in a cssresource).
Relying on tables for layout usually doesn't work that great in the long
run.
Best place to ask this is on SmartGWT forums :
http://forums.smartclient.com/forumdisplay.php?f=14
On Wednesday, December 26, 2012 5:19:52 PM UTC+2, Subramanian Narayanan
wrote:
Hi,
I wanted to interchange rows and columns in my ListGrid. In my current
implementation, i capture the
You generally need to do more than #! as GWT is all javascript..
However, cleanest approach is to make your own PlaceHistoryMapper - you can
then control exactly how places are turned into tokens.
You will also need to provide html snapshots though, which is a lot
tougher...
On Sunday,
Really great option if you have the flexibility to use it - use RESTful
services - https://www.google.co.za/search?q=RESTful
On the server side you can use Jersey(JAX-RS) to make REST services that
can use POJOs to automatically map to JSON/XML - http://jersey.java.net/
and
background-image: literal(-ms-linear-gradient(top, #000 20%, #fff
80%));
You can't set a gradient as a background *image* - only images can be set
with the background-image tag...
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
Documentation is really bad for CSS resource - don't think there is even
any CSS code in the documentation itself...
Css file my.css would be placed in the same folder as 'MyResources.java'
file
If my.css looks like the following:
.className {
width:100px;
}
.something {
width: 200px;
}
This is pretty awesome - scss is a superset of css3, so including this
linker means that GWT CSS can now fully use CSS3?
It shouldn't affect runtime javascript size, or compile time (much) or
anything like that, as it just unplugs the GWT CSS compiler, and plugs in
the CSS3/SCSS compiler,
It could be something with your setup.
Using normal GWT dev mode with firefox, I can change my compiled GWT .css
(css resource), hit F5 in the browser, and I see the css changes right
away. If you are using css in your WAR folder, your browser may be caching
it. Try hit shift+f5
On Friday,
It appears to depend on the compiled GWT code to find the correct class -
but it runs before the compilation step. So new classes don't appear until
it successfully compiles.
eg. You create a new .java class and add it to the tokenizer. Try to
compile and it will fail. Remove the annotation
The GWT CSS (clean.css, chrome.css, etc) all have a ton of the following:
.gwt-TextBox {
font-family: Arial Unicode MS,Arial,sans-serif;
}
What is the best way to overwrite these strange classes with a webfront
family, so that it will conflict as little as possible with future GWT
First option is definitely best, but you need to expand it slightly:
Use a bounding box around every shape, so you can do an O(1) check if the
click is inside the bounding box (click.x box.left, click.x box.right,
etc)
If the click is inside the bounding box, then you can run normal edge
You will want to listen for touch start events - and when one fires, you
need to start a timer with a 1-3 second timeout. If the timeout fires, then
it is a long touch.
You need to also listen to touch end and touch cancelled events - if one of
these fires, you must cancel your timer.
On
Surely opposite is better? GWT should remove all widgets from the base GWT,
and then we can add in widget packages - so if our UI is all CellList stuff
then we don't need things like FlexGrid. If we are using RootLayoutPanel,
we don't need RootPanel, etc.
It also makes GWT much easier to
, 2012 8:29:40 AM UTC-5, RyanZA wrote:
First option is definitely best, but you need to expand it slightly:
Use a bounding box around every shape, so you can do an O(1) check if the
click is inside the bounding box (click.x box.left, click.x box.right,
etc)
If the click is inside
tlll 3 or 4am, much to the dismay of our loved
ones ;-)
On Thursday, December 20, 2012 1:00:15 PM UTC-5, RyanZA wrote:
The check itself is obviously O(1) per check, as opposed to O(num of
lines) for his original proposal (iterate all shape components) - and the
'etc' should have kind
?
On Wednesday, December 19, 2012 11:56:42 AM UTC+2, Thomas Broyer wrote:
On Wednesday, December 19, 2012 8:43:36 AM UTC+1, RyanZA wrote:
Hey
The 'proper' way to do the confirm dialog is to use the Activies and
Places framework in GWT.
Activities' mayStop relies on PlaceChangeRequestEvent
Awesome, thanks!
On Wednesday, December 19, 2012 12:42:31 PM UTC+2, Thomas Broyer wrote:
On Wednesday, December 19, 2012 11:33:15 AM UTC+1, RyanZA wrote:
Thanks Thomas, clears it up.
As an aside, is there a way to work out which event the mayStop() is
being called for? So you could
When you resize an html5 canvas, the contents will be cleared. You can get
around this by creating a second canvas without attaching it to the DOM,
and then
1.drawing the original canvas on to the new temporary canvas
2.resize the original canvas (which will clear it) - make sure to use
Hey
The 'proper' way to do the confirm dialog is to use the Activies and Places
framework in GWT.
https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces#Activities
/**
* Ask user before stopping this activity
*/
@Override
public String
As can be seen here, javascript is a lot slower than java for doing number
crunching:
http://dyn.com/browsers-vs-servers-using-javascript-for-number-crunching-theories/
So, 2 seconds to 25 seconds is possible. It does feel a bit high though,
which browser are you testing in? Difference between
-libraries.googlecode.com/git-history/release/javadoc/com/google/common/annotations/GwtIncompatible.html
On Saturday, September 15, 2012 4:34:48 PM UTC+2, RyanZA wrote:
Better way to handle this would be great..
Obvious response to this is have unit tests to check if gwt-rpc works for
each
Better way to handle this would be great..
Obvious response to this is have unit tests to check if gwt-rpc works for
each class. This gives a problem in complex object graphs with
multiple descendants where some are meant to be used over gwt-rpc and some
aren't, etc.
Having the compiler
Xtend is really nice and has some very nice features, but it feels a bit
like c++ operator overloading -- really nice to add operator overloading
till you or someone else comes in a years time and has to double check
every + to make sure it really is a plus and not something else...
Basically,
Hi
I could be way off here, but it looks like a SmartGWT framework bug?
You should check the SmartGWT issue list:
http://code.google.com/p/smartgwt/issues/list
On Thursday, August 23, 2012 5:26:31 PM UTC+2, ILoveGWT wrote:
Hi All,
One of the GWT Bug(Sorry, as I think It's a Bud) ate my
Also, I'm using 2.5.0-rc1 because of the Maven plugin.
Pete
On Monday, July 23, 2012 4:48:13 AM UTC+10, RyanZA wrote:
Previously in GWT 2.4 and below, this would work:
UI Binder:
g:HTMLPanel ui:field=myPanel /
Code:
@UiField (provided=true)
HTMLPanel myPanel;
myPanel = new HTMLPanel
:29:36 PM UTC+2, RyanZA wrote:
I have a layout panel with two child panels, with one of the children
being a HTML5 canvas.
It all works well until I try to use the animate() method of the parent
canvas to move the children around. It makes the canvas lose its image and
reset to transparent
I have a layout panel with two child panels, with one of the children being
a HTML5 canvas.
It all works well until I try to use the animate() method of the parent
canvas to move the children around. It makes the canvas lose its image and
reset to transparent.
Any idea why animate() would do
I've seen this before. To fix it, just go to properties for the project,
open the 'Google' section, then select 'Web Toolkit'. Change to 'Use
specific SDK' and then pick a valid one. If there are no valid ones, just
add the path manually in 'Configure SDKs'.
At least, that's always worked for
Previously in GWT 2.4 and below, this would work:
UI Binder:
g:HTMLPanel ui:field=myPanel /
Code:
@UiField (provided=true)
HTMLPanel myPanel;
myPanel = new HTMLPanel(foobar);
In GWT 2.5, this now gives an error:
(gwt source)
// Make sure that, if there is a UiField for this panel, it
Previously in GWT 2.4, I was using uibinder's provided=true feature to add
my own panels:
(uibinder code)
g:HTMLPanel ui:field=myPanel /
(java code)
@UiField (provided=true)
HTMLPanel myPanel;
In GWT 2.5, this no longer works and gives the error that it isn't
supported:
(gwt source)
59 matches
Mail list logo