Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: jtable.xaction don't work

  1. #1

    Default jtable.xaction don't work

    I get an exception :

    16:58:19,396 ERROR [JavascriptRule] Error Start: Pentaho Pentaho Platform Engine Core 2.1-SNAPSHOT.development
    16:58:19,400 ERROR [JavascriptRule] f016371e-0a2c-11de-808e-0d461d0e22a8:COMPONENT:context-361824-1236329899062:jtable.xactionJSRULE.ERROR_0003 - Javascript rule execution failed
    org.mozilla.javascript.EcmaError: TypeError: [JavaPackage org.json.JSONArray] is not a function, it is object. (<cmd>#2)

    Please help me.
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2007
    Posts
    2,497

    Default

    A more detailed information would be helpful...
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

  3. #3

    Default

    Pentaho bi server 2.1 milestone missing cdf components. I get components from http://code.google.com/p/pentaho-cdf/ and copy to pentaho-solutions. I tested jfreechart.xaction, jfreechartdial.xaction succesfully. When I test jtable.xaction, I have an exception in "JavascriptRule". Rhino can not new object JSONArray in <component-definition>:
    var values = new Packages.org.json.JSONArray();

    how to fix it ?

  4. #4

    Default

    I fixed this problem. but user console don't show table. It only show pagging, search, show entries.
    Attached Files Attached Files

  5. #5
    Join Date
    Jul 2007
    Posts
    2,497

    Default

    It won't work like that; when grabbing from source you need to recompile the server to add certain functionality.

    You need to 1) use the installer against version 2.0 or 2) wait for pentaho 3.0 that already has the integration bundled in
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

  6. #6

    Default

    oh, my user console is ok now. I forgot colHeaders and colTypes. :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.