Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353118 - Multi-value parameters in Custom Parameter Page
Summary: Multi-value parameters in Custom Parameter Page
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 3.7.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportViewer CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-26 10:23 EDT by Scroon CLA
Modified: 2014-11-17 12:57 EST (History)
2 users (show)

See Also:


Attachments
ParamDefTag class modified for using multiple values parameter in cascade (61.61 KB, application/octet-stream)
2014-11-17 12:55 EST, Jean-Michel Dupuis CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scroon CLA 2011-07-26 10:23:45 EDT
Hello,

For a custom parameter page using BIRT tag library, the multi-value parameters are always be rendered as single-value list boxes, which does now allow user to select multiple values.

Reference:
http://www.eclipse.org/forums/index.php/t/224353/
Comment 1 Jean-Michel Dupuis CLA 2014-11-17 12:55:19 EST
Created attachment 248706 [details]
ParamDefTag class modified for using multiple values parameter in cascade
Comment 2 Jean-Michel Dupuis CLA 2014-11-17 12:57:56 EST
Hello,

the problem origin is in the "org.eclipse.birt.report.taglib.ParamDefTag" class.

The method : "__handleListBox( )" does not treat the case of cascading parameter with multiple values.

My proposition is to replace the line : "__handleCascadingListBox( );" by this lines :
"if ( this.paramDef.isMultiValue( ) )
				__handleMultiListBox( selectionList );
			else
				__handleCommonListBox( selectionList );" in the block concerning cascading parameter.

I add an attachment with the modified class.

Have a nice day,
JM