If you are using our Open Access handler, you do not need to create a special web page to display your screens. They will be displayed automatically when your RPG program is run in a Profound UI session, Genie, or Atrium.
To get started, let's look at a simple HTML page that loads in the necessary parts:
The Profound UI framework always draws screens into a <div> tag that has an id of "pui". You'll notice that in this HTML file, the body of the HTML document is empty except for the aforementioned <div> tag. The div tag itself, is likewise empty. This is because the Profound UI framework will retrieve that div, and will replace its contents with the screen to be displayed.
Since pui.controller has been set to your program, the framework will send responses from the screen to your program. It will also expect your program to send JSON data to tell it which screens to display. For complete examples of this HTML file, as well as sample programs that display screens, see the "examples" subdirectory in the open source distribution.