Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 199355 - BIRT Model - Multiple parameter value support
Summary: BIRT Model - Multiple parameter value support
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Windows 2000
: P2 enhancement (vote)
Target Milestone: 2.2.1   Edit
Assignee: Jerry Cheng CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 131089
  Show dependency tree
 
Reported: 2007-08-09 01:23 EDT by Rima Kanguri CLA
Modified: 2007-08-26 23:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rima Kanguri CLA 2007-08-09 01:23:26 EDT
a) Add property on parameter to tell whether this parameter is multi-value. choice type, with choice value: simple, multi-value, ad-hoc. Default value of this property is “simple”.  Currently, ROM parameter definition has four display types: text, radio, listing, combobox. 
After discussion, only the listing parameter could be a multi-value type parameter. So, which means, if the parameter is multi-value type, from parameter requester page, user only can select multiple values from the drop down list, but can not input any value. 

b) Support for IN operator in the dataset filter definition
Comment 1 Rima Kanguri CLA 2007-08-09 01:30:11 EDT
Pleae make the Viewer changes ( requester changes ) after hte model changes are done.

Viewer support - If the parameter is multi-value type, show allow user to select multiple parameter values.
Comment 2 Xuelan Li CLA 2007-08-15 04:24:11 EDT
Model part is fixed. Assign viewer to fix viewer part.
Comment 3 Wenbin He CLA 2007-08-15 13:49:44 EDT
we should also support optional multi-value parameter. To make optional parameter working, BIRT need to be enhanced to support optional filter condition.

To support option filter, we need to add a property in filter condition structure. An optional filter condition will not be applied by DtE if the value of the filter condition is NULL. This will be required to support optional parameter in BIRT. Currently BIRT has the concept of optional parameter, however, if the parameter is used in filter condition or data set query, the filter or query condition will also be applied even if the user didn't specify the value for the parameter. This is not what users would expect. To fix that, we need to introduce the concept of optional filter condition. A optional filter condition will be applied only if the value of the condition is not NULL.
Comment 4 Jerry Cheng CLA 2007-08-23 23:16:34 EDT
Support multi-value parameter and pass object array to engine.
Currently, don’t support displayText for multi-value parameter.
In the furture, engine should provide new APIs to support it.
Comment 5 Wenbin He CLA 2007-08-24 13:59:32 EDT
Does model also support the optional filter condition?
Comment 6 Ivy Li CLA 2007-08-26 22:23:53 EDT
Yes Model already supported the isOptional for filter condition. 
Comment 7 Jerry Cheng CLA 2007-08-26 23:17:20 EDT
Close it.