The Artima Developer Community
Sponsored Link

Java Answers Forum
BIRT Scripted data source

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
sathyanarayanan shanmugam

Posts: 1
Nickname: sathya287
Registered: Jul, 2007

BIRT Scripted data source Posted: Jul 18, 2007 3:12 AM
Reply to this message Reply
Advertisement
Hi friends..
we are using BIRT Scripted data source. we using two java class, for example contactList and contactListFactory
1. In contactList class having getter and setter methods.
2. contactListFactory class having method (eg.: getData() )

In our *.rtpdesign having this
open() -----|
count = 0;
cf = new Packages.gr.osmosis.report.data.ContactListFactory();
c = cf.getData();
fetch() -----|
if (count < c.length-1){
count ++;
row["columnFirstName"] = c[count].getFname();
row["columnLastName"] = c[count].getLname();
row["columnPhoneNumber"] = c[count].getPhone();
return true;
}
return false;

our problem is, while run report if it's data contain more than one page, birt engine reloading all methods (open,fetch,close). How to control this problem, please help me...

Topic: BIRT Scripted data source Previous Topic   Next Topic Topic: Calendar Display Output

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use