Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Bug on version 2.4 and 2.4 snapshot

    just changed smartgwt.jar and smartgwt-skins.jar libraries and the first page cannot load with error in firebug:

    Code:
    $debox is not defined
    [Stopper sur une erreur] self.parentResized = $debox($entry(function(){
    solutions suggested here : http://forums.smartclient.com/showthread.php?t=15109
    and here : http://forums.smartclient.com/showthread.php?t=14923

    don't work for me.
    Any other idea ?
    Last edited by munger; 16 Feb 2011, 09:27.

    #2
    Make sure you inherit the SmartGwt module before your entry point class in the the GWT module xml file.

    Comment


      #3
      Thanks, but i am already, here is my file :
      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
      <module rename-to="bgpweb">
      
      	<inherits name="com.google.gwt.user.User" />
      	<inherits name='com.google.gwt.user.theme.chrome.Chrome' />
      	<inherits name="com.smartgwt.SmartGwtNoTheme" />
      	<inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue" />
      	<inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources" />
      
      	<inherits name="org.puremvc.PureMVC_Java_MultiCore" />
      	<inherits name="bgpmodel" />
      	<inherits name='org.masterview.user.Masterview' />
      	<inherits name='ca.nanometrics.gflot.GFlot' />
      
      	<entry-point class="com.vberetti.bgp.web.client.BGPWeb" />
      
      	<stylesheet src="custom.css" />
      	<stylesheet src="mastergrid-custom.css" />
      
      	<source path="com/vberetti/bgp/web/client" />
      	<source path="com/andromas/bgp/web/client" />
      	<source path="com/andromas/bgp/web/utils" />
      
      	<extend-property name="locale" values="fr" />
      	<inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
      	<set-property name="log_RemoteLogger" value="ENABLED" />
      	<set-property name="log_WindowLogger" value="DISABLED" />
      	<set-property name="log_DivLogger" value="DISABLED" />
      
      	<set-configuration-property name="log_pattern"
      		value="(%F:%L) %d [%-5p] %m%n" />
      
      </module>

      Comment


        #4
        Ok, in my case i had to do a bit more, simply put

        Code:
        <inherits name="com.smartgwt.SmartGwtNoTheme" />
        on the top, like this:

        Code:
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
        <module rename-to="bgpweb">
        
        	<inherits name="com.smartgwt.SmartGwtNoTheme" />
        	<inherits name="com.google.gwt.user.User" />
        	<inherits name='com.google.gwt.user.theme.chrome.Chrome' />
        	
        	<inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue" />
        	<inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources" />
        
        ...
        ...

        Comment

        Working...
        X