Smart Client suffering from Amnesia?

Questions, answers, tips and ideas on Servoy Client

Smart Client suffering from Amnesia?

Postby mboegem » Tue Aug 10, 2010 4:47 pm

Hi All,

to format numbers/dates/etc. we use i18n entries.
The standard i18n keys have just 1 entry (default one) saying: '#,##0.00'

Depending on the customers settings we set the key with the number of decimals requested, so this can change to: '#,##0.000' (having 3 decimals displayed)
I've a customer telling me that his solution stops displaying the 3 digits after half an hour of work and is displaying like format '#,##0.00' again.

What can be the problem here? Available memory at the clients PC?
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Smart Client suffering from Amnesia?

Postby jcompagner » Tue Aug 10, 2010 5:55 pm

so in the smart client you do

i18n.setI18NMessage(i18nKey, value)

and then a user doesnt change its locale, there is not a i18n filter set after that ?
Then it should be kept in memory.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smart Client suffering from Amnesia?

Postby mboegem » Wed Aug 11, 2010 10:46 am

jcompagner wrote:i18n.setI18NMessage(i18nKey, value)

correct

jcompagner wrote:there is not a i18n filter set after that

we don't use filters

I will check on the locals.
Normally a user won't change that, but you'll never know...

Thnkx so far
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests

cron