Defining a scriplet dataset, that displays List of Items [message #160635] |
Fri, 12 May 2006 07:05 |
Eclipse User |
|
|
|
Originally posted by: masibonge.matimba.sadalbari.com
I'm populating my reports using scripted datasources and datasets. I have this particular report that contains a list of inventory items. Below is the test method:
@Transient
public void getInventory() {
PersonLease lease = new PersonLease();
Property property = lease.getProperty();
List<Inventory> inventories = property.getInventories();
for (Inventory inv:inventories) {
System.out.println(inv.getInventoryDescription());
System.out.println(inv.getInventoryType());
}
}
Therefore I'd like to represent this code chuck in a scripted dataset in birt..
Tanking u in advance....
|
|
|
Powered by
FUDForum. Page generated in 0.02624 seconds