Re: GWT-Hibernate application do not release session resources

2013-11-05 Thread aironesoft
Jens, thanks for your kind answer. I'll let you know if what you suggest will fix our problems. Il giorno lunedì 4 novembre 2013 19:28:04 UTC+1, Jens ha scritto: Is the HashMap get/put code inside getFactory(String persistenceUnit) synchronized? If not there is a chance that you create

Re: GWT DevMode latest version (1.25 ?) crashes FireFox 24 ESR

2013-11-05 Thread David
Windows 7 64bit On Monday, November 4, 2013, Thomas Broyer wrote: On which OS is this? On Monday, November 4, 2013 11:52:25 AM UTC+1, stuckagain wrote: Hi, I am trying to run devmode on FireFox 24 ESR release, Plugin version says 1.25. When FireFox starts it crashes, when I delete the

Best way to check if an Element is attached?

2013-11-05 Thread Ed
What is the best way to check if an Element instance is attached? The same like Widget.isAttached(). The options I see: I could 1) ask the Body Element if it contains the Element instance (Document.get().getBody().isOrHasChild(element)) 2) I could walk up the tree from the Element instance

Re: Best way to check if an Element is attached?

2013-11-05 Thread Jens
Definitely 2). For browsers that support it https://developer.mozilla.org/en-US/docs/Web/API/Node.compareDocumentPosition can also be used. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop

Re: Best way to check if an Element is attached?

2013-11-05 Thread Ed Bras
@Jens: thanks for the tip. -- 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, send

CellTable Header style as Title+Menubar(For filtering)

2013-11-05 Thread Mohan I
Hi All, I am new to GWT and developed application using Celltable having sorting and filtering(As seperate listbox) and it is working fine. But right now we need to include the same in Header of Celltable like PFA image. Any ideas to achieve this would be highly appreciable. Thanks, Mohan

Re: Using hammer.js for handling touch events/gesture recognitions?

2013-11-05 Thread Manoula Orczyna
Hi Ed! in the meantime i did write a tiny wrapper for hammer.js. It is kind of incomplete, but if fits to my needs. Of course my first idea was to use mgwts built-in capabilities for handling touch events and gestures, however I'm afraid these functions are a bit uggy. For example when

Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread E.P.
Hi Jim, thanks, but I already read the Google results you posted and many more, but I still haven't found a fix that works. I fear that the problem is Mavericks, and something related to the new memory management or the JVM. I'm still investigating on this. Thanks anyway, Eddy On Monday,

Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread Cristiano Costantini
Which JVM are you using? Apple's 1.6 or Oracle's 1.7? 32 bit or 64 bit? How much RAM has your mac? What's your build system or IDE? I have no problem on 2008 mbp with maverick, JDK 1.7 64 bit and 8 Gb ram, Building with maven and coding with Eclipse Kepler Il giorno martedì 5 novembre 2013,

Re: Best way to check if an Element is attached?

2013-11-05 Thread Thomas Broyer
On Tuesday, November 5, 2013 1:28:23 PM UTC+1, Jens wrote: Definitely 2). Why? What's wrong with isOrHasChild? (btw, you could also use the document itself instead of the body) For browsers that support it https://developer.mozilla.org/en-US/docs/Web/API/Node.compareDocumentPositioncan

Re: Best way to check if an Element is attached?

2013-11-05 Thread Ed
Why? What's wrong with isOrHasChild? That's why I am asking. I can imagine that walking up the tree is faster if you have a lot of nested elements. Why should this be just as fast? (In part of my code with many nested stuff, I need to know if it's attached, and it needs to be fast).

Attempting to load client script asynchronously results in error

2013-11-05 Thread geoffrey . arnold
Hello, I'm a new user of GWT. I'm attempting to load a client script asynchronously using the standard append-to-head technique: var scriptElement = document.createElement(script); scriptElement.id = myScript; scriptElement.src = myscript/myscript.nocache.js;

Re: CellTable keyboard events troubles in Chrome

2013-11-05 Thread yves
I know this is not a funny question, but if someone already had this kind of issue or have any suggestion, help would be very appreciated as I could not make it work correctly in Chrome. GWT-team ? Thanks Yves Le dimanche 3 novembre 2013 19:37:03 UTC+1, yves a écrit : Hi All, After a

Re: CellTable keyboard events troubles in Chrome

2013-11-05 Thread Jens
Have you also tried the stable chrome channel instead of the dev channel? -- 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

Re: Implementation alternatives to improve GWT RequestFactory read and write based use cases

2013-11-05 Thread Doug Gschwind
Hi Umit, Thanks for those thoughts. I failed to mention our use of with() in this area. When we read the graph from the server, we do in fact make use of with() with an extensive list of Strings to force the EntityProxy graph population as we need. Interestingly, when we make the call back to

Re: Attempting to load client script asynchronously results in error

2013-11-05 Thread Jens
I think using the xsiframe linker should solve this. At least I have never seen this issue for my bookmarklets (also doing the append-to-head technique) that load a GWT script. In your App.gwt.xml add add-linker name=xsiframe / -- J. -- You received this message because you are subscribed

JavaFX 2.2 WebView support - possible new User Agent?

2013-11-05 Thread Michael Prentice
I've been working on a project for the last few months which involves creating new screens for our Swing application. We wanted to start moving towards a web based interface, but we cannot re-do hundreds of screens in a single release/year. So after doing some testing and being satisfied with

Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread E.P.
Hi Cristiano, I'm using Oracle's 1.7.0_15 64bit. My Mac has 8 GB and the build system is Gradle 1.7. I repeat, all worked before the upgrade to Mavericks. Besides this issue, I had only to install JRE 1.6 to run Intellij IDEA 12 the first time after the upgrade. I think that I tried everything,

Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread Cristiano Costantini
I had to install 1.6 too even if I had 1.7 installed, I think that is a Maverick feature started as soon as some java program starts... I use 1.7.0_40-b43, you may try a newer version too and with some luck it may work. Il giorno martedì 5 novembre 2013, E.P. ha scritto: Hi Cristiano, I'm

Re: JavaFX 2.2 WebView support - possible new User Agent?

2013-11-05 Thread Oliver Krylow
If the CSS snippet you have shown happens to reside in a uibinder file, try escaping prefixed rules with a \ . \-fx-label-padding ... The CSS parser of gwt used to have trouble with those . Thank you for reporting your experience with the javafx webview. It has been an interesting read. Could

Re: JavaFX 2.2 WebView support - possible new User Agent?

2013-11-05 Thread Michael Prentice
Thank you for the idea about escaping the first dash. It made the CSS editor in GWT Designer a bit happier (no longer red). But it didn't end up fixing the issue. I tried the following without any luck as well (all worked great in Chrome): .foo-bar-values { padding: 0px 0px 0px 22px; }

Re: Super Dev Mode on Mobile, Tablet, IPad Browser

2013-11-05 Thread Martones
If you're using MGWT there is a helper method you can use within your code : SuperDevModeUtil.showDevMode(); (see : http://blog.daniel-kurka.de/2012/07/mgwt-super-dev-mode.html) I use it with a param in the URL : http://myapp?SDM pops de SDM menu. Le lundi 4 novembre 2013 10:07:11 UTC+1, CHEN

[gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-05 Thread Matthew Dempsky
In the mean time though, I think I successfully pushed 2.6.0-SNAPSHOT to https://oss.sonatype.org/content/repositories/google-snapshots/. On Tue, Nov 5, 2013 at 12:04 AM, Matthew Dempsky mdemp...@google.comwrote: As promised, I created the release/2.6 branch for tracking development towards

Re: [gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-05 Thread Juan Pablo Gardella
Thanks Mathew! 2013/11/5 Matthew Dempsky mdemp...@google.com In the mean time though, I think I successfully pushed 2.6.0-SNAPSHOT to https://oss.sonatype.org/content/repositories/google-snapshots/. On Tue, Nov 5, 2013 at 12:04 AM, Matthew Dempsky mdemp...@google.comwrote: As promised, I

Re: [gwt-contrib] Deprecating DeRPC classes

2013-11-05 Thread naresh yakkala
Hi Stephan, Could you please let me know is there any patch available to check the impact of removing de rpc calls. Thanks in advance.. Have a good day. Regards, Naresh Yakkala. On Thursday, 20 September 2012 20:18:39 UTC+5:30, Stephen Haberman wrote: Or should I go ahead and propose a

[gwt-contrib] Re: Deprecating and moving AsyncProxy out of SDK

2013-11-05 Thread Jens
Never used it because I didn't like the API. It hides the async behavior completely which makes it easy to fall into traps. IMHO its just too much hiding. Once GWT supports Java 8 and once GWT provides additional API methods that play nicely together with lambda/method references there is no

Re: [gwt-contrib] Deprecating DeRPC classes

2013-11-05 Thread Stephen Haberman
Hi Naresh, Could you please let me know is there any patch available to check the impact of removing de rpc calls. I'm glad you're interested in looking in to this. Unfortunately, I don't really know much about DeRPC. There are probably others on the gwt-contrib list who do though...we'll see

Re: [gwt-contrib] Re: Deprecating and moving AsyncProxy out of SDK

2013-11-05 Thread Stephen Haberman
Never used it Same here, so +1 to your plans to extract it. - Stephen -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving

Re: [gwt-contrib] Deprecating DeRPC classes

2013-11-05 Thread Thomas Broyer
The first step would be to delete com.google.gwt.rpc and the HybridServiceServlet, and then remove all the hooks in RPC that were added to make deRPC possible (there's at least one in RemoteServiceServlet), and probably others in the RPC generator. On Tuesday, November 5, 2013 5:26:21 PM

Re: [gwt-contrib] Deprecating DeRPC classes

2013-11-05 Thread Matthew Dempsky
Just curious, is there a particular impetus to removing DeRPC at this time? E.g., is it causing code bloat or slowness, or making new development more difficult? I'm fine with marking the class as @Deprecated, but unfortunately we [Google] still have an internal customer using DeRPC and so far I

Re: [gwt-contrib] Deprecating DeRPC classes

2013-11-05 Thread Ray Cromwell
DeRPC was essentially an experiment that didn't work out, it was supposed to improve the speed of IE6. It added a lot of hacks to the compiler to make it work, @ArtificialRescue, ability to invoke client-side methods from server emitted functions, which actually requires clever hacks in some

[gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-05 Thread Colin Alworth
It looks like while I can get maven from the command line to get along with that repo, IntelliJ isn't having it - it is getting confused by the fact that the latest gwt-user snapshot 2.6.0-20131105.081128-3 only has a sources jar and a pom, no actual jar with compiled code in it. The -1 jar is

Re: [gwt-contrib] Deprecating DeRPC classes

2013-11-05 Thread Matthew Dempsky
Sorry, let me clarify: I know what DeRPC is and why we'd want to get rid of it. I'm asking why we're discussing getting rid of it *now*. Like I said, Google has an internal user for it still, so someone (most likely me) would need to invest time in helping them transition off before we can

Re: [gwt-contrib] Re: Reminder: Branching GWT 2.6 later today

2013-11-05 Thread Matthew Dempsky
Thanks for testing, Colin! I'll try another push tonight using your scripts. On Tue, Nov 5, 2013 at 5:14 PM, Colin Alworth niloc...@gmail.com wrote: It looks like while I can get maven from the command line to get along with that repo, IntelliJ isn't having it - it is getting confused by the