Optional
Defaults to false
boolean
Sets whether the viewer control owns the page.
Setting isOwnPage to true provides several benefits, by allowing the viewer to
completely handle the surrounding HTML content. Allowing the viewer to handle
the surrounding HTML content reduces the amount of code you need to add to your
JSP page and allows the viewer to automatically determine certain settings:
It allows the viewer to choose which page start
and end tags to use based on what device is being used to view the page.
For example, it writes out the <html>
start tag for web browsers and <wml> start tag for mobile devices.
Note: Crystal Reports
Java does not support generating reports for display on mobile devices.
It correctly sets the content-type and charset
information for the page. This ensures that pages containing international
characters is displayed correctly.
It automatically enables export and print
button support in the viewer.
Set this attribute to false if the page is within a
portal or if there is any other content on the page.
Note: If isOwnPage is false, the
surrounding HTML tags and content-type and charset directives need to be
manually set. Additionally, when isOwnPage is false, the printing and exporting
features are disabled.