Skip to main content



      Home
Home » Archived » BIRT » Setting locale dynamically
Setting locale dynamically [message #222845] Wed, 07 March 2007 11:36 Go to next message
Eclipse UserFriend
Originally posted by: joannem.smartmech.com

Hi,

Just wondered if it was possible to have a report dynamically set the
formats for dates and numbers based on the locale of a user provided from
the datasource?

Thanks,
Jo-Anne
Re: Setting locale dynamically [message #222980 is a reply to message #222845] Wed, 07 March 2007 18:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Jo-Anne wrote:
> Hi,
>
> Just wondered if it was possible to have a report dynamically set the
> formats for dates and numbers based on the locale of a user provided
> from the datasource?
>
> Thanks,
> Jo-Anne
>
Locale can be passed into the report from the viewer using
__locale URL Parameter. Are you wanting different locales in the same
report?

Jason
Re: Setting locale dynamically [message #223208 is a reply to message #222980] Thu, 08 March 2007 10:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: joannem.smartmech.com

All our users are from various countries running our software from a
central server. The user has a specific locale that is associated with
the users specs. I need to be able to generate the reports using the same
template but have the date & number formats be set dynamically based on
the locale in the data.
Re: Setting locale dynamically [message #223274 is a reply to message #223208] Thu, 08 March 2007 13:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Jo-Anne wrote:
> All our users are from various countries running our software from a
> central server. The user has a specific locale that is associated with
> the users specs. I need to be able to generate the reports using the
> same template but have the date & number formats be set dynamically
> based on the locale in the data.
>
>
>
You can specify locale in the __locale url parameter. Will this not
work for you?

Jason
Re: Setting locale dynamically [message #223282 is a reply to message #223274] Thu, 08 March 2007 13:32 Go to previous message
Eclipse UserFriend
Originally posted by: joannem.smartmech.com

Thanks Jason, I'll have to try that out. I'm fairly new to BIRT so I'm
still learning lots!!
Previous Topic:SecurityFilter via custom EventHandler
Next Topic:Creating a second orthogonal axis
Goto Forum:
  


Current Time: Mon Jul 07 22:24:08 EDT 2025

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

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

Back to the top