Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Write numbers in a TextInputComponent
Write numbers in a TextInputComponent [message #1696053] Thu, 21 May 2015 12:08 Go to next message
Eclipse UserFriend
Hello to everyone,

With my program, I would like to write a String in a TextInputComponent (input of a word) of my RCP application. This String parameter contains one number.

Suppose that word is ROM1AIN. When I execute my program, at the input, I got ROM&AIN. However if, before the input, I use the key "Verr Maj" , I got ROM1AIN. I understood it comes from my keyboard layout (I use French Keyboard).
index.php/fa/21896/0/

Morever, when I execute this :
" System.out.println(Locale.getDefault().toString()); "
my parameters of language are fr_FR.
That's is good for me, right ?

I would like write numbers without my changing the language parameters of my computer and my using the key "Verr Maj". It would be inconveniences for the users.

Do you know how I can do ?

Best regards.
Romain

[Updated on: Thu, 21 May 2015 13:23] by Moderator

Report message to a moderator

Re: Write numbers in a TextInputComponent [message #1696068 is a reply to message #1696053] Thu, 21 May 2015 13:28 Go to previous messageGo to next message
Eclipse UserFriend
Hi Romain,

I think that the numbers were the problem that we noticed with French keyboards when we last looked at them. I'm unsure whether there is a way around this at the moment.

I'll check again and get back to you. Can you attach your keyboard properties file?

Best regards,
Alex
Re: Write numbers in a TextInputComponent [message #1696115 is a reply to message #1696068] Fri, 22 May 2015 06:02 Go to previous message
Eclipse UserFriend
Hi Alex,

I think the keyboard properties file is independent of my program, because the org.eclipse.jubula.client.api.jar file is already included in my project (Java Build Path).
What I find weird is this line :
System.out.println(Locale.getDefault().toString());
-> fr_FR

I would have understood if I had changed the parameter to put in French, but I don't. Maybe in background, the system looks for the nature of my keyboard and finds I use a French keyboard.

Best regards.
Romain

[Updated on: Fri, 22 May 2015 06:04] by Moderator

Report message to a moderator

Previous Topic:Extjs plugin or library for testing using selenium webdriver using Eclipse
Next Topic: Jubula view bug
Goto Forum:
  


Current Time: Thu Feb 13 00:36:51 GMT 2025

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

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

Back to the top