Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » reportContext.getMessage null in DEV Enviroment
reportContext.getMessage null in DEV Enviroment [message #1770213] Wed, 09 August 2017 07:26
Carlos  Samelan is currently offline Carlos SamelanFriend
Messages: 1
Registered: August 2017
Junior Member

I've a problem with internationalization with Eclipse BIRT Designer Version 4.5.0.

The labels are set by property keys and translate correctly. However the places where the design is using reportContext.getMessage("keyval") are not translating and the result is null; for example in dynamic texts and charts.

But this only happens in the DEV enviroment because in localhost works corretly

reportContext.getMessage("text.title", reportContext.getLocale());

I think that the problem is the reportContext.getMessage because if I print only reportContext.getLocale() it's correct.

In Properties > Resources > Properties files I added the files in the route "src/main/resources/messages/".

Any idea?


Previous Topic:BIRT runtime 4.6.0
Next Topic:Tomcat deployment fails
Goto Forum:

Current Time: Sat Nov 17 11:09:22 GMT 2018

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

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

Back to the top