PROGRAMMING DOMINO FOR WEB APPLICATIONS


Examples: Domino objects
These examples are on a page that contains one Java applet whose source code is:
1. This onClick event handler for a button uses the Domino objects to display the current platform. The code gets to the Domino objects through the first applet in the current document; this applet must use the Domino objects. The objects employed are AppletBase.openSession and Session.getPlatform.
2. This onClick event handler for a button uses the Domino Objects to get the context for the current document. This code works only on a Notes client.
3. This onClick event handler for a button uses the Domino Objects to display the title of the current database and the value of each Subject item. The field thisDb is a computed field containing "@Subset(@DbName; -1)" as the value. For browsers, "Generate HTML for all fields" must be selected in the Form Properties box.
See Also