Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: 1.6.0-RC1 Problem with ChartComponent implement inside action file.

  1. #1
    Join Date
    Sep 2006
    Posts
    12

    Default 1.6.0-RC1 Problem with ChartComponent implement inside action file.

    First problem I encounter with the latest Pentaho version 1.6.0-RC1 is the samples/charts/samplesDashboard/*.xml, *.xaction (Multiple Chart Types). I can't add any of the inputs, it will not prompt me for inputs. The same SecureFilterComponent that work under Pentaho version 1.2.0-GA. An example code is below.

    <code>
    <inputs>
    <chart-type type="string">
    <default-value>.png</default-value>
    <sources>
    <request>type</request>
    </sources>
    </chart-type>
    <days type="string">
    <default-value>365</default-value>
    <sources>
    <request>days</request>
    </sources>
    </days>
    </inputs>
    ......
    <actions>
    <action-definition>
    <component-name>SecureFilterComponent</component-name>
    <action-type>Secure Filter</action-type>
    <action-inputs>
    <days type="string"/>
    </action-inputs>
    <action-outputs/>
    <component-definition>
    <selections>
    <days filter="none" prompt-if-one-value="true" >
    <title>Enter the number of days to evaluate</title>
    </days>
    </selections>
    </component-definition>
    </action-definition>
    ......
    </actions>
    </code>

    Second problem I encounter with the latest Pentaho version 1.6.0-RC1 under samples/charts/samplesDashboard/*.xml, *.xaction (Multiple Chart Types) is the text "image-tag=" as well as the Action Successful [upper left] display along with the chart. There seems to be a problem with the ChartComponent within an action file.
    Last edited by timtasay; 08-27-2007 at 02:33 PM.

  2. #2
    Join Date
    Sep 2006
    Posts
    12

    Default

    Thanks to pmalves from http://forums.pentaho.org/showthread.php?t=56133 The chart display without the Action Seccessful and image-url text. Basically change the input from .png to png-bytes as below. I still have problem with the input prompt

    <chart-type type="string">
    <default-value>png-bytes</default-value>
    <sources>
    <request>type</request>
    </sources>
    </chart-type>

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.