• Tree XPage Control not working in 8.5.3

    By Jorgen Faye-Lund 1 decade ago

    The tree control is not working in realease 8.5.3.

    Error message:

    Control Id: computedField1
     

    Exception

    Error while executing JavaScript computed expression
    Script interpreter error, line=29, col=76: [ReferenceError] 'com' not found
       at [/Tree.jss].getJsonStringView(null,null,xpCC,Subject,null,2,null,false,3)

     

    The code line failing:

     29:   var organJSON:com.ibm.test.tree.OrganJSON =new com.ibm.xpages.dojo.OrganJSON();

     

    • your script contains error

      By F. Kranenburg 1 decade ago

      from what I see in your  code, is that your using com.ibm.test or something. Openntf is also using it and currently is on 8.5.3.

      • I moved the java-files to the new Java design element and re-compiled.

        By Jorgen Faye-Lund 1 decade ago

        I moved the java-files(OrganJSON & TreeNode) to the new Java design element and recompiled. Then it worked on the server.

        The com.ibm.test code which you saw was a desperate attempt to get around my problem. I still can't get it working in my Notes client but I have now tested it on two others in the office and they can open it. I conclude that my Notes client/designer might need a re-installation.

        Thanks for your quick response!