tags:

views:

44

answers:

0

The method RunReport( rptfile, o/p path, emp_id); is used to generate Reports using scripted Data Source.

class Sal(){ 
public ArrayList<SalaryVO> getSal(String e) {} }

which returns an ArrayList.

How do i fetch Arraylist of values in the script :

Open():  p= new Packages.joe.birt.action.sal();
            s=p.getSal(params["emp_id"]);

fetch():  done=false;
if( s!=null && !done ){
      row["name"] = s.getName();
      row["ID"] = s.getEmpId();

      s=null;
      done=true; 
}
return done;