Community
Participate
Working Groups
This bug is to track the UI changes to allow the user create a report item which consumes data binding defined in another report item. --------------------------------------------------- Feature Goal - This feature enables multiple report items in a BIRT report to share a single result set. A result set is the runtime data calculated based on a set of data binding definitions, which include: (1) A data set (for tabular result set) or a cube (for cross-tab result set) as the source of data (2) Grouping definition (tabular result set only) (3) Calculations and aggregations based on data set/cube data (4) Filters (5) Sorts
Specification for this change has been posted in BPS 80: http://wiki.eclipse.org/index.php/BPS80
Please refer to BPS 80 for more details http://wiki.eclipse.org/index.php/BPS80
Created attachment 65436 [details] UI to support report item to usedata from existing report item
Created attachment 65666 [details] Updated UI to support report item to usedata from existing report item Report Item selection drop down will list only those items that has data binding and a "name" given to it.
Comments based on questions from Qiangsheng. 1. How can GUI get the list of the report times on the binding list? [Rima Kanguri] Model should provide an API to return the list of report items which have a data binding set. Can you log a bug for model team? Aashima has revised and attached to bugzilla to show report items ( that have names only ) 2. If a table binding to another report item, can we still insert data item in the cell? Right now, after the inserting, a binding dialog is poped up. User then can input the name, expression and etc. After clicking ok, a new column binding will created on the table. But if the table refers to another report item, will we create a binding on the table, on the referred report item or we don't allow creating at all? [Rima Kanguri] User can insert a data item and just choose the data binding name from the list (from other report item), looks like we need a different dialog. UI should not create new bindings. Aashima will add the mockup to bugzilla. 3. Are we keeping the same editing behavior as is? I gusse we'd like to forbid the editing. If i'm right, what's the solution of following case? [Rima Kanguri] Yes we will forbid editing, looke comment #2 If there's a data itme in the table which is binding to a data set, then user switch to a report item and all data item are not available now. Can we let user edit the data item? [Rima Kanguri] Currently on talble item, when user tries to change dataset from "customreDS" to "None", UI shows a dialog asking if user wants to clear all data fields. I think we should do the same. We should prompt a dialog saying "You are about to change this report items data binding, Do you want to clear all existing data fields". User can this click "OK" or "Cancel"
As discussed tis can be done post BIRT 2.2
*** This bug has been marked as a duplicate of bug 196748 ***