Is it possible to have a Text field to which only Numerals or only Alphabets can be entered? If i type Alphabets in a text field which accepts only numerals it should not accept the Alphabets. Is it possible to implement this functionality?
If you wish to prevent invalid text being entered, there is currently nothing in the core of Vaadin - however, the
MaskedTextField add-on can be used to do this.
The problem with this is that validators are (also) run during the paint phase, and at that point you should not change values. Any changes made in that phase might not have their effects propagate all the way to other components before the components are painted etc.
Dear Sir,
I am a beginer of Vaadin, I have some problem which is explained below.
I am trying to make an autofill web application in which there are two filels User Name TextField and second one is Password Password Field and one Submit Button.
I wish when I filled the username and password fields and Click on submit Button then the value of User Name Text Field and Password fields will send to and external website “www.xyz.com” which has also two fields User Name and Password.
Means after clicking the submit button on my page ,User Name value of TextField and Password field value will be send to the User Name text Fields and Password Fields respectively of external wesite page"www.xyz.com"