Results 1 to 2 of 2

Thread: How validate a texfield with a rpc call

  1. #1

    Default How validate a texfield with a rpc call

    Hi, we are using gxt rc1

    what the best way to validate a textfield that calls a rpc to ckeck a table?

    Is it possible to use a class that implements Validator?

    Thanks in advance

    Clayton

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572

    Default

    ya probably gonna have to ellaborate... not sure what you need to do...

    but yes, any object that implements the Validator class (and methods) can be used in TextField. As far as how to call RPC and validate - it will depend on what you are trying to do... I'd be careful as RPC round-trips can be slow and the user could be typing way ahead before you respond/update

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •