Announcement

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

  • Isomorphic
    replied
    Import smartgwtee not SmartGWT. Once again, see the FAQ.

    Leave a comment:


  • andrewbee
    replied
    I have:

    <inherits name='com.google.gwt.user.User'/>
    <inherits name='com.smartgwt.SmartGwt' />
    <inherits name='com.smartgwt.tools.SmartGwtTools' />
    <inherits name='com.smartgwtee.tools.Tools' />

    which I think is all of them.

    Any reason why VB wouldn't work from Showcase though? A view source on the page reveals plenty of code, but the page just stays gray and nothing happens. Same in both FireFox and Chrome.

    Thanks

    Leave a comment:


  • Isomorphic
    replied
    Did you import the GWT modules listed in the FAQ item for how to launch Visual Builder?

    Leave a comment:


  • andrewbee
    replied
    Oh and BTW, I can't get VB to come up in the Showcase app either.

    I have this deployed locally in GWT development mode running on Firefox, and clicking the VB button just results in an empty tab coming up. The URL in the tab is:

    http://127.0.0.1:8888/showcase/tools/visualBuilder/index.jsp?moduleName=showcase

    Other tools can be run, like the admin console.

    Thanks

    Leave a comment:


  • andrewbee
    replied
    OK, got past that. I was just missing server.properties.

    I am now seeing:

    java.lang.NullPointerException
    at com.isomorphic.taglib.LoadSystemSchemaTag.getFrameworkDataSources(LoadSystemSchemaTag.java:74)
    at com.isomorphic.taglib.LoadSystemSchemaTag.loadFrameworkDataSources(LoadSystemSchemaTag.java:100)
    at com.isomorphic.taglib.LoadSystemSchemaTag.doStartTag(LoadSystemSchemaTag.java:54)

    ....

    RequestURI=/example/tools/visualBuilder/index.jsp
    Caused by:

    javax.servlet.jsp.JspException: java.lang.NullPointerException
    at com.isomorphic.taglib.LoadSystemSchemaTag.getFrameworkDataSources(LoadSystemSchemaTag.java:74)
    at com.isomorphic.taglib.LoadSystemSchemaTag.loadFrameworkDataSources(LoadSystemSchemaTag.java:100)
    at com.isomorphic.taglib.LoadSystemSchemaTag.doStartTag(LoadSystemSchemaTag.java:54)
    at org.apache.jsp.example.tools.visualBuilder.index_jsp._jspx_meth_isomorphic_loadSystemSchema_0(index_jsp.java:211)

    Leave a comment:


  • andrewbee
    replied
    Thanks. It seems a web server restart cured that problem.

    I'm now encountering another problem when trying to run Visual Builder:

    javax.servlet.jsp.JspException: Unable to locate file for ID: adminConsole
    at com.isomorphic.taglib.LoadAppTag.outputJS(LoadAppTag.java:72)
    at com.isomorphic.taglib.LoadAppTag.doStartTag(LoadAppTag.java:59)

    .....

    RequestURI=/example/tools/visualBuilder/index.jsp

    Caused by:

    javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: Unable to locate file for ID: adminConsole
    at com.isomorphic.taglib.LoadAppTag.outputJS(LoadAppTag.java:72)
    at com.isomorphic.taglib.LoadAppTag.doStartTag(LoadAppTag.java:59)
    at org.apache.jsp.example.tools.visualBuilder.index_jsp._jspx_meth_isomorphic_loadApp_0(index_jsp.java:196)
    at org.apache.jsp.example.tools.visualBuilder.index_jsp._jspService(index_jsp.java:99)

    My module name is Example. What does 'tools' in this URI refer to, and how does it find the appropriate resources?

    It does seem to be finding the jsps now. What am I missing?

    Thanks

    Leave a comment:


  • Isomorphic
    replied
    Although you say you "copied in all the .jars" and show apparently correct changes for jsp-config this is a very telltale error for missing .jars or missing jsp-config. Make sure the files you're editing are really the active ones (eg introduce a syntax error) and that the .jars are actually being included in the deployment.

    You can also try just importing one of the sample projects (where VB works) and comparing your config to that project.

    Leave a comment:


  • Trying to deploy SmartGWT EE and use Visual Builder

    Hi,

    I am road-testing SmartGWT EE. I have the nightly build from Feb. 17th, as I have a GWT 2.0 project I am integrating it into.

    I have copied in all the .jars into the WEB-INF/lib directory, and merged in the jsp-config section:

    <jsp-config>
    <!-- Isomorphic JSP tags -->
    <taglib>
    <taglib-uri>isomorphic</taglib-uri>
    <taglib-location>/WEB-INF/iscTaglib.xml</taglib-location>
    </taglib>
    </jsp-config>

    I also copied the iscTaglib.xml into WEB-INF, then recompiled the whole thing with the GWT compiler.

    My example page has an IButton that is just supposed to launch Visual Builder with the following command:

    com.smartgwtee.tools.client.SCEE.openVisualBuilder();

    The button shows up, but when I click it I get:

    /example/tools/visualBuilder/index.jsp(15,0) Unable to load tag handler class "com.isomorphic.taglib.LoadISCTag" for tag "isomorphic:loadISC"

    RequestURI=/example/tools/visualBuilder/index.jsp
    Caused by:

    org.apache.jasper.JasperException: /example/tools/visualBuilder/index.jsp(15,0) Unable to load tag handler class "com.isomorphic.taglib.LoadISCTag" for tag "isomorphic:loadISC"
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:200)

    Thanks in advance for any help.
Working...
X