Announcement

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

    #31
    Are you going to address this also in the SmartGwt 3.0 builds?
    Thanks

    Comment


      #32
      Yes, SmartGWT 3.0p builds are based on SmartClient 8.2p (as you saw from the version string in the developer console)

      Comment


        #33
        Originally posted by Isomorphic
        Thanks for the report, we've addressed that last issue in 8.3d and 8.2p - the change will make it into the nightlies over the next couple of days.
        I had this exact problem, and it turns out this fix in the 5/16/2012 nightly build fixes the problem.

        Is there a bug number/link to bug tracker associated with this fix? I would like to track this to know when it will appear in a new GA release. Am I correct in assuming this fix will appear in the next GA release of the SmartGWT 3.x line?

        Comment


          #34
          See smartclient.com/builds - a "p" build is a GA release plus patches. It's what you should deploy.

          Comment


            #35
            Originally posted by Isomorphic
            See smartclient.com/builds - a "p" build is a GA release plus patches. It's what you should deploy.
            This may be a stupid question on my part - but are these published on a maven repo? I know the 3.0 GA is available through maven, but can't find these patched releases.

            Comment


              #36
              We recommend using the Maven approach on the wiki, which covers both patch and development branches and both commercial and LGPL builds.

              Comment


                #37
                hi,

                I am facing the same red cross problem, So I followed this post and used
                com.smartclient.SmartClientNoScript in my gwt.xml file insted of SmartGwt.

                But now I am getting the following error:

                java.lang.NoClassDefFoundError: com/smartgwt/client/widgets/form/DynamicForm

                My gwt.xml file is as follows:
                <inherits name='com.google.gwt.user.User'/>
                <inherits name='com.google.gwt.widgetideas.WidgetIdeas' />
                <inherits name='com.google.gwt.libideas.LibIdeas' />
                <inherits name="com.smartclient.SmartClientNoScript"/>
                <inherits name='com.renault.commonparts.commonparts' />
                <entry-point class='foo.bar.myentrypointclassname'/>

                My html file is as follows:

                <!doctype html>
                <html>
                <head>
                <meta http-equiv="content-type" content="text/html; charset=UTF-8">

                <link type="text/css" rel="stylesheet" href="css\detectfiles.css"/>
                <link type="text/css" rel="stylesheet" href="css\corp.css"/>
                <link rel="stylesheet" type="text/css" href="css\print.css" media="print" />

                <title>Detect Files</title>

                <script type="text/javascript" language="javascript" src="detectfiles/detectfiles.nocache.js"></script>
                </head>

                <body>

                <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>

                <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
                Your web browser must have JavaScript enabled
                in order for this application to display correctly.
                </div>
                </noscript>

                <table width="100%"><tbody><tr><td>

                <!-- Page Header -->
                <div>somecode</div>
                <!-- /Page Header -->

                <div>
                <table align="center" class="table" border="0">
                <tr>
                <td>

                <table>
                <tr></tr><tr></tr>
                <tr>
                <td id="dfPage">
                </td>
                </tr>
                </table>
                </td>
                </tr>
                </table>
                <br/>

                </div>
                </td>
                </tr>
                </tbody>
                </table>
                </body>
                </html>

                In my code I am simply using

                DynamicForm foo = new DynamicForm();
                foo.disable();

                Comment


                  #38
                  You're not inheriting SmartGWT at all because you've got "com.smartclient.SmartClientNoScript" as your inherit. Inherit com.smartgwt.SmartGWTNoScript if you want to use NoScript mode, but consider all the other possible causes first. Troubleshooting via NoScript is very unlikely to be necessary.

                  Comment


                    #39
                    hi,

                    Actually I tried to inherit SmartGwt alone but still it displays that cross image.

                    I also cleaned my browser cache

                    Comment


                      #40
                      Having this same issue on IE9

                      I'm using SmartGwtPro 2.5 and Gwt 2.4.

                      I've already tried various combinations of removing SmartClientProDefault, adding SmartGwtProNoScript, etc and no luck, clearing cache each time.

                      Code:
                      <?xml version="1.0" encoding="UTF-8"?>
                      <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source/core/src/gwt-module.dtd">
                      
                      <module rename-to="portal">
                      
                          <inherits name='com.google.gwt.user.User'/>
                          <inherits name="com.google.gwt.i18n.I18N"/>
                      
                          <inherits name="com.smartgwt.SmartGwtNoScript"/>
                          <inherits name="com.smartclientpro.SmartClientProDefault"/>
                      
                          <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"/>
                      
                      	<define-linker name="smartgwt" class="com.smartgwt.linker.SmartGwtLinker" />
                      	<set-property name="user.agent" value="ie9"/>
                      
                          <extend-property name="locale" values="en_US"/>
                      
                          <add-linker name="smartgwt" />
                          <entry-point class='com.touchcommerce.portal.client.Portal'/>
                      
                      	<source path="client"/>
                      	<source path="gwt"/>
                      	<source path="shared"/>
                      </module>
                      Removing Doctype works but messes the rest of the UI up.
                      Code:
                      <!DOCTYPE html>
                      <html>
                      <head>
                      	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
                      
                          <link rel="shortcut icon" href="/portal/images/favicon.ico">
                      
                          <!-- META -->
                          <meta name="language" content="en">
                          <meta name="viewport" content="width=device-width">
                      
                          <!-- TITLE -->
                          <title>Right Touch Portal</title>
                      
                          <!-- CSS -->
                          <link href="newLookUi/print.css" rel="stylesheet" media="print">
                          
                          <!-- JS -->
                      	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
                          <script src="newLookUi/jsOnload.js"></script>
                          <!--[if (gte IE 6)&(lte IE 8)]><script src="newLookUi/selectivizr.js"></script><![endif]-->
                          <!--[if (gte IE 6)&(lte IE 8)]><script src="newLookUi/mediaqueries.js"></script><![endif]-->
                          <!--[if IE 6]><script src="newLookUi/jsIE6.js"></script><![endif]-->
                      
                      	<script> 
                      		var isomorphicDir = "portal/sc/";
                      	</script>
                      
                      	<!-- Load the Fusion Charts executable  -->
                          <script type="text/javascript" src="FusionCharts/FusionCharts.js"></script>
                      
                          <script type="text/javascript" language="javascript" src="portal/portal.nocache.js"></script>
                      
                          <link rel="stylesheet" href="portal.css">
                      
                          <meta name="gwt:property" content="locale=<c:out value='${pageContext.request.locale}'/>">
                        </head>
                      
                        <body>
                      
                          <jsp:include page="loadds.jsp"/>
                      
                          <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
                        </body>
                      </html>
                      Please help!

                      Comment


                        #41
                        Update

                        I've tried adding <script language="javascript" src="portal/sc/skins/EnterpriseBlue/load_skin.js"></script> right before the <script>var isomorphicDir = "portal/sc/";</script> block.

                        Printing Page.getSkinDir() inside onModuleLoad() returns http://portal.touchcommerce.com/portal/portal/sc/skins/EnterpriseBlue/ which I've verified to be valid as I can download load_skin.js from there.

                        Please help.

                        Comment


                          #42
                          I've followed all the instructions on including all necessary info. If I'm missing anything please ask. If you aren't going to answer a paying customer then please say so as well so I can give up.

                          Comment


                            #43
                            You seem to have checked only a fraction of the steps and possibilities we covered in the comprehensive post here. There's nothing more we can do, but there's plenty more you can.

                            Note, perhaps you have another account that has licenses or support, but the one you're posting from does not.

                            Comment


                              #44
                              Originally posted by Isomorphic View Post
                              You seem to have checked only a fraction of the steps and possibilities we covered in the comprehensive post here. There's nothing more we can do, but there's plenty more you can.

                              Note, perhaps you have another account that has licenses or support, but the one you're posting from does not.
                              What haven't I followed, besides your shotgun approaches?

                              1. switch skin - I think I'm switching correctly. Please verify.
                              2. gwt compile, browser kills etc. Done and done
                              3. a - see above
                              b - already checked
                              c - already checked
                              d - I'm not
                              e - I'm not

                              Shotgun:
                              1. Your post 17 isn't clear to me. What is include the EnterpriseResources module instead of the Enterprise module? Where do I add the script lines?
                              2. This would be last resort, since I don't want to risk other glitches
                              3. Already tried, not a solution for me.

                              I am just a developer, I don't know the proper account to post from. But since we are using SmartGWT Pro, I'm assuming we are/were paying customers.

                              Comment


                                #45
                                Hello hyeh,

                                There are developers from your company with Pro licenses, but you don't have one, and we also don't see another account with your name that has a license. Please contact whoever purchased the licenses - you need a license to work with Pro.

                                As far as your issue, your .gwt.xml file has weird stuff in it (why are you inheriting SmartClientProDefault?), which is probably the cause.

                                EnterpriseResources vs Enterprise - EnterpriseResources causes the actual files to be copied into the war/ directory by the GWT compiler but does not cause injection of the load_skin.js file.

                                All of this is pretty straightforward to trace through if you simple look at the .gwt.xml files you are inheriting (which are in smartgwt.jar and smartgwtpro/power/ee.jar).

                                Comment

                                Working...
                                X