Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 181455 - Report Designer UI changes to support Report item use data from another report item
Summary: Report Designer UI changes to support Report item use data from another repor...
Status: RESOLVED DUPLICATE of bug 196748
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 2.2.1   Edit
Assignee: Zhiqiang Qian CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 185898
Blocks: 164798
  Show dependency tree
 
Reported: 2007-04-06 15:19 EDT by Rima Kanguri CLA
Modified: 2007-07-24 04:08 EDT (History)
1 user (show)

See Also:


Attachments
UI to support report item to usedata from existing report item (37.54 KB, application/pdf)
2007-04-30 17:48 EDT, Aashima Goel CLA
no flags Details
Updated UI to support report item to usedata from existing report item (38.17 KB, application/pdf)
2007-05-02 14:28 EDT, Aashima Goel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rima Kanguri CLA 2007-04-06 15:19:57 EDT
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
Comment 1 Gary Xue CLA 2007-04-11 23:02:05 EDT
Specification for this change has been posted in BPS 80:
http://wiki.eclipse.org/index.php/BPS80
Comment 2 Rima Kanguri CLA 2007-04-12 00:26:28 EDT
Please refer to BPS 80 for more details
http://wiki.eclipse.org/index.php/BPS80


Comment 3 Aashima Goel CLA 2007-04-30 17:48:27 EDT
Created attachment 65436 [details]
UI to support report item to usedata from existing report item
Comment 4 Aashima Goel CLA 2007-05-02 14:28:08 EDT
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.
Comment 5 Rima Kanguri CLA 2007-05-02 17:55:37 EDT
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"
Comment 6 Rima Kanguri CLA 2007-05-14 19:04:36 EDT
As discussed tis can be done post BIRT 2.2
Comment 7 Zhiqiang Qian CLA 2007-07-24 04:08:53 EDT

*** This bug has been marked as a duplicate of bug 196748 ***