Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 219421 - Ability to dinamically set date parameter value
Summary: Ability to dinamically set date parameter value
Status: RESOLVED DUPLICATE of bug 124950
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportDesigner CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-19 08:06 EST by erlich CLA
Modified: 2008-02-20 21:25 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description erlich CLA 2008-02-19 08:06:54 EST
I have a report with start date and end date, and it would be good to have the ability to set the start value, for instance, to one day ago, and the end value, for instance, to today..

Is already any way to do it on 2.2?
Comment 1 Zhiqiang Qian CLA 2008-02-19 20:35:01 EST
Can you use script for this? for example, at initialize of report, param["endDay"]=new Date();
Comment 2 erlich CLA 2008-02-20 11:58:34 EST
I'm not sure, but i think that initialize is executed when executing the report, not when creating the parameter screen..
Comment 3 Zhiqiang Qian CLA 2008-02-20 21:25:19 EST
Ok, I see the point. This is actually the request to support expression for parameter default value.

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