javascript - Test the existence of User/System DSN in XPages -


in xpage have editbox user enter name of odbc data source. onblur want test whether user entered value valid/exist in odbc list. if there error/exception, want error displayed in 'display error' control have in xpage. i'm not sure start. never done before(even in lotusscript). enlighten me please?

i wouldn't in onblur event. user might want change else , hit slow operation. should do:

  • have test button
  • gray out "save" button until test successful

in case: have @ extension library. has rdbms connectivity build in (use it, don't reinvent wheel). copy code there.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -