...
4. Call the Delete service from within your FEB application.
This post is to discuss how the Delete Service Configuration works within your FEB application. It demonstrates two different ways that you can use the Delete Service. DeleteRecords.nitro_s
Demonstration
How it works
...
When performing operations like this it is a good idea to give your audience some indication that something is happening, otherwise they may start taking actions that we don't want (like pressing the button again, refreshing the page, etc) which may interrupt or cancel the action. The first enhancement is to use a custom CSS class to change the mouse cursor from the default arrow pointer to a spinning wheel. Note: the
Info |
---|
The look of the spinning wheel differs |
...
between browsers. |
1. Create a new file, waitCursor.css
...
Code Block | ||
---|---|---|
| ||
.lfMn .wait_cursor, .lfMn .wait_cursor * { cursor: wait !important; } |
3. Add the file to your FEB application...Click the Settings tab...then click Files in the menu on the left.
...
4. In the onLoad event of the form, find the onCallFinished handler for the "SC_DeleteByRID" service and add the following line. Note: I have cut out some of the content for brevity, you will only add the lines indicated in bold by comment in the location specified below:
...