Re: Re-deployment on appengine sometimes breaks GWT app (Module.Cache.html not found)

2013-04-09 Thread Jens
Never used AppEngine but the first two things I would check are: 1.) Caching issue for module.nocache.js so that the browser has the old one cached and requests an old hash.cache.html file which does not exist anymore. 2.) Maybe AppEngine distributes your app across different nodes which may

Make PopupPanel float to an edge of DockLayoutPanel?

2013-04-09 Thread membersound
Hi, is it possible to let the right edge of a autosized PopupPanel float to the left g:east edge of a DockLayoutPanel? I only found panel.setRelativeTo(widget) but that would place the popup below the dock panel. I want it to appear with its upper right edge on the upper edge of the east side

Re: Make PopupPanel float to an edge of DockLayoutPanel?

2013-04-09 Thread Thomas Broyer
Have a look at setPopupPositionAndShow; within the callback, get the size of the popup and compute its position to make its right edge where you want. On Tuesday, April 9, 2013 10:57:11 AM UTC+2, membersound wrote: Hi, is it possible to let the right edge of a autosized PopupPanel float to

Re: Make PopupPanel float to an edge of DockLayoutPanel?

2013-04-09 Thread membersound
Great, using setPopupPosition(x,y) works perfectly in the callback. -- 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

Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread salk31
Probably not related but hit a weird issue with FF20 too: * undefined in a variable that the Java source (compiled to JS) says should be initialised. * works fine in all other browsers. * works in FF if firebug or the built in debugger turned on... It was in some Request Factory code... we

Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Jens
Probably not related but hit a weird issue with FF20 too: * undefined in a variable that the Java source (compiled to JS) says should be initialised. * works fine in all other browsers. * works in FF if firebug or the built in debugger turned on... Sounds like a JIT Compiler issue

Re: Re-deployment on appengine sometimes breaks GWT app (Module.Cache.html not found)

2013-04-09 Thread Dr. Robert Hoffmann
On 09.04.13 10:15, Jens wrote: Never used AppEngine but the first two things I would check are: 1.) Caching issue for module.nocache.js so that the browser has the old one cached and requests an old hash.cache.html file which does not exist anymore. I wish - I cleared the cache and tried

Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Geoffrey Wiseman
On 2013-04-09, at 8:20 AM, Jens jens.nehlme...@gmail.com wrote: Probably not related but hit a weird issue with FF20 too: * undefined in a variable that the Java source (compiled to JS) says should be initialised. * works fine in all other browsers. * works in FF if firebug or the built

Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Jens
I think you have to set javascript.options.ion.content to false to disable IonMonkey (the name of the JIT Compiler in FF) in FF20. -- 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

Removing obfuscation from a stack trace.

2013-04-09 Thread Flying-w
I've implemented server side logging of client side exceptions, by making the following changes in gwt.xml: set-property name=compiler.stackMode value=emulated / set-configuration-property name=compiler.emulatedStack.recordLineNumbers value=true / set-configuration-property

Re: Removing obfuscation from a stack trace.

2013-04-09 Thread Andrea Boscolo
Read the StackTraceDeobfuscator doc [1], you are either missing the -deploy dir argument for creating the symbolMaps, or it is not in the right place. [1] http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/logging/server/StackTraceDeobfuscator.html On Tuesday, April 9,

Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Geoffrey Wiseman
On 2013-04-09, at 10:31 AM, Jens jens.nehlme...@gmail.com wrote: I think you have to set javascript.options.ion.content to false to disable IonMonkey (the name of the JIT Compiler in FF) in FF20. It briefly seemed like this might have had an impact (I failed to reproduce the same error

Exception while persisting an entity.

2013-04-09 Thread Aman Sharma
While persisting following entity I am getting a server error : null in GWT development console. But on removing the call to pm.persist() everything goes right. I have doubts that I have not defined this entity properly. Maybe I am using types not supported by Datastore.Or is there anything

RequestFactory: .with causes NPE on server if returned value is null

2013-04-09 Thread Gordan Krešić
In pretty basic RF scenario, I'm fetching one EntityProxy from server: myRequestContext.search(url).with(path1, path2).to(...).fire() MyRequestContext.java: @Service(ModelService.class) public interface MyRequestContext extends RequestContext { RequestModelProxy search(String url); }

Error in overlay types inheritance

2013-04-09 Thread Sergey Vinogradov
Hi, I have following class hierarchy: interface Properties --PropertiesOverlay ReportRowModelOverlay TrendValueModelOverlay And GWT compiler throw error: ERROR: Exception initializing module com.google.gwt.dev.jjs.InternalCompilerException: Already seen an implementing JSO subtype

JSNI eval returning float value of function

2013-04-09 Thread Meths
Hey, I have a problem, I need eval function to calculate some function given in String like for example Math.cos(5+7); etc I have been messing up with that piece of code, as of now just to return ints however I have failed badly. public static native int myMethod(String arg) /*-{

Re: Repainting a canvas - clear or create new object?

2013-04-09 Thread David Durham
There's a trick where you layer Canvas elements on top of each other, because you don't necessarily want to redraw everything, only what's changed. I have an example (though no source code available yet): http://gdldemo.appspot.com/ On Fri, Apr 5, 2013 at 11:45 AM, Thad

GWT Application Amazon S3 Resource Hosting Question

2013-04-09 Thread Joseph Lust
Curious if anyone has had experience hosting GWT app resources on S3? There are two ways you can approach it: - Host all of the compiled GWT output on S3 and relay dynamic requests through S3 to your server (i.e. XHR/POST) - Host your static resources on S3, but load the initial .html

Re: GWT Application Amazon S3 Resource Hosting Question

2013-04-09 Thread Jens
Assuming you have one host/server that you can fully configure I would just proxy the requests to the correct location. To make things easy I would group remote services under a common URL prefix, something like example.com/services/*, so you only need a single proxy rule. We use this approach

Is there a set of best practices for implementing nested presenters/view?

2013-04-09 Thread Mohammad Al-Quraian
I did my own way of nesting presenters and now I hit a design issue, should the nested presenter have a reference to the nesting presenter? Is there a better design than this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

PDF document generation from gwt pages

2013-04-09 Thread ramzi.yass...@gmail.com
This is more of a best practice question and seeing what solutions exist out there. We use gwt as our web framework to show custom/dynamic reports on the web, and we are always asked to provide a PDF version of the report. In the past we have used HTML unit to scrap the generated HTML page that

Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-09 Thread coderinabstract
Consider gwtp https://github.com/ArcBees/GWTP (gwt platform) an open source MVP framework for GWT which solves this problem very elegantly... Cheers. On Tuesday, April 9, 2013 7:30:55 PM UTC-4, Mohammad Al-Quraian wrote: I did my own way of nesting presenters and now I hit a design issue,

[gwt-contrib] Change in gwt[master]: Widget Iterator now throws NoSuchElementExceptions correctly.

2013-04-09 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Widget Iterator now throws NoSuchElementExceptions correctly. .. Patch Set 2: (1 comment) File

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-09 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: As tedious as it can be, I'd rather ask people to fix the projects. If there are really too

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-09 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: Actually, I encouraged this solution so I will try to answer. I think enabling private

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-09 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: I think we need to test this in dev mode with the JDT upgrade. If we're using the

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-09 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: Current behavior (forcing it to be package-visible) I think is just an incident of how

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-09 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: If somebody thinks that a field/method needs to be package visible for uibinder then they

[gwt-contrib] Change in gwt[master]: Allow @UIHandler annotated methods to be private.

2013-04-09 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Allow @UIHandler annotated methods to be private. .. Patch Set 2: The surprise comes from violating expectations. I would expect all callers to a private