Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [birt-dev] API change request

Scott,

You are correct about what this property means. I wonder if “getAllRows” is a more descriptive name for this.

Gary

 


From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Scott Rosenbaum
Sent: Wednesday, March 21, 2007 6:02 AM
To: Wei Yan; Wei Zhao (Shang); birt-dev@xxxxxxxxxxx
Subject: RE: [birt-dev] API change request

 

I get it, but it seems to be more confusing that it needs to be.  As I understand it, isListing only applies when an ExtendedItem does not have a dataset defined, and the ReportItem is sharing data with its container. 

 

If isListing is true: rowSet contains all rows

If isListing is false: rowSet contains only one row

 

I wonder if there is a more descriptive name?  Also, please make sure the description makes it in the javadocs for the item.

 

Scott Rosenbaum

 


From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Wei Yan
Sent: Wednesday, March 21, 2007 7:37 AM
To: Wei Zhao (Shang); birt-dev@xxxxxxxxxxx
Subject: RE: [birt-dev] API change request

 

If the user defines “class” in the extension, the engine will creates the extension instance to create the query for that extended item.

 

If the “class” is null, report engine will create the query for the extended item. Report engine create query for the extended item as:

 

1. If there is a dataset defined in the extended item, the report engine creates a query for it.

 

2. If there is no dataset defined in the extended item, the extended item shares the data defined in the container item.  There are two kinds of sharing mode: a. use all the data defined in the container, as list or table.

b. use only the current row defined in the container, as data item.

The “isListing” defines this sharing mode. For example, if a extended item exists in a group footer, if the “isListing” is true, the extended item will receive the row set which contains all the rows in the group. If the “isListing” is false, the extened item will receive a row set which only contains the last row in the row set.

 

Thanks.

 

-Wei Yan

 


From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Wei Zhao (Shang)
Sent: Wednesday, March 21, 2007 5:49 PM
To: birt-dev@xxxxxxxxxxx
Subject: [birt-dev] API change request

 

Hi all,

 

For fix bug 177504, engine need to add new attribute isListing for reportItem in reportitemQuery.exsd.

The data type is boolean. True, means the extended item want use the current result set as and engine will create a subQuery for it. False, means the extended item do not want engine create subQuery for it and it will process query by itself.

Default value is false.

 

And how about the attribute name?

 

Thanks.

 

- Wei Zhao(Shanghai)

 


Back to the top