[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Problem with t:formattedfield  XML
Forum Index -> Development
Author Message
ddammann

Power User

Joined: 13/09/2010 09:41:07
Messages: 66
Location: München
Offline

Hi,

I config a t:formattedfield with formatmask '#0.00%'. The users has to edit the '%' at the end, if he doesn't do it, a problem massages will be shown.
Why doesn't add the char itself?

Same problem if I use currency-chars. The user has to edit the char.
It is not nice. And sometimes very bad, if we want to display Great Britain Pounds char, it is not on my keyboard.

regards
Dörte
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

unfortunately the JFormattedField (the base component that is provided by Java library) is very "resolute"... We alredy extended this and pre-convert numbers on our owns before passing it to the original control's processing.

We will check what we can do here... (maybe it's enough to check if a % is in the FORMATMASK and then make sure that we always append a % on our owns if missing...)

Regards, Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

OK, we added a special rule for "%" at the end (and at the beginning)...
Part of next Monday's update.

Thanks + Regards!
Björn

Björn Müller, CaptainCasa GmbH
ddammann

Power User

Joined: 13/09/2010 09:41:07
Messages: 66
Location: München
Offline

Hi,
Not only for %, please

All chars after # or 0, to display currencies.

regards
Dörte
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team