Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Where does WebViewerExample data comes from?

$
0
0
Hi,

Currently Birt API is used in our applications, my job is development with its API.

I have a problem with the example application "WebViewerExample" which is in the birt runtime folder.

There is a template file tset1.rptdesign, which contains some charts and format. I tried to find out how does this example call its API through those js and jsp, but I failed. Can someone show me how does this example application "WebViewerExample(birt.war)" works?

The template file is also used in my application, deployed on my server and bugs are resolved. Now there is a little problem that it requires to call task.setparameters() for config the template parameter "Cust".

In the test1.rptdesign it is:
        <scalar-parameter name="Cust" id="59">
            <property name="valueType">static</property>
            <property name="dataType">decimal</property>
            <property name="paramType">simple</property>
            <text-property name="promptText">CustomerNumber in list less than</text-property>
            <...>

 


This is the part confusing that I really can not find which js in the js application "set" this parameter. I only found a task.setParameterGroup() within the js, is it?

The last question, on the homepage there are few tutorials about the calling API. I believed that I did not find the right place, can someone show some links regarding to calling those API and generates reports?

Heartful Thanks,

Yufan

Viewing all articles
Browse latest Browse all 542

Trending Articles