Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » dynamic parameter using Internationalization(3 out of 4 dynamic parameters are already setup but 4th having issues)
dynamic parameter using Internationalization [message #648698] Fri, 14 January 2011 04:29 Go to next message
Leisa is currently offline LeisaFriend
Messages: 8
Registered: January 2011
Junior Member
Confused

Working on a bug for a report someone else created that using a dynamic cascading parameter group. Each parameter is using a different dataset to generate lists for the user to pick from. In the datasets there are UNION joins to be able to add "ALL" to the top of the parameter list.

Here's where the problem comes in - the "ALL" is updated to the French word for "ALL" ("Tous") within the dataset preview results for 3 of the 4 datasets. There is a resource file associated to the report, however I'm not seeing anything setup for the parameters or the datasets to have them convert? So I can't see how this is happening? I need to get the 4th parameter setup the same way though.

When I try to modify the property of the parameter and reference the key in the resource file, it updates the parameters display name instead of the value? Does anyone have any ideas what I'm missing? Thanks in advance!!!
Re: dynamic parameter using Internationalization [message #648833 is a reply to message #648698] Fri, 14 January 2011 16:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you post the report? Does it contain any script?

Jason


On 1/13/2011 11:29 PM, Leisa wrote:
> :?
> Working on a bug for a report someone else created that using a dynamic
> cascading parameter group. Each parameter is using a different dataset
> to generate lists for the user to pick from. In the datasets there are
> UNION joins to be able to add "ALL" to the top of the parameter list.
> Here's where the problem comes in - the "ALL" is updated to the French
> word for "ALL" ("Tous") within the dataset preview results for 3 of the
> 4 datasets. There is a resource file associated to the report, however
> I'm not seeing anything setup for the parameters or the datasets to have
> them convert? So I can't see how this is happening? I need to get the
> 4th parameter setup the same way though.
> When I try to modify the property of the parameter and reference the key
> in the resource file, it updates the parameters display name instead of
> the value? Does anyone have any ideas what I'm missing? Thanks in
> advance!!!
Re: dynamic parameter using Internationalization [message #648870 is a reply to message #648698] Fri, 14 January 2011 19:02 Go to previous message
Leisa is currently offline LeisaFriend
Messages: 8
Registered: January 2011
Junior Member
O
M
G
........

there was a script, it was doing the following:

this.queryText.replaceFirst("PROMPT_ALL",reportContext.getMessage("All", reportContext.getLocale()));

removing the "First" out of the line was the needed change! THANK YOU!!!!
Previous Topic:How insert date into Tex Box by JavaScript
Next Topic:Re-use of DataCube
Goto Forum:
  


Current Time: Sat Dec 20 06:05:34 GMT 2014

Powered by FUDForum. Page generated in 0.01691 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software