Tuesday, February 11, 2014

Re: gwt 2.6 SuperDevMode and injected css problem

Colin,

Thanks for the answer. Maybe that's the problem. I can't check right now but I will as soon I will get back.

Just one note: When I am saying blank pages I really mean that my css which is colorful (don't ask) is not injected. The contents is there in the page and the RPC is working normally. I just don't see my stuff due to missing color and layout definitions of the css.

In my gwt.xml I am compiling with one permutation (html standard). Here is the gwt.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- When updating your version of GWT, you should also update this DTD reference,
        so that your app can take advantage of the latest GWT module capabilities. -->
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN"
  "http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd">
<module rename-to="Start">
        <inherits name="com.google.gwt.user.theme.standard.Standard" />
        <inherits name="com.google.gwt.user.User" />
        <inherits name="com.google.gwt.resources.Resources" />
        <source path="client" />
        <source path="common" />
        <entry-point class="com.sn.client.Start" />
        <collapse-all-properties />

        <inherits name="com.google.gwt.logging.Logging" />
        <set-property name="gwt.logging.logLevel" value="ALL" />
        <set-property name="gwt.logging.enabled" value="TRUE" />
        <set-property name="gwt.logging.firebugHandler" value="DISABLED" />
        <set-property name="gwt.logging.simpleRemoteHandler"
                value="DISABLED" />
        <set-property name="gwt.logging.consoleHandler" value="DISABLED" />
        <set-property name="gwt.logging.developmentModeHandler"
                value="DISABLED" />
        <set-property name="gwt.logging.popupHandler" value="DISABLED" />
        <set-property name="gwt.logging.systemHandler" value="DISABLED" />

        <set-configuration-property name="devModeRedirectEnabled"
                value="true" />
        <add-linker name="xsiframe" />
        <set-property name="compiler.useSourceMaps" value="true" />
</module>




On Tue, Feb 11, 2014 at 2:16 AM, Colin Alworth <niloc132@gmail.com> wrote:
With Super Dev Mode off, the browser simply loads the compiled code from the regular web server, so this suggests that either Super Dev Mode is being used as your regular server (and so only one copy of the app is available at a time, for the last browser it compiled for), or your normal compiled app is being compiled with those browsers turned off. The fact that SDM is able to generate code for those browsers suggests that the code itself is fine, and that either your project simply needs to be recompiled, or properties are set up in your .gwt.xml to exclude those browsers. Without seeing code or the running app, it is hard to be more specific.



On Sat, Feb 8, 2014 at 11:50 PM, Vassilis Virvilis <vasvir2@gmail.com> wrote:
Hi Colin,

The problem is when DevMod is off. As I said when when DevMod is on (with compile) everything works in all browsers. However when I am not developing I would expect that site would be working with the version of software currently deployed for all browsers and not only chrome.

Right now I am getting blank pages in firefox and IE.

   Vassilis


On 02/08/14 03:07, Colin Alworth wrote:
Can you confirm that you are hitting the Compile button in each browser and that the SDM console is indicating that it is recompiling for each other user agent? It sounds as though you might be compiling when you start up one browser, then just turning dev mode on without recompiling in other browsers.

On Friday, February 7, 2014 4:25:18 PM UTC-6, Vassilis Virvilis wrote:

    Helo everybody,

    I have enabled super dev mode and it works ok in chrome but fails in
    firefox and internet explorer.

    More specifically

    I added
         <set-configuration-property name="devModeRedirectEnabled"
             value="true" />
         <add-linker name="xsiframe" />
         <set-property name="compiler.useSourceMaps" value="true" />

    in my gwt.xml

    My application requires some css to be injected with

         Resources.INSTANCE.css().ensureInjected();

    which I do as the first thing in onModuleLoad()

    When dev mode is on (the bookmartlet) everything is working in all
    browsers
    When dev mode if off only chrome is working. In firefox and IE css
    resources are not injected.

    Any ideas?

          Vassilis

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment