Menu Items that Perform Actions Prior to Loading the Page
Now that you know about actions, we can put some in our menu item, to perform some checks prior to loading the page.
We will have the menu item perform two checks:
- Check the number of stored procedures there are under the 'DB2AUTH' schema (the db2auth plug-in creates 7)
- Check the existance of the DB2AUTH.USERS table
If either of these two checks fail, we will configure the menu to pop up an error message.
Color scheme reminder:
- Indicated text has been removed
- Indicated text has been edited
- Indicated text has been added
- Indicated text is the source of a copy