Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Custom Parameter Page in Run Time
Custom Parameter Page in Run Time [message #891889] Tue, 26 June 2012 08:43 Go to next message
Dave Thomas is currently offline Dave Thomas
Messages: 2
Registered: June 2012
Junior Member
Is anyone currently using the birt tag library with the 3.7.2 run time?

I have an application that was previously running fine with 2.6.2. I've recently upgraded all reports to work with 3.7.2 but the parameters from the custom parameter page are not being sent across.

There seems to be some strange state going on but I don't understand it yet. Sometimes a page will have parameters applied to a previously viewed report but it will stay with those applied no matter what params are applied or removed after that.

If anyone else has this working, could you let me know.

Re: Custom Parameter Page in Run Time [message #891958 is a reply to message #891889] Tue, 26 June 2012 12:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Dave,

I logged a bug on this a while back, but on 3.7.2 I get viewing session
is not available or has expired. Is this the error you are getting? I
may not have cross context setup properly. What settings did you use?

Jason

On 6/26/2012 8:43 AM, Dave Thomas wrote:
> Is anyone currently using the birt tag library with the 3.7.2 run time?
>
> I have an application that was previously running fine with 2.6.2. I've
> recently upgraded all reports to work with 3.7.2 but the parameters from
> the custom parameter page are not being sent across.
> There seems to be some strange state going on but I don't understand it
> yet. Sometimes a page will have parameters applied to a previously
> viewed report but it will stay with those applied no matter what params
> are applied or removed after that.
>
> If anyone else has this working, could you let me know.
>
>
Re: Custom Parameter Page in Run Time [message #891964 is a reply to message #891958] Tue, 26 June 2012 13:20 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Dave

As a work around you could try adding your custom parameter page to the
viewer and then reference it from your app using an iFrame?


<iframe src ="/WebViewer/customparmeexample.jsp" width="100%" height="600">

</iframe>

Jason


On 6/26/2012 12:40 PM, Jason Weathersby wrote:
> Dave,
>
> I logged a bug on this a while back, but on 3.7.2 I get viewing session
> is not available or has expired. Is this the error you are getting? I
> may not have cross context setup properly. What settings did you use?
>
> Jason
>
> On 6/26/2012 8:43 AM, Dave Thomas wrote:
>> Is anyone currently using the birt tag library with the 3.7.2 run time?
>>
>> I have an application that was previously running fine with 2.6.2. I've
>> recently upgraded all reports to work with 3.7.2 but the parameters from
>> the custom parameter page are not being sent across.
>> There seems to be some strange state going on but I don't understand it
>> yet. Sometimes a page will have parameters applied to a previously
>> viewed report but it will stay with those applied no matter what params
>> are applied or removed after that.
>>
>> If anyone else has this working, could you let me know.
>>
>>
>
>
Re: Custom Parameter Page in Run Time [message #891967 is a reply to message #891964] Tue, 26 June 2012 13:39 Go to previous messageGo to next message
Dave Thomas is currently offline Dave Thomas
Messages: 2
Registered: June 2012
Junior Member
Hi Jason,

I've not seen the viewing session not available message. My workaround was to gather all the selected parameters (using js) from the inputs generated by the custom tags, construct a url from that and refresh the iframe containing the report with that url, instead of submitting the birt params form.

It works fine, but is obviously not how it was intended to be used, or how it was working when I was using 2.6.2

Dave
Re: Custom Parameter Page in Run Time [message #891985 is a reply to message #891889] Tue, 26 June 2012 14:37 Go to previous message
Eclipse user Chennai is currently offline Eclipse user Chennai
Messages: 15
Registered: May 2011
Junior Member
Have you tried to run report after removing *.rptconfig file?

Because values from this file will be displayed in the parameter page.
Previous Topic:How to influence sorting rules in a group
Next Topic:BIRT chart engine issue
Goto Forum:
  


Current Time: Sat Aug 30 10:42:23 EDT 2014

Powered by FUDForum. Page generated in 0.01635 seconds