jahertor / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 1 forks source link

VType Customization #185

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Deriving/Inheriting from VType class not possible, because constructor
is private
2. Creating own implementation/clone of VType forces overwriting
TextFieldConfig class

What is the expected output? What do you see instead?
--

What version of the product are you using? On what operating system?
GWTExt 0.9.3 / ExtJS 1.1.1, Wiindows XP / Sun Solaris

Please provide any additional information below.
Either make VType an interface, of the constructor protected so that it can
be overwritten

Original issue reported on code.google.com by tobias.p...@gmail.com on 10 Dec 2007 at 9:50

GoogleCodeExporter commented 8 years ago
+1, making it an interface or providing a protected constructor would a help a 
lot

Original comment by peter.ru...@gmail.com on 10 Dec 2007 at 10:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
if you have a TextField, you can use 
textField.setRegex(yourRegexValidation);
textField.setRegexText(yourRegexValidationMessage);

instead of textField.setVtype
and textField.setVtypeText

Original comment by erica_se...@hotmail.com on 12 Aug 2009 at 6:41