Announcement

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

    Bug with Visual Builder and Tomcat 7

    There's a silly bug in Visual Builder when using with Tomcat-7

    1. Using SmartClient Version: v8.3_2012-11-20/Pro Deployment (built 2012-11-20)
    2. Any browser (server running with Tomcat 7.x)

    When you save your 'screen.ui.xml' and try to test it, the error:
    Code:
    HTTP Status 500 - /mymodule/tools/visualBuilder/workspace/isc_test.jsp (line: 4, column: 58) The JSP specification requires that an attribute name is preceded by whitespace
    Here is the isc_test.jsp code:
    Code:
    <%@ page contentType="text/html; charset=UTF-8"%>
    <%@ taglib uri="/WEB-INF/iscTaglib.xml" prefix="isomorphic" %>
    <HTML><HEAD><TITLE>isc_test</TITLE>
    <isomorphic:loadISC skin="Enterprise"modulesDir="modules/" includeModules="Drawing,Analytics,DocViewer,VisualBuilder"/>
     </HEAD><BODY>
    <SCRIPT>
    isc.Page.setAppImgDir("../graphics/");
    <isomorphic:XML>
    
    <IButton ID="IButton0" autoDraw="false">
        <title>Just a test for .ui.xml to .jsp</title>
    </IButton>
    
    
    <DataView ID="DataView1" width="100%" height="100%" overflow="hidden" autoDraw="true">
        <members><Canvas ref="IButton0"/>
        </members>
        <modulesDir>modules/</modulesDir>
    </DataView>
    
    
    </isomorphic:XML></SCRIPT>
    </BODY></HTML>
    It's a silly error, but every time I try to test I have to edit the .jsp file and change the line:
    Code:
    skin="Enterprise"modulesDir="modules/"
    to
    Code:
    skin="Enterprise" modulesDir="modules/"
    (added a space between "Entrerprise" and modulesDir)

    Visual Builder is a great tool for mockups, keep up the good work!
    Guys (at isomorphic), please post if/when it will get fixed in any night build.

    Bug Workaround: If anybody stumble in this problem there's a workaround for tomcat 7, check parameter:
    org.apache.jasper.compiler.Parser.STRICT_WHITESPACE
    Source: http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html

    #2
    Thanks for pointing this out, we'll get it fixed.

    Comment


      #3
      This is now fixed for 8.2, 8.3 and 9.0.

      Comment

      Working...
      X