...
Code Block |
---|
/** * @param {JSFoundSet} the foundset that was given to remoteSearch */ function sucessCallbacksuccessCallback(foundset) { if (foundset.getSize() >0) { // something found on the server show it in the current form controller.showRecords(foundset); } } /** * @param {Number} statusCode The http status code * @param {String} message The message of the error * @param {JSFoundSet} foundset The foundset that was passed to remoteSearch */ function errorCallback(statusCode, message, foundset) { //do what ever is needed, like showing alert } |
...