Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Defining a scriplet dataset, that displays List of Items
Defining a scriplet dataset, that displays List of Items [message #160635] Fri, 12 May 2006 11:05
Eclipse UserFriend
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....
Previous Topic:WebViewer and Charts
Next Topic:HELP!!!!: PDF Generated - Size Too Big
Goto Forum:
  


Current Time: Wed Jul 17 03:22:27 GMT 2024

Powered by FUDForum. Page generated in 0.02809 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top