If what you want is a custom validator you can use the Validator class
(http://www.gwt-ext.com/docs/2.0.4/com/gwtext/client/widgets/form/
Validator.html).

It seems that VType is for inbuilt validations types. See Saniv reply
here:
"There are also a number of inbuilt validation
types. For example : setVtype(VType.EMAIL). See the VType class for
the list
of inbuilt types. If you do indeed need to use your own Validator,
then you
must also set setInvalidText(<validation error message>) when you use
setValidator(Validator). "
http://groups.google.com/group/gwt-ext/browse_thread/thread/90759836817718b2/b73dadc61e74994d?lnk=gst&q=vtype#b73dadc61e74994d

In addition, I think that you can implement your own types, but using
native javascript with ExtJs. Some examples:
http://extjs.com/forum/showthread.php?t=4271&highlight=vtype

I hope it helps you...

Leo

On Nov 5, 7:00 am, "Ton Carvalho" <[EMAIL PROTECTED]> wrote:
> Hello, someone already used Vtypes, has some example of how to create a
> custom?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

  • Vtype Ton Carvalho
    • Re: Vtype leo_BsAs

Reply via email to