Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » [Neon] StringField getConfiguredValidateOnAnyKey
[Neon] StringField getConfiguredValidateOnAnyKey [message #1718513] Fri, 25 December 2015 16:43 Go to next message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
is there or will there be a replacement for the getConfiguredValidateOnAnyKey functionality?
Re: [Neon] StringField getConfiguredValidateOnAnyKey [message #1718527 is a reply to message #1718513] Sat, 26 December 2015 09:48 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
We did not make a lot of advertisment, because this is still a "work in progress" task, but we have a migration guide. (even the location of the document is not final).

According to the "Validate on any Key" section of this document, the replacement mechanism is called: "updateDisplayTextOnModify".
https://bugs.eclipse.org/bugs/show_bug.cgi?id=459893

The description is really "raw". Maybe you could post a small example "how to use updateDisplayTextOnModify" here.
Re: [Neon] StringField getConfiguredValidateOnAnyKey [message #1718712 is a reply to message #1718527] Tue, 29 December 2015 11:40 Go to previous message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
works like a charm - tested it with a password change dialog in which I would change the field status as soon as password and password confirmation are equal:
			@Override
			protected void execChangedDisplayText() {
				super.execChangedDisplayText();
				checkPasswordVerification(getNewPasswordField().getValue(), getDisplayText());
			}
			
			@Override
			protected boolean getConfiguredUpdateDisplayTextOnModify() {
				return true;
			}
Previous Topic:[Neon] Mobile support
Next Topic:XXX code tags in generated FormData classes
Goto Forum:
  


Current Time: Mon Sep 23 18:07:02 GMT 2024

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

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

Back to the top