Viewer only pages

If your JSP page contains only the viewer and nothing else, several things can be done to simplify the report viewing implementation.

Setting setOwnPage

The viewer is capable of generating complete HTML pages and can set the appropriate page properties depending on the viewing context. Setting setOwnPage 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:

If setOwnPage is false, the surrounding HTML tags and content-type and charset directives need to be manually set. Additionally, when setOwnPage is false, the printing and exporting features are disabled.

Using the processHttpRequest method

When setOwnPage is set to true, you must use the processHttpRequest method to display the report instead of the getHtmlContent method. The processHttpRequest method must be used because using getHtmlContent has the same effect as setting setOwnPage to false, negating any of the benefits gained from setting setOwnPage to true.



Business Objects
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/