Bug 153495 - Let the first item in a list of values for a report parameter be the default value
Summary: Let the first item in a list of values for a report parameter be the default ...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.1.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 2.2.0   Edit
Assignee: Jerry Cheng CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2006-08-10 17:17 EDT by Krishna Venkatraman CLA
Modified: 2006-10-02 17:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krishna Venkatraman CLA 2006-08-10 17:17:08 EDT
In a report parameter that is of list type/combo type, there should be a flag that lets me set the first item in the list to be the default value.
Comment 1 Wang Qiangsheng CLA 2006-09-21 02:44:24 EDT
For the prarameter input dialog has the "default flag", i assume the reporter want to have this in the parameter input dialog.
Comment 2 Wenfeng Li CLA 2006-09-21 16:39:12 EDT
How about let user enter a value as the default value?  Such value does not have to be on the selection list.
Comment 3 Jerry Cheng CLA 2006-09-21 23:46:13 EDT
Current logic for list/combo type parameter:

1. If set default value of parameter, select this value( or show this value in the input text)
2. If not, select the first item as the default value
3. For cascading parameter, if don't set default value, don't select the first item. Because need fire selection changed event to retrieve next values.