Announcement

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

  • Isomorphic
    replied
    Are you able to test against SGWT 5.1d? The hope was to gather feedback as to the effectiveness of the solution in that branch for customers using GWT 2.7. If effective, it would then be ported back to SGWT 4.1p.

    Leave a comment:


  • edulid
    replied
    Is this fix also backported for 4.1p ? I need to upgrade to gwt 2.7 soon and want to know if all issues are fixed.

    Leave a comment:


  • Isomorphic
    replied
    Note that issues with SGWT 5.1d unrelated to the script tag loading feature should, of course, be reported in separate threads with the usual required information included.

    Leave a comment:


  • Isomorphic
    replied
    A fix for the script tag limitation with the xsiframe linker (default in GWT 2.7.0) has been committed to SGWT 5.1d, and will be in the nightlies built tonight.

    This will be eventually ported back to SGWT 4.1p, but if those who originally reported this problem can test their applications against SGWT 5.1d we may be able to immediately correct any issues.

    Currently, the fix is configured to run for GWT 2.5 and newer where appropriate. (The xsiframe linker is required for SuperDevMode even before GWT 2.7.0, so the issue is actually present in earlier versions.)

    Leave a comment:


  • Isomorphic
    replied
    The SGWT LGPL Showcase provides an example of how a project can be configured to load scripts only from the main webpage. If you download the SGWT LGPL Showcase you should be able to build the war and launch it into SuperDevMode without any modifications.

    It also contains an example of a working skin changer (in the main webpage) that should keep working in SuperDevMode.

    Leave a comment:


  • DSC-Support
    replied
    maybe it's just me, but loading the skin only works without the '"', eg.

    <script src=dgui/sc/skins/Enterprise/load_skin.js></script>

    while loading the modules works with the '"', eg.

    <script src="dgui/sc/modules/ISC_Core.js"></script>

    Leave a comment:


  • DSC-Support
    replied
    thanks for the information so far, although I'm using SmartGWT 4.1p (20141126) it's working.

    The only problem I have is with the skinning.

    adding
    <inherits name='com.smartclient.theme.enterprise.Enterprise'/>
    procudes the linking error as well,

    as stated here (http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/docs/SuperDevModeTroubleshooting.html) this line
    <script src="[app]/sc/skins/load_skin.js"></script>
    only loads some default theme, but not even these images are loaded, eg.
    === 2014-12-01 17:05:31,827 [1-49] INFO Download - File D:/somepath/target/app-SNAPSHOT/app/sc/skins/standard/images/TreeGrid/folder_closed.gif not found, sending 404

    nevertheless, I want to load the Enterprise theme. in my html file I tried
    <script src="dgui/sc/skins/Enterprise/load_skin.js"></script>
    without success.

    How do I define my theme?

    Regards

    Leave a comment:


  • mnowrot
    replied
    Solved

    Please see the solution at https://code.google.com/p/smartgwt/issues/detail?id=758

    In a nutshell:
    1) in your module file use *NoScriptNoTheme versions of the inherited SmartGWT modules
    2) As a first <script> tag in your page's <head> use
    Code:
    <script>var isomorphicDir = "[module-name]/sc/"</script>
    In my case, the [module-name] was "smartgwt" (no quotes)

    Leave a comment:


  • edulid
    replied
    So it's not possible to upgrade to gwt 2.7 because of this open issue ? Please post here when there are not open issues with 2.7

    Leave a comment:


  • Isomorphic
    replied
    Originally posted by mnowrot View Post
    Yes me too. Also I've done the same attempt to troubleshoot it, with the same result.

    I've reported this as a bug: https://code.google.com/p/smartgwt/issues/detail?id=758
    We have added an update to the Issue.

    Leave a comment:


  • Isomorphic
    replied
    Originally posted by andyx1975 View Post
    After adding the line "<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>"... I get the following error:
    Note that the line mentioned merely suppresses the error; the scripts are still not loaded, so it's not a solution.

    Leave a comment:


  • Isomorphic
    replied
    This is the result of an intentional change on the part of GWT. We're looking into the best way to solve how it impacts our code.

    Leave a comment:


  • mnowrot
    replied
    Yes me too. Also I've done the same attempt to troubleshoot it, with the same result.

    I've reported this as a bug: https://code.google.com/p/smartgwt/issues/detail?id=758

    Leave a comment:


  • andyx1975
    replied
    I know the reason... You can not add the smartgwt scripts in super dev Mode to your gwt.XML ...you need to add them to your Main HTML page.

    Reference:
    http://www.smartclient.com/smartgwt/...eshooting.html

    I tried to add the following... without any success:

    Code:
    <script type="text/javascript" src="[myApp]/Enterprise/load_skin.js"></script>
    Last edited by andyx1975; 23 Nov 2014, 08:34.

    Leave a comment:


  • mnowrot
    replied
    Issue confirmed

    I've hit exactly the same issue. Did you manage to resolve it somehow?
    Last edited by mnowrot; 23 Nov 2014, 00:43.

    Leave a comment:

Working...
X