• JavaScript Errors in Extension Library Demo

    By Torben Bang 1 decade ago

    I have successfully installed the Extension Library plugins, and I am able to see all the new controls in Domino Designer. However, when I open the Demo application locally, I get a lot of JavaScript Errors in all the JavaScript Script Libraries. Here are some examples

     
    console cannot be resolved    CalendarStore.js.js    XPagesExt.nsf/Code/ScriptLibraries    line 356    JavaScript Problem
    dijit cannot be resolved    imageViewer.js.js    XPagesExt.nsf/Code/ScriptLibraries    line 20    JavaScript Problem
    document cannot be resolved    viewState.js.js    XPagesExt.nsf/Code/ScriptLibraries    line 79    JavaScript Problem
     
    When I try to preview the xpage Core_Home, I also get an error in the browser. Here is the Stack trace:

    Runtime Error
    com.ibm.xsp.FacesExceptionEx: Cannot find the library com.ibm.xsp.extlib.library, required by the application/Samples/xpages/XPagesExt.nsf.

    com.ibm.xsp.page.compiled.CompiledPageDriver.verifyLibraryDepends(CompiledPageDriver.java:156)
    com.ibm.xsp.page.compiled.CompiledPageDriver.loadPage(CompiledPageDriver.java:54)
    com.ibm.xsp.application.ViewHandlerExImpl._createViewRoot(ViewHandlerExImpl.java:483)
    com.ibm.xsp.application.ViewHandlerExImpl.createViewRoot(ViewHandlerExImpl.java:551)
    com.ibm.xsp.application.ViewHandlerExImpl.doCreateView(ViewHandlerExImpl.java:141)
    com.ibm.xsp.application.ViewHandlerEx.createView(ViewHandlerEx.java:84)
    com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:213)
    com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:193)
    com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:154)
    com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:137)
    com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:86)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:538)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1140)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:803)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:758)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:527)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1124)
    com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:513)
    com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:342)
    com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:304)
    com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:261)
    com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:291)
    

    Do I miss a reference somewhere?
     
Thanks,

Torben Bang
 

  • Preview Cannot find the library

    By Maire Kehoe 1 decade ago

    You're seeing this error when you preview, because the extension library is not installed into the Domino Designer web preview server.

    com.ibm.xsp.FacesExceptionEx: Cannot find the library com.ibm.xsp.extlib.library, required by the application/Samples/xpages/XPagesExt.nsf.

    com.ibm.xsp.page.compiled.CompiledPageDriver.verifyLibraryDepends(CompiledPageDriver.java:156)
    

    Copy the library plugins and feature from where they are installed into the Designer
    Notes\Data\workspace\applications\eclipse
    [the workspace used by the running Designer instance]
    to
    Notes\Data\domino\workspace\applications\eclipse
    [the workspace used by the Designer web preview server]

    Then restart Designer.