Ignore place change on bookmark click

2014-09-30 Thread samo
I am using Activities and Places to manage navigation. I load an HTML widget with some content which includes anchor tags which link to bookmarks within the HTML widget itself. The anchor tags should simply navigate to specific bookmarks within the HTML content of the HTML widget. However,

Logging properties and classes

2014-09-30 Thread Luca
I tried to recompile a current project upgrading my dependencies from 2.6.1 to 2.7.0-SNAPSHOT, but I had a lot of problem due to missing properties and classes regarding the GWT logging subsystem. It's a problem of the SNAPSHOT or we need to rework the logging ? What about external libraries

Re: Logging properties and classes

2014-09-30 Thread Jens
GWT 2.7 cleaned up logging a bit so you or any library that does more than just inheriting Logging.gwt.xml would need to check its configuration and maybe update it a bit when upgrading to 2.7. In general FirebugLogHandler and NullLoggingPopup classes have been removed and the corresponding

Re: Logging properties and classes

2014-09-30 Thread Luca
Well, not really a bit... Being a 2.x I would expect not to have API compatibility broken, and also if is not really a problem for my own code (some hours of work), I use some external framework that I don't control. I think I cannot upgrade. Il giorno martedì 30 settembre 2014 11:18:30

Re: Logging properties and classes

2014-09-30 Thread Andrei Korzhevskii
I don't think that removing FirebugLogHandler and NullLoggingPopup should be a problem for anyone, hardly anyone used that. Can you post exact error output here? On Tuesday, September 30, 2014 1:28:12 PM UTC+4, Luca wrote: Well, not really a bit... Being a 2.x I would expect not to have

Where to call an Action when user remove an uploaded image in GWTUpload?

2014-09-30 Thread Tom
I am using GWTUpload , the library is in here https://code.google.com/p/gwtupload/ The Example code at client side found on that website has this structure: // Attach an image to the pictures viewer private OnLoadPreloadedImageHandler showImage = new OnLoadPreloadedImageHandler() {

Re: Logging properties and classes

2014-09-30 Thread Luca
Sure, updated snapshots and mvn install: [INFO] --- gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default) @ --- [INFO] auto discovered modules [INFO] Loading inherited module 'x' [INFO]Loading inherited module 'org.jboss.errai.common.ErraiCommon' [INFO] Loading inherited module

Re: Logging properties and classes

2014-09-30 Thread Andrei Korzhevskii
Thanks for response! Is it the only error you experience in gwt 2.7.0-snapshot? Would you mind posting an issue to https://code.google.com/p/google-web-toolkit/issues/list ? On Tuesday, September 30, 2014 2:11:18 PM UTC+4, Luca wrote: Sure, updated snapshots and mvn install: [INFO] ---

Re: Logging properties and classes

2014-09-30 Thread Luca
I don't know if it's the only one, the build stop at this first error, and I don't want to try a toy application, but a real one. I'll fill an issue. Thanks. Il giorno martedì 30 settembre 2014 12:15:21 UTC+2, Andrei Korzhevskii ha scritto: Thanks for response! Is it the only error you

Re: Logging properties and classes

2014-09-30 Thread Jens
[INFO] --- gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default) @ --- [INFO] auto discovered modules [INFO] Loading inherited module 'x' [INFO]Loading inherited module 'org.jboss.errai.common.ErraiCommon' [INFO] Loading inherited module 'org.jboss.errai.common.Logging'

Exception while adding anchor button to HTMLPanel..

2014-09-30 Thread Mohammed Sameen
While Adding Anchor button to HTMLPanel i am getting the below error. lblPanel = new HTMLPanel(sameen); lblPanel.add(hintButton); 15:28:05.558 [ERROR] [widgetdemo] Uncaught exception escaped com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError)

Re: Logging properties and classes

2014-09-30 Thread Thomas Broyer
On Tuesday, September 30, 2014 11:28:12 AM UTC+2, Luca wrote: Well, not really a bit... Being a 2.x I would expect not to have API compatibility broken, GWT does not follow SemVer. But I agree we should probably have those 2 properties defined in 2.7 even if they're never used, and

Unable to disable debug IDs

2014-09-30 Thread Peter Cliff
I hope this is the right place to ask what I hope is a simple question! I have a module that is inheriting the debug module and this appears to work - the test debug ID I've added is appearing. If I add: set-property name=gwt.enableDebugId value=false/ the debug IDs disappear. Now I'd like

Re: Unable to disable debug IDs

2014-09-30 Thread Thomas Broyer
There's no way to override/set GWT binding or configuration properties form the command line; you have to use a gwt.xml file. But you can simply use a gwt.xml file that inherits/ your main gwt.xml, rename-to= the same, and redefines some properties. See Renaming modules in

Re: Unable to disable debug IDs

2014-09-30 Thread Joseph Lust
Create another .gwt.xml file that extends your base (testing) .gwt.xml file. Override the property there. Now you're got a testing app you can build for testing and a prod app you can deploy. -Joe -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Auto Response

2014-09-30 Thread Steve Ronald
I will be out of office from Sept 30th, 2014 to Oct 9th, 2014. Please contact Mike 2407644639 (m...@globalsyst.com) in my absence. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving

Re: How to calculate ages correctly in GWT?

2014-09-30 Thread Joseph Lust
This is not a GWT problem, but basic math. You've already computed the age in milliseconds. Years are quite arbitrary in the West, so you'll need to account for all those leap years, leap seconds, and edge cases. You should use Joda Time. GWT *does support Joda Time You've already calculated

Re: How to calculate ages correctly in GWT?

2014-09-30 Thread Thomas Broyer
On Tuesday, September 30, 2014 1:47:59 PM UTC+2, Joseph Lust wrote: You should use Joda Time. GWT *does support Joda Time.* Looks like you forgot the link's href, or Google Groups eat it… -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: problem to test the widget TabPanel

2014-09-30 Thread Clement
Hi All, I'm facing the same problem, Please share the solution if you have already resolved this issue. Thanks Clement Amarnath On Tuesday, June 18, 2013 8:08:04 PM UTC+5:30, fatimaAngel wrote: I work on a gwt project, I should create some interfaces using widgets, and everything is good.

Re: Unable to disable debug IDs

2014-09-30 Thread Peter Cliff
Thank you Thomas and Joseph - I'll give that go! Pete On Tuesday, 30 September 2014 12:39:14 UTC+1, Joseph Lust wrote: Create another .gwt.xml file that extends your base (testing) .gwt.xml file. Override the property there. Now you're got a testing app you can build for testing and a prod

Re: Unable to disable debug IDs

2014-09-30 Thread Peter Cliff
Should anyone else find their way here my colleague pointed me to this: http://stackoverflow.com/questions/1745315/how-to-create-a-development-debug-and-production-setup Which explains a little more about the solution suggested below. On Tuesday, 30 September 2014 11:51:26 UTC+1, Peter Cliff

Using multiple UiRenderer types in one CellRenderer

2014-09-30 Thread stuckagain
I'm trying to use multiple UiRenderer types in one CellRenderer. One annoying feature is that you are supposed to use the same base file name for the ui.xml file as the class in which the UiRenderer is defined. In my case I actually want to use multiple UiRenderer interfaces and UiBinder

Re: Logging properties and classes

2014-09-30 Thread Ümit Seren
Funny I came accross the same issue today (Errai-Bus and GWT-2.7.0-SNAPSHOT). I filed two issues in the JIRA issue tracker for the Errai project ( https://issues.jboss.org/browse/ERRAI-798 and https://issues.jboss.org/browse/ERRAI-799) You need two workarounds: 1.) Add the logging

Re: How to calculate ages correctly in GWT?

2014-09-30 Thread Joseph Lust
Thanks Thomas. Google Groups ate it. http://stackoverflow.com/questions/10311754/date-time-library-for-gwt - Joe -- 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

Re: Using multiple UiRenderer types in one CellRenderer

2014-09-30 Thread Jens
Am Dienstag, 30. September 2014 15:42:34 UTC+2 schrieb stuckagain: I'm trying to use multiple UiRenderer types in one CellRenderer. One annoying feature is that you are supposed to use the same base file name for the ui.xml file as the class in which the UiRenderer is defined.

GWT 2.7 compile time performance for product release builds

2014-09-30 Thread Thanos
We are seeing a lot about how GWT 2.7 refresh times within Eclipse has improved. Such as this video showing sub 1s refresh times. https://www.youtube.com/watch?v=qpCSbj36O44feature=youtu.be I'm interested to know if there have been any improvements on compilation for product release builds from

Re: Using multiple UiRenderer types in one CellRenderer

2014-09-30 Thread David
On Tue, Sep 30, 2014 at 4:45 PM, Jens jens.nehlme...@gmail.com wrote: @UiTemplate does not work for UiRenderer? http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html#Apply_different_xml Brilliant! I did not know that it existed. I also noticed that the UiRenderer interface is

Re: XMLHttpRequest: invalid response when loading data from Client Bundle

2014-09-30 Thread Magnus
I understand that moving a SVG file into the defs section into a SVG element is specific to the SVG library used, in this case Snap.svg. So I opened a thread in a Snap group: https://groups.google.com/forum/#!topic/snapsvg/8RsMMUaPPCI But it seems that this requirement cannot be fulfilled with

SuperDevMode with -noserver and remote server

2014-09-30 Thread Rogelio Flores
I have an app that that has a server with a complex setup and is memory-intensive so we run it on a remote host. Good ol' DevMode runs fine if we run it with -noserver and point to remote host. I just upgraded to latest GWT as it was using an old version, and we want to start using

Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Joseph Lust
Try using the Maven plugin, should be able to feed it any remote server parameters you need: mvn gwt:run-codeserver, and just pass the needed ports and hosts http://mojo.codehaus.org/gwt-maven-plugin/run-codeserver-mojo.html. Joe -- You received this message because you are subscribed to

Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Rogelio Flores
Thanks, unfortunately this is a project I didn't setup and has an ant build script which would take me some time to convert to maven (something that I'd like to do in near future but want to avoid atm). But isn't the codeserver independent of the server running the compiled app? What would you

Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Michael Joyner
Just a shot in the dark, but did you enable the whitelist setting in the xml file? On 09/30/2014 02:26 PM, Rogelio Flores wrote: I have an app that that has a server with a complex setup and is memory-intensive so we run it on a remote host. Good ol' DevMode runs fine if we run it with

Re: Logging properties and classes

2014-09-30 Thread Luca
Not for me, after that I got error in de/barop/gwt/client/HistoryImplPushState.java, inherited from Errai. Il giorno martedì 30 settembre 2014 15:41:51 UTC+2, Ümit Seren ha scritto: Funny I came accross the same issue today (Errai-Bus and GWT-2.7.0-SNAPSHOT). I filed two issues in the

Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Rogelio Flores
And what whitelist setting might that be? On Tuesday, September 30, 2014 3:01:26 PM UTC-6, Michael Joyner wrote: Just a shot in the dark, but did you enable the whitelist setting in the xml file? On 09/30/2014 02:26 PM, Rogelio Flores wrote: I have an app that that has a server with a

Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Thomas Broyer
On mobile right now so can't look it up but have a look at the release notes, then search in StackOverflow for how to use it. Note this must be enabled before compiling and deploying to your remote server IIRC. -- You received this message because you are subscribed to the Google Groups

Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Rogelio Flores
Mmm, could it be that my remote server uses HTTPS? I see a javascript warning about this in the console, and just noticed in the release notes something about super dev mode being disabled for security reasons in that scenario and that it didn't work anyway (?). Is there a workaround for that

Re: GWT 2.7 compile time performance for product release builds

2014-09-30 Thread Thanos
Here are some responses from another gwt community thread on the subject of sub 1s refresh times, for for GWT 2.7 and the mgwt kitchen sink example. https://plus.google.com/111085781306219684730/posts/gb7WEqzr5Kb The initial compile is like -draftCompile and if things haven't changed in the

Re: [gwt-contrib] Re: DevMode with -superDevMode hardcoded -noprecompile

2014-09-30 Thread Manuel Carrasco Moñino
On Mon, Sep 29, 2014 at 6:32 PM, Brandon Donnelson branflake2...@gmail.com wrote: We had a reset.css included in the public app folder which was used by adding it to the static html header. In this case I just moved it to the gwt xml module so it was available on gwt app initialization. yep,

[gwt-contrib] JsInterop

2014-09-30 Thread Michael Vogt
Hello. Should it be possible right now to use JsInterop to use the facebook Javascript sdk? The call I want to use is FB.XFBML.parse So I created 2 interfaces: @JsType public interface FB { @JsProperty XFBML getXFBML(); } @JsType public interface XFBML { void parse(); } I get FB through

Re: [gwt-contrib] JsInterop

2014-09-30 Thread 'Goktug Gokdogan' via GWT Contributors
Did you enable jsinterop? If you did, take a look at the generated javascript and see if it makes sense. On Tue, Sep 30, 2014 at 3:55 AM, Michael Vogt i...@michaelvogt.eu wrote: Hello. Should it be possible right now to use JsInterop to use the facebook Javascript sdk? The call I want to

[gwt-contrib] Trying SDM with Java 1.6 Issue gotcha

2014-09-30 Thread Brandon Donnelson
Just a thought, the folks that forget to update Java 1.6 to Java 1.7 in their project and run SDM (super dev mode) will have issues. A warning could be useful for those trying to run SDM with Java 1.6 otherwise the warning is an exception of no significance. I'm tempted to ask the IDES to add

Re: [gwt-contrib] Trying SDM with Java 1.6 Issue gotcha

2014-09-30 Thread 'Goktug Gokdogan' via GWT Contributors
1.7 was mostly required for GSS and that is no longer planned for 2.7 release so we can probably fix this breakage (recently introduced) instead of a warning. On Tue, Sep 30, 2014 at 10:50 AM, Brandon Donnelson branflake2...@gmail.com wrote: Just a thought, the folks that forget to update

[gwt-contrib] Recompile issue coming up on sdm start, gwt 2.7.0-snapshot

2014-09-30 Thread Brandon Donnelson
I'm not sure whats going on yet, but I've got some recompile issue coming up when trying to start dev mode. (This isn't using in browser recompile button) After moving to Java 1.7 because of a Java 1.6 error I got stuck with this error. Not sure whats going on yet, but I thought I'd post it

[gwt-contrib] Re: JsInterop

2014-09-30 Thread Arnaud TOURNIER
By adding the -XjsInteropMode JS option, the thing should work. Le mardi 30 septembre 2014 12:55:57 UTC+2, Michael Vogt a écrit : Hello. Should it be possible right now to use JsInterop to use the facebook Javascript sdk? The call I want to use is FB.XFBML.parse So I created 2

Re: [gwt-contrib] Trying SDM with Java 1.6 Issue gotcha

2014-09-30 Thread 'Brian Slesinsky' via GWT Contributors
Oops. This particular bug shouldn't be hard to fix. On Tue, Sep 30, 2014 at 10:50 AM, Brandon Donnelson branflake2...@gmail.com wrote: Just a thought, the folks that forget to update Java 1.6 to Java 1.7 in their project and run SDM (super dev mode) will have issues. A warning could be

Re: [gwt-contrib] Trying SDM with Java 1.6 Issue gotcha

2014-09-30 Thread 'Brian Slesinsky' via GWT Contributors
Actually, that particular stack trace should be fixed by this uncommitted patch: https://gwt-review.googlesource.com/#/c/9361/ However, I haven't tested it on Java 1.6. On Tue, Sep 30, 2014 at 11:48 AM, Brian Slesinsky skybr...@google.com wrote: Oops. This particular bug shouldn't be hard to

Re: [gwt-contrib] Recompile issue coming up on sdm start, gwt 2.7.0-snapshot

2014-09-30 Thread 'John Stalcup' via GWT Contributors
I can explain what's going here I think. Incremental compile is made possible by storing and reusing data in a new object called a MinimalRebuildCache. Since some of the analysis that incremental compilation is much simpler when there is only one permutation being compiled and since the contents

[gwt-contrib] Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread 'Goktug Gokdogan' via GWT Contributors
Thinking about it, we should probably make superDevMode opt-out instead of opt-in and make it work out of the box for existing users instead of asking them to add the -superDevMode. So what do you think about making superDevMode the default for dev-mode in 2.7 release? PS: BTW, if you haven't

Re: [gwt-contrib] Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread 'John Stalcup' via GWT Contributors
Yeah I kind of agree. If DevMode support is removed in Chrome soon after the 2.7 release, we'll be wishing we'd made DevMode launches default to turning superDevMode on. On Tue, Sep 30, 2014 at 11:54 AM, 'Goktug Gokdogan' via GWT Contributors google-web-toolkit-contributors@googlegroups.com

Re: [gwt-contrib] Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread Brandon Donnelson
I was looking at this when updating the feature for GPE and thought this might change in 3.0, but would be easy to adjust in GPE, I'm testing the preview build now and things are working good. But on the other hand if this changes, what do you think would happen, b/c I would need to deal with

[gwt-contrib] GWT project module DocType DTD location

2014-09-30 Thread Brandon Donnelson
Just curious where the GWT 2.6.1+ DocType dtd http location should be? I would suspect here: https://gwt.googlesource.com/gwt/+/2.6.1/distro-source/core/src/gwt-module.dtd, although this location serves up some wrapper ui. I wonder if there is a way to get a raw file from gittiles? !DOCTYPE

Re: [gwt-contrib] Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread 'Goktug Gokdogan' via GWT Contributors
On Tue, Sep 30, 2014 at 12:06 PM, Brandon Donnelson branflake2...@gmail.com wrote: I was looking at this when updating the feature for GPE and thought this might change in 3.0, but would be easy to adjust in GPE, I'm testing the preview build now and things are working good. The only thing

[gwt-contrib] Re: GWT project module DocType DTD location

2014-09-30 Thread Jens
Is there any way to get raw files out of gittiles? Currently not: https://code.google.com/p/gitiles/issues/detail?id=7 IMHO the file should be deployed to gwtproject.org along with a nightly one for SNAPSHOT users. -- J. -- You received this message because you are subscribed to the

[gwt-contrib] Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread Thomas Broyer
Fwiw, we made it the default in the gwt-maven-plugin. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to

[gwt-contrib] Re: Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread Brandon Donnelson
Should I make this default behavior in GPE? On by default? On Tuesday, September 30, 2014 3:40:15 PM UTC-7, Thomas Broyer wrote: Fwiw, we made it the default in the gwt-maven-plugin. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To

Re: [gwt-contrib] Re: Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread 'Daniel Kurka' via GWT Contributors
The GWT team thinks that this should be the default behaviour going forward. On Tue, Sep 30, 2014 at 4:21 PM, Brandon Donnelson branflake2...@gmail.com wrote: Should I make this default behavior in GPE? On by default? On Tuesday, September 30, 2014 3:40:15 PM UTC-7, Thomas Broyer wrote:

Re: [gwt-contrib] Re: Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread Brandon Donnelson
We've got quite a few downstream changes to fixup if the flag changes to turn on DevMode then. When do you think we can get that in so I can adjust GPE program args. :) On Tuesday, September 30, 2014 4:22:24 PM UTC-7, Daniel Kurka wrote: The GWT team thinks that this should be the default

Re: [gwt-contrib] Re: Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread 'John Stalcup' via GWT Contributors
Goktug mentioned that he thinks the option should be on be default in GWT, which would mean no change necessary in GPE. And I agree. On Tue, Sep 30, 2014 at 4:21 PM, Brandon Donnelson branflake2...@gmail.com wrote: Should I make this default behavior in GPE? On by default? On Tuesday,

Re: [gwt-contrib] Re: Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread Brandon Donnelson
Gotcha. Well, I baked in -superDevMode program arg switch, and this is also backported in an embedded jar. I would have to take into account some switch to turn back on DevMode. I was hoping to alleviate the pain of changing the program args by hand. On Tuesday, September 30, 2014 4:28:18 PM

Re: [gwt-contrib] Re: Change the superDevMode to be the default for dev-mode?

2014-09-30 Thread 'John Stalcup' via GWT Contributors
Brandon and I talked a bit about if offline and just the summarize: If we want to accomplish making SuperDevMode on as the default behavior in the DevMode launcher in GPE it is going to require some changes in Brandon's work regardless of whether we do it via updating the default value of the

Re: [gwt-contrib] Recompile issue coming up on sdm start, gwt 2.7.0-snapshot

2014-09-30 Thread Colin Alworth
The 'test runner' in this case is just the name of a regular module file, which happens to be used for running lots of tests, most of which look like EntryPoints. Nothing too magic going on here, and I've gotten this error by running modules for more 'normal' gwt apps as well, typically when I