Announcement

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

    exportContent issue

    Hello,

    I'm trying our your exportContent feature by trying to export a ListGrid to PDF.

    Here is the call:

    Code:
    click:function(){  var settings = {skinName: "Graphite", pdfName: "export" };isc.RPCManager.exportContent(fundAssetsGrid,settings)}
    When that gets executed, google chrome opens a new tab and this is output into the tab:

    Code:
    //isc_RPCResponseStart-->[{status:-1,data:"com.isomorphic.contentexport.PdfExport from [Module \"deployment.dev.war:main\" from Service Module Loader]"}]//isc_RPCResponseEnd
    Any idea what we might be doing wrong? I didn't see any special settings or configurations mentioned anywhere that we missed. We did have to add "getPdfObject" to the list of enabledBuiltInMethods though.

    #2
    Always start with the server-side log.

    You are probably missing dependent libraries noted in the installation instructions.

    Comment


      #3
      Thanks, we were missing the new contentexport.jar . We've had some issues with server-side logging of smartclient classes. I may have a question in a separate thread about that.

      Comment


        #4
        Actually, follow up question here. This is the message we see in the logs. Sounds like we need to include all the needed new jars which is fine. When I downloaded a recent 8.3 nightly, many of these jars were not available in the "smartclientRuntime" directory. I do see them in the "smartclientSDK" directory though. Shouldn't they be in the smartclientRuntime directory as well? In the meantime, I assume it is safe to use the versions from smartclientSDK?

        Code:
        13:18:54,056 INFO  [stdout] (http--0.0.0.0-8080-1) === 2013-03-20 13:18:54,056 [80-1] ERROR InterfaceProvider - Unable to instantiate class 'com.isomorphic.contentexport.PdfExport' - check to make sure you have isomorphic_contentexport.jar (and its dependencies: isomorphic_core_rpc.jar, batik-script.jar, commons-lang-2.4.jar, commons-httpclient-3.1.jar, poi-ooxml-schemas-3.6-20091214.jar, commons-jxpath-1.3.jar, xml-apis-ext.jar, batik-gvt.jar, batik-svg-dom.jar, core-renderer.jar, batik-ext.jar, poi-3.6-20091214.jar, batik-awt-util.jar, commons-fileupload-1.2.1.jar, batik-xml.jar, commons-vfs-1.0.jar, batik-css.jar, xbean.jar, xml-apis.jar, activation.jar, batik-bridge.jar, isc-jakarta-oro-2.0.6.jar, batik-parser.jar, velocity-1.6.1.jar, jtidy-r938.jar, groovy-all-1.8.7.jar, commons-pool-1.4.jar, hibernate-validator-4.1.0.Final.jar, mail.jar, poi-ooxml-3.6-20091214.jar, javax.persistence.jar, iText-2.0.8.jar, xercesImpl.jar, commons-cli-1.1.jar, batik-anim.jar, batik-util.jar, batik-dom.jar, log4j-1.2.15.jar, validation-api-1.0.0.GA.jar, commons-collections-3.2.1.jar, commons-codec-1.3.jar) in your CLASSPATH

        Comment


          #5
          See the installation instructions - smartclientRuntime is a minimal set of .jars, yes you should copy any optional .jars you want from smartclientSDK.

          Comment

          Working...
          X