The DataWindow plug-in displays a PSR with its data and formatting as it was previewed and saved from the Report painter, DataWindow painter, DataWindow control, or DataStore. The PSR displays all the formatting in the DataWindow or report object, including rotated text, colored text, shading, or edit styles like check boxes or radio buttons.
The data is a report—there is no data entry or database access.
A pop-up menu in the Web browser lets the client print the report or save it in several formats. If clients save the report as a local PSR file, they can view it in InfoMaker, which has more tools for searching, filtering, and sorting the data.
The DataWindow plug-in implements the Netscape plug-in API and requires a browser that supports this API (for information, see “Supported browsers”).
Table 32-1 describes in detail what happens between the client and server when the user views an HTML document containing a DataWindow plug-in.
Step |
What the client does |
How the server responds |
---|---|---|
1 |
The Web browser requests the HTML document from the server |
The server sends a header identifying the document’s MIME type (text/html) |
2 |
The browser receives the MIME type and prepares to receive an HTML document |
The server sends the HTML document |
3 |
The browser receives the HTML document and displays it |
— |
4 |
The browser recognizes the Embed element, reserves space for the plug-in on the page, and requests the PSR file from the server |
The server sends a header identifying the PSR’s MIME type (application/data window) |
5 |
The browser receives the MIME type and prepares to receive a PSR file |
The server sends the PSR file |
6 |
The Web browser receives the PSR file |
— |
7 |
The browser searches its Plugins directory for the DLL that corresponds to the MIME type (application/data window) |
— |
8 |
The Web browser loads the plug-in DLL and displays the PSR file |
— |
Each client that will browse pages containing DataWindow plug-ins needs the DataWindow plug-in DLL installed on the local machine.
The name of the DataWindow plug-in DLL is NPDWE105.DLL. PowerBuilder installs it in the PowerBuilder 10.5\Internet Tools\Plugins directory.