Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Chak Lai
If IE7support is removed from GWT, will GWT run correctly on IE in Intranet? (IE will default to IE7 Browser mode for Intranet Website) -- 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: undefined.cache.js when starting GWT app in web mode?

2013-10-28 Thread Ed
I am debugging the bootstrap js script to find out what is going wrong and I am a bit confused, please some help? It seems that the bootstrap script throws an exception that is silently ignored, such that the strongName variable is undefined, such that it tries to load undefined.cache.js..

Re: undefined.cache.js when starting GWT app in web mode?

2013-10-28 Thread Ed
I didn't think it would help, but I just added a default browser.engine property to the BrowserEngine.gwt.xml file, just below the define-property...: set-property name=browser.engine value=webkit / !-- provide a default as last resort -- Strange enough this does help, as it does starts now.

Re: How conditional Css for all IE browsers?

2013-10-28 Thread Ed
@Thomas: apparently I had to include a default value for browser.engine property, else it doesn't work, the app wont' start, as explained in this forum post: https://groups.google.com/forum/#!topic/google-web-toolkit/LPqQb4P9xI4 -- You received this message because you are subscribed to the

Re: GWT - How add files from other project?

2013-10-28 Thread Daniel De Leon
did you include your new module into your project? : inherits name='com.domain.sample.Dto'/ On Sunday, October 27, 2013 4:39:02 PM UTC-7, giuseppe...@ab4cus.com wrote: I have a GWT project. Client code is located in the client dir. I want to add external java classes (mainly DTO classes) that

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Thomas Broyer
On Monday, October 28, 2013 4:22:29 PM UTC+1, Chak Lai wrote: If IE7support is removed from GWT, will GWT run correctly on IE in Intranet? (IE will default to IE7 Browser mode for Intranet Website) Include the correct meta http-equiv=X-UA-Compat in the HTML? A Google search led me to

Re: undefined.cache.js when starting GWT app in web mode?

2013-10-28 Thread Colin Alworth
If you compile in PRETTY instead of DETAILED, it won't intern those strings, but still will leave the output mostly readable (just no packages). Without seeing the rest of the structure of the module files, it is hard to speculate, but we're using more or less the same idea successfully, though

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Colin Alworth
We've found experimentally that the meta tag has no effect on IE8 when in intranet mode. We've further found that it does seem to respect the http header, which could be set in a filter like this: public class LatestIEFilter implements Filter { @Override public void doFilter(ServletRequest

Re: undefined.cache.js when starting GWT app in web mode?

2013-10-28 Thread Ed Bras
@Colin: thanks for isolated example that shows the problem. -- 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: undefined.cache.js when starting GWT app in web mode?

2013-10-28 Thread Colin Alworth
Looks like my sample may have been too simplistic - upon re-reading http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties it looks like they do indeed suggest using a default as the 'correct' way to do things: !-- Provide a default -- set-property name=alternateFeatures

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Chak Lai
In Intranet environment, that META tag can only change IE Document Mode (such as how IE layout the web page), but it cannot change IE Browser Mode (such as IE's JavaScript Engine). It is because the Browser Mode is loaded (Intranet is detected) before IE parse the HTML. Even with the meta

Re: Error using IMAGE/IO in a Servlet

2013-10-28 Thread Sean
This is the full Error: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader at com.ll.io.GeoImageReader.readTif(GeoImageReader.java:54) at

Error using IMAGE/IO in a Servlet

2013-10-28 Thread Sean
I'm trying to read a .tiff on the back end of my server. I do: [...] FileImageInputStream fis = new FileImageInputStream(new File(p_tifName)); Object o = ImageIO.getImageReadersByFormatName( tiff).next(); TIFFImageReader reader = (TIFFImageReader)o; reader.setInput(fis); [...] If I run this code

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Jens
In Intranet environment, that META tag can only change IE Document Mode (such as how IE layout the web page), but it cannot change IE Browser Mode (such as IE's JavaScript Engine). It is because the Browser Mode is loaded (Intranet is detected) before IE parse the HTML. Even with the

Re: BUG? GWT modules inherit: filepath vs classpath

2013-10-28 Thread Vassilis Virvilis
On 10/26/13 12:16, Thomas Broyer wrote: Modules can specify which subpackages contain translatable /source/, causing the named package and its subpackages to be added to the /source path/. Only files found on the source path are candidates to be translated into JavaScript,

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Chak Lai
On Monday, October 28, 2013 3:49:19 PM UTC-4, Jens wrote: In Intranet environment, that META tag can only change IE Document Mode (such as how IE layout the web page), but it cannot change IE Browser Mode (such as IE's JavaScript Engine). It is because the Browser Mode is loaded

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Colin Alworth
Chak, take a look again at my post - while the meta tag definitely does not work to tell IE8 to behave when in intranet mode, loading the exact same html content and sending the same ua-compat details over a HTTP header *does* solve this. On Monday, October 28, 2013 3:08:47 PM UTC-5, Chak Lai

Re: Error using IMAGE/IO in a Servlet

2013-10-28 Thread Jens
This kind of ClassCastException typically occurs if you have a ClassLoader issue. If the same class is loaded by two different ClassLoader then Java treats these two classes as different and its likely that you get the above ClassCastException. First I would make sure that you have the

Re: Error using IMAGE/IO in a Servlet

2013-10-28 Thread Thad Humphries
The problem sounds like the JreMemoryLeakPreventionListener. In $CATALINA_HOME/conf/server.xml add appContextProtection=false to that Listener: Listener className=org.apache.catalina.core.JreMemoryLeakPreventionListener appContextProtection=false / You will be opening up Tomcat to a

Re: GWT - How add files from other project?

2013-10-28 Thread giuseppe . malatino
Sorry I forgot to mention that... Yes already defined the inherit in the gwt.xml from my GWTProject. More precisely the content of the *Web.gwt.xml* is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 2.5.1//EN

Re: GWT - Send a message from the server to the client?

2013-10-28 Thread Timothy Spear
Google gwteventservice. Tim On Oct 28, 2013, at 5:01 PM, Joshua Godi joshuag...@gmail.com wrote: Good afternoon, I was curious how I would properly send a message from the server to the client? Here is my scenario: Client A - Modifies User1 from the GUI and pushes the data to the

Re: GWT - Send a message from the server to the client?

2013-10-28 Thread Stevko
There are several ways I've managed to do push messages to the client: If you are using appengine, research the Channel api https://developers.google.com/appengine/docs/java/channel/ If you have access to an MQ server (like ActiveMQ), consider using a JMS/STOMP/WebSocket protocol stack

Re: BUG? GWT modules inherit: filepath vs classpath

2013-10-28 Thread Thomas Broyer
No, the source path is a subset of the classpath (defined by the source elements in gwt.XML files). It's defined in terms of packages, not file paths. Le 28 oct. 2013 21:03, Vassilis Virvilis vasv...@gmail.com a écrit : On 10/26/13 12:16, Thomas Broyer wrote: Modules can specify which

Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-28 Thread Chak Lai
I have tried your filter, and the IE Browser Mode has changed, however: For IE8, I got Internet Explorer 8 Compatibility View, and the user agent is: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center

How to use “Scheduler.get().scheduleDeferred” the right way in GWT?

2013-10-28 Thread Tom
Here is my Pseudocode in my GWT app. -Visible the loading Label -Loading text from properties file (may take long) -Invisible the loading Label Visible the main HTMLPanel So I want to use Scheduler.get().scheduleDeferred to achive that, here is the code: loadingLabel.setVisible(true);

[gwt-contrib] Building Elemental fails

2013-10-28 Thread Jens
I just tried to add Elemental to our GWT trunk builds and thus changed ant clean dist to ant clean elemental dist and now always getting the following build error: generate: [exec] Traceback (most recent call last): [exec] File idl/scripts/elemental_fremontcutbuilder.py, line 217,

[gwt-contrib] Re: Building Elemental fails

2013-10-28 Thread Colin Alworth
I can't reproduce this, we're also running ant clean elemental dist on our teamcity build. We're also running ubuntu 12, python 2.7.3. Last confirmed building as of 0d6a865556ca56840114e8397a1f2be522e83361 (current HEAD). On Monday, October 28, 2013 5:43:04 AM UTC-5, Jens wrote: I just tried

[gwt-contrib] Re: Building Elemental fails

2013-10-28 Thread Jens
Thx for checking it, Colin. Pretty strange that it doesn't work. The error also happens if I just execute ant on console directly on the server. -- J. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google

[gwt-contrib] Re: Building Elemental fails

2013-10-28 Thread Colin Alworth
Good thought, I tried that too to confirm that teamcity wasn't setting anything funny. Still passed, not sure what is up. Other details that may or may not help: $ java -version java version 1.6.0_35 Java(TM) SE Runtime Environment (build 1.6.0_35-b10) Java HotSpot(TM) Server VM (build

[gwt-contrib] Re: Next GWT Contributor Hangout

2013-10-28 Thread Joshb
Hi Bhaskar, I am a long time GWT user (5+ years), and am very much interested in the developments surrounding SDM for the 3.0 release. I know there has been a lot of talk about how the debug environment will look, and was hoping someone from google's GWT team could speak to what the goal is