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

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -