Standard menu commands, and some specialized commands, can be issued through @Commands. To add multiple buttons on a form or use certain @Commands, check the Use JavaScript when generating pages option in the Web Access section of the Database Property. Table 16.7 lists how selecting this option can affect your application.
Selected | Not Selected |
---|---|
Documents display faster because hot spot formulas aren't evaluated until they are clicked. | Hotspot formulas are evaluated at display time, resulting in longer load time. |
Submit button is not automatically generated. You must manually create and code a Submit button to allow users to save and close. Attach the following code to a Submit button:
@Command([FileSave]); @Command([CloseWindow]) | Submit button generated automatically and displays at bottom of form. |
You can have multiple buttons on a form. | You can have only one button, a Submit button, on a form. If multiple buttons are added to the form, Domino converts the first button to a Submit button automatically and ignores all others. |
The following commands are supported on the Web:
@Command([CloseWindow]) @Command([FileSave]) @Command([ViewRefreshFields]) | The following commands are not supported on the Web:
@Command([CloseWindow]) @Command([FileSave]) @Command([ViewRefreshFields]) |
Domino does not check the formulas before displaying pages. | Domino checks the formulas before displaying pages. Actions that contain unsupported @Commands or @Functions are not displayed on the Web. |
@Commands work in buttons, hot spots, and action formulas. @Commands do not work in column, selection, hide-when, section editor, window title, field, or form formulas, or in agents that run on a server.
52.15.147.20