Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Date Picker for Eclipse 3.7(Trying to put date time picker on report using eclipse)
Date Picker for Eclipse 3.7 [message #734429] Fri, 07 October 2011 14:14 Go to next message
robinsonjas  is currently offline robinsonjas
Messages: 21
Registered: October 2011
Junior Member
New to eclipse here. I am connected to DB2 database and attempting to create reports for IBM TPC. I have sucessfully setup eclipse and created my first report but now would like to setup parameters to select by datetime range. I am using eclipse 3.7 - how do I go about adding a datepicker to the report so a user can select a date (or datetime) from the parameters?
Thanks
Jason
Re: Date Picker for Eclipse 3.7 [message #734435 is a reply to message #734429] Fri, 07 October 2011 14:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at these threads:

http://www.birt-exchange.org/org/forum/index.php/topic/11498-birt-datepicker-plzzzzzzzzzzz/page__s__cc97d72de4a0671fa738f9adea666997

and

http://www.birt-exchange.org/org/devshare/deploying-birt-reports/770-calendar-for-date-parameter-in-birt-viewer/

Jason


On 10/7/2011 2:14 PM, robinsonjas wrote:
> New to eclipse here. I am connected to DB2 database and attempting to
> create reports for IBM TPC. I have sucessfully setup eclipse and created
> my first report but now would like to setup parameters to select by
> datetime range. I am using eclipse 3.7 - how do I go about adding a
> datepicker to the report so a user can select a date (or datetime) from
> the parameters?
> Thanks
> Jason
Re: Date Picker for Eclipse 3.7 [message #734450 is a reply to message #734435] Fri, 07 October 2011 16:18 Go to previous messageGo to next message
robinsonjas  is currently offline robinsonjas
Messages: 21
Registered: October 2011
Junior Member
I dont have this directory structure under my %eclipse% install.
I'll describe the steps in random order:

Put the calendar.js script in: wepapps/birt-viewer/webcontents/birt/ajax/utility directory on the deployment server.
Put the calendar.gif file in wepapps/birt-viewer/webcontents/birt/images
Put the g2style.css file in wepapps/birt-viewer/webcontents/birt/styles

Backup the file : webapps/birt-viewer/webcontent/birt/pages/layout/FramesetFragment.jsp and replace it with the attached version.
Backup the file: webapps/birt-viewer/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp and replace it with the attached version.
Backup the file: webapps/birt-viewer/webcontent/birt/pages/parameter/TextboxParameterFragment.jsp and replace it with the attached version.

Choose Date as the parameter type in your report. 



Is that for version 3.7?
Re: Date Picker for Eclipse 3.7 [message #734467 is a reply to message #734450] Fri, 07 October 2011 17:53 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

I have not tried it. I think it only works in deployed viewer though.

Jason

On 10/7/2011 4:18 PM, robinsonjas wrote:
> I dont have this directory structure under my %eclipse% install.
> I'll describe the steps in random order:
>
> Put the calendar.js script in:
> wepapps/birt-viewer/webcontents/birt/ajax/utility directory on the
> deployment server.
> Put the calendar.gif file in wepapps/birt-viewer/webcontents/birt/images
> Put the g2style.css file in wepapps/birt-viewer/webcontents/birt/styles
>
> Backup the file :
> webapps/birt-viewer/webcontent/birt/pages/layout/FramesetFragment.jsp
> and replace it with the attached version.
> Backup the file:
> webapps/birt-viewer/webcontent/birt/pages/dialog/ParameterDialogFragment.jsp
> and replace it with the attached version.
> Backup the file:
> webapps/birt-viewer/webcontent/birt/pages/parameter/TextboxParameterFragment.jsp
> and replace it with the attached version.
>
> Choose Date as the parameter type in your report.
>
>
> Is that for version 3.7?
Re: Date Picker for Eclipse 3.7 [message #735544 is a reply to message #734450] Wed, 12 October 2011 03:18 Go to previous messageGo to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
You should have plugins/org.eclipse.birt.report.viewer_3.7.1.v20110905/birt/webcontent/birt/ instead of wepapps/birt-viewer/webcontents/birt/. It seems to contain the same subfolders (ajax/, images/, and styles/). I haven't tried it yet, though.
Re: Date Picker for Eclipse 3.7 [message #874264 is a reply to message #734429] Sun, 20 May 2012 06:28 Go to previous message
grega c is currently offline grega c
Messages: 1
Registered: May 2012
Junior Member
Hi,

How didyou managed to install birt 3.7 for TPC reportig. I though that v2.2.1 is the only supported version to get the TPC views repository schema connected with BIRT.

Any kind of support would be great, cause currently iam using v 2.2.1 with TPC and DB2, but the current version does not support some functions.So if the upgrade is possible it would be great to know how its done?

by
Previous Topic:Problem with BIRT Report Viewer - missing JS files
Next Topic:Re: Setting Persistent Global Variable from DataSet
Goto Forum:
  


Current Time: Tue Jul 29 03:01:06 EDT 2014

Powered by FUDForum. Page generated in 0.01808 seconds