About HTML code samples

In Reflection for the Web, you have several options for emulator session files. The Manage Sessions interface provides an easy way to create sessions with most of the basic functionality you need. Session files defined here are dynamically generated upon user request and provide full security and access control functionality.

You can also save a customizable form of session files in the deploy folder. Files in this folder cannot be edited in Manage Sessions, but they can be assigned to users in the Assign Users & Groups panel. These session files provide the same security and access control as sessions created using Manage Sessions.

To customize Reflection for the Web session files:

  1. Use a text editor or to create the basic HTML and applet tag for the session. If you use the , copy the HTML from the More Settings page and paste it into a text file.

  2. Add custom HTML, JavaScript, or Reflection API code to the file.

  3. Give the file a name with an .html extension and save it to MSSData/deploy.

  4. Place any image files or other files called by the session html file in the session folder.

You can also save the session HTML to the session folder. However, files in this folder cannot be assigned to users and do not benefit from Management and Security Server's access control features.

The samples in this section provide examples of sessions that can be stored in the deploy folder. Modifications using HTML and JavaScript extend the functionality provided by the basic session files created using Manage Sessions.

NOTE:Micro Focus permits you to edit, manipulate, and change graphics, text, HTML code, JavaScript code, Java code, and other code in Reflection for the Web samples. The sample code and graphics are for use solely with deploying your internal Reflection web pages and for no other purpose. Micro Focus has no warranty, obligation, or liability for the contents of the samples.

Troubleshooting Tip

The sample pages are available so that you can view the page and copy the sample code to a new HTML file. If the sample code is not formatted correctly after you paste it into your text editor, try reselecting the sample code, making sure that you extend your selection to the blank line after the end of the sample.

Some browsers, such as Internet Explorer, do not copy all of the code formatting unless an ending paragraph mark is also selected. You can ensure that the paragraph mark is included in the selection by including the blank line after the last line of code.