Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Problem in the date parameter.

  1. #1
    Join Date
    Aug 2007
    Posts
    198

    Default Problem in the date parameter.

    I have created a dateinputs with cdf, and I created the daterange,
    {
    "id":"fd9edb14-586f-ab9a-aee9-a288e9b38212",
    "type":"ComponentsDateParameter",
    "typeDesc":"DateParameter",
    "parent":"GENERIC",
    "properties": [
    {
    "name":"name",
    "description":"Name",
    "tooltip":"Name",
    "type":"Id",
    "value":"startdate",
    "order":5
    },
    {
    "name":"propertyDateValue",
    "description":"Property date value",
    "tooltip":"Property date value",
    "type":"Date",
    "value":"2000-01-01",
    "order":20
    },
    {
    "name":"propertyDateDim",
    "description":"Property date dimension",
    "tooltip":"Property date dimension",
    "type":"String",
    "value":"ex: [Date].[Date]",
    "order":20
    }]
    },
    {
    "id":"e61c653e-b419-0a72-9c38-f1b28197a8bf",
    "type":"ComponentsDateParameter",
    "typeDesc":"DateParameter",
    "parent":"GENERIC",
    "properties": [
    {
    "name":"name",
    "description":"Name",
    "tooltip":"Name",
    "type":"Id",
    "value":"enddate",
    "order":5
    },
    {
    "name":"propertyDateValue",
    "description":"Property date value",
    "tooltip":"Property date value",
    "type":"Date",
    "value":"2010-12-31",
    "order":20
    },
    {
    "name":"propertyDateDim",
    "description":"Property date dimension",
    "tooltip":"Property date dimension",
    "type":"String",
    "value":"ex: [Date].[Date]",
    "order":20
    }]
    }]
    }

    {
    "id":"267e9d5f-5124-2884-2dda-5eeb7f791747",
    "type":"ComponentsDateRangeInput",
    "typeDesc":"DateRangeInput",
    "parent":"SELECTORS",
    "properties": [
    {
    "name":"name",
    "description":"Name",
    "tooltip":"Name",
    "type":"Id",
    "value":"ComponentsDateRangeInput",
    "order":5
    },
    {
    "name":"arrayParameter",
    "description":"Parameters",
    "tooltip":"Variables where the input is stored",
    "type":"ArrayParameter",
    "value":"['startdate','enddate']",
    "order":40
    },
    {
    "name":"listeners",
    "description":"Listeners",
    "tooltip":"Parameters to listen to",
    "type":"Listeners",
    "value":"[]",
    "order":13
    },
    {
    "name":"executeAtStart",
    "description":"Execute at start",
    "tooltip":"Execute at start?",
    "type":"Boolean",
    "value":"true",
    "order":91
    },
    {
    "name":"htmlObject",
    "description":"HtmlObject",
    "tooltip":"HtmlObject to prompt",
    "type":"HtmlObject",
    "value":"Filter_panel",
    "order":90
    },
    {
    "name":"singleInput",
    "description":"Single Input",
    "tooltip":"True will render a single input; False will use 2 input boxes. Default: true",
    "type":"Boolean",
    "value":"false",
    "order":41
    },
    {
    "name":"inputSeparator",
    "description":"Input Separator",
    "tooltip":"This separator will be used between the fields",
    "type":"String",
    "value":"<br/>",
    "order":42
    },
    {
    "name":"preExecution",
    "description":"Pre Execution",
    "tooltip":"Function to be executed before the component is updated",
    "type":"JavaScript",
    "value":"",
    "order":92
    },
    {
    "name":"postExecution",
    "description":"Post Execution",
    "tooltip":"Function to be executed after the component is updated",
    "type":"JavaScript",
    "value":"",
    "order":93
    },
    {
    "name":"preChange",
    "description":"Pre Change",
    "tooltip":"Function to be executed before the component is changed. It's a function of the type function(value){return value}, and can be used for validation",
    "type":"JavaScript",
    "value":"",
    "order":94
    },
    {
    "name":"postChange",
    "description":"Post Change",
    "tooltip":"Function to be executed after the component is changed. It's a function of the type function(value){...}",
    "type":"JavaScript",
    "value":"",
    "order":95
    },
    {
    "name":"tooltip",
    "description":"Tooltip",
    "tooltip":"Tooltip to be displayed on component's mouse hover",
    "type":"Html",
    "value":"",
    "order":99
    }]
    },



    But I am getting
    11:52:02,953 ERROR [Renderer] Class not found: ComponentsDateParameter
    11:52:02,968 ERROR [Renderer] Class not found: ComponentsDateParameter

    Please advice me.

    Thanks

    Parveen

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

    Default

    Try using a normal parameter instead of a data parameter
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

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.