BIRT Exchange Forum: Allow Multiple Values in List Box on iServer - BIRT Exchange Forum

Jump to content


 

BIRT Poll: To best make a table fill a pdf page before breaking (PL=page layout, PBI=page break interval) set:

PL: auto, PBI: 0PL: fixed, PBI: 0PL: auto, PBI: 1000000PL: fixed, PBI: 1000000
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Allow Multiple Values in List Box on iServer Rate Topic: -----

#1 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 19 August 2008 - 09:15 AM

When i run a simple report with a paramter where i allow for Multiple selection, it runs perfectly on the desktop, but when i upload the same design file on the server and when i try to select the same parameter(s) that i did on my machine and run(iPortal), it does not run the report.
We are using Actuate 9 and BIRT 2.2.2.
When i try to run this from the management console and select the paramter ,it throws an error saying:
"The parameter value is incorrect for the specified paramter type"

any suggestions?

Thanks.
0

#2 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 19 August 2008 - 01:10 PM

Can you post the report?
0

#3 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 19 August 2008 - 01:36 PM

Try this example.

Jason

Attached File(s)


0

#4 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 20 August 2008 - 07:03 AM

Jason, please find the code.i have no issues running it on the desktop. on server it throws up error for few of the selected parameters:
And this happens only when i select the Allow Multiple Values, if i do not check that option, the same parameter that gives an error with the Allow Multiple Values, runs fine.
Is this something to do with the server configuration:
0

#5 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 20 August 2008 - 11:01 AM

Did you try the example I posted?
I noticed your 2.2.2 was slightly older than mine, but I doubt that is the issue. What full version of Actuate 9 are you using?

I am using 9 Service Pack 3 Fix 3A build 90F080509

Jason
0

#6 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 21 August 2008 - 06:13 AM

Yes i tried the example you are using. It seems to be working fine.
I added the same code in the before factory of my report, runs fine on desktop not on the server. can you also let me know what exactly is the code doing different than the direct way of doing it.
I am using 9 Service Pack 3 Fix 1 (Build 90F071218).
0

#7 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 21 August 2008 - 10:05 AM

That code in the beforeFactory does nothing. You should be able to delete it without any issues. The parameters are tied to a filter on the dataset.
0

#8 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 21 August 2008 - 10:59 AM

I have noticed something, when i upload the rptdesign to the server and see the parameter list there, i see there are quotes added at wierd places(attached). this may be the reason for the error.
I even tested your report again but this time i passed the display string as paramter and not integer in the backend. It throws an error.
can you please tell me what could cause this?

Attached File(s)


0

#9 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 25 August 2008 - 05:48 AM

does anyone have any idea?
Thanks
0

#10 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 25 August 2008 - 11:49 AM

Can you post the report that you modified (the example I posted earlier) with your modifications?
0

#11 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 25 August 2008 - 12:19 PM

Here it is :
works on desktop, not on server.

Attached File(s)


0

#12 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 25 August 2008 - 12:55 PM

You sure this contains your changes? It ran fine on mine, but I did not see any changes in it.

Jason
0

#13 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 26 August 2008 - 05:46 AM

The changes are there , I am passing the customer name as the paramter and not the order number and on the report i am displaying just the customer name (basically all the parameters that i passed) and nothing else.
The report may run but it may not display the correct data.
When i run the report, i selected the following paramters(got this from the mgmt console):

Parameters
==========


MultiParm ['Australian Collectors|Co.'|'Havel&Zbyszek Co'|'Blauer See Auto|Co.'|'Euro+ Shopping Channel'|'(Saveley&Henriot)|Co.'|'Dragon Souveniers|Ltd.']

the way these paramters are passed is wrong,but for 'Euro+ Shopping Channel'.

If you see the screenshot attached, there are 6 parameters passed but the reoprt only displays one('Euro+ Shopping Channel'), which is the one that is passed correctly.

Attached File(s)


0

#14 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 26 August 2008 - 06:27 AM

This may be a bug, but I believe it is fixed in my version. Take a look at the screenshots of the same parameters and output from my install.
0

#15 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 26 August 2008 - 06:29 AM

pictures are attached

Attached File(s)


0

#16 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 28 August 2008 - 06:44 AM

This is not a bug related to the version, as the same version works fine in a different place.
we are not able to figure out what is wrong with our system. We are trying to reboot the iServer machine and see if that helps.
0

#17 User is offline   LetsBIRT Icon

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 24-July 08


Posted 29 August 2008 - 06:10 AM

Reboot did not help.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users