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
Post a Comment