Crystal Report for JSP viewer tag

Source: Internet
Author: User
Viewer tag

The viewer tag is the main tag for instantiating the DHTML report page viewer. It creates a DHTML report page viewer and allows you to set attributes through supported features.

Each instance marked by viewer requires a report tag to specify the report to be displayed. If multiple viewer instances are used on a single HTML page, each instance must have a unique name (specified by the viewername attribute ).

Nested Tag

Report flag (a property reportname)

Attribute

Appearance

 

Features Description Default Required

Enablepagetogrow

Specify whether the height and width attributes of the viewer should be ignored and expanded to adapt to the report content.

True

No

Height

Sets the viewer height (in pixels ).

600

No

Width

Set the viewer width (in pixels ).

800

No

Left

Set the position on the X axis in the upper left corner of the viewer.

0

No

Top

Set the position on the Y axis in the upper left corner of the viewer.

0

No

Displaygrouptree

Specifies whether the viewer should display the group tree.

True

No

Displaypage

Set whether to display the report page.

True

No

Displaytoolbar

Set whether to display the toolbar.

True

No

Grouptreewidth

Set the width of the group tree to the unit set in grouptreewidthunit.

200

No

Grouptreewidthunit

Set whether to use pixels or percentages to determine the width of the group tree.

Pixel

No

Zoompercentage

Sets the scale percentage used to display reports.

100

No

Stylesheet

Set the style sheet used to display the report content.

Default.css

No

Action

Features Description Default Required

Printmode

Set whether to use PDF or ActiveX print mode when you click the print button.

PDF

No

Allowdatabaselogonprompting

Enable the option to prompt the user to log on to the database before running the report.

True

No

Allowdrilldown

Set whether to allow users to deepen the report.

True

No

Allowparameterprompting

Enable the option that prompts the user to enter the parameters to be used when running the report.

True

No

Hyperlinktarget

Sets the window or frame used to display hyperlink documents._selfTo display HTML documents in the same framework,_parentTo display HTML documents in the same frame or window that contains the current frame group,_topTo display HTML documents in the entire browser window,_blankTo display HTML documents in a new browser window. This attribute applies only to hyperlinks in the report content.

_ Self

No

Isownpage

Sets whether the viewer control has a page. Recommended to true

False

No

Productlocale

Set the region settings for displaying all text and format settings (such as the toolbar) generated by the viewer. You can use the region to set the string format (such as en_us, en ). -U S and EN) to set the productlocale attribute.

Browser region settings

No

Toolbar

Features Description Default Required

Displaytoolbarviewlist

Set whether to display the "View" list on the toolbar.

True

No

Displaytoolbarexportbutton

Set whether to display the "Export" button on the toolbar.

True

No

Displaytoolbarfindpagebutton

Set whether to display the "Go to page" button on the toolbar.

True

No

Displaytoolbarpagenavigationbuttons

Set whether to display the page navigation button on the toolbar.

True

No

Displaytoolbarprintbutton

Set whether to display the "print" button on the toolbar.

True

No

Displaytoolbarrefreshbutton

Set whether to display the "refresh" button on the toolbar.

False

No

Displaytoolbarfindbutton

Set whether to display the "Search" button on the toolbar.

True

No

Displaytoolbartoggletreebutton

Set whether to display the group tree switch button on the toolbar.

True

No

Displaytoolbarzoomlist

Set whether to display the zoom percentage drop-down list on the toolbar.

True

No

Displaytoolbarcrystallogo

Set whether to display the Business Objects logo on the toolbar.

True

No

Report Source

Features Description Default Required

Reportsourcetype

Type of the report source to be used by the viewerreportingComponentSpecifies that the report will be presented using Java reporting component.reportApplicationServerSpecify that the report application server is used to obtain the report source.pageServerSpecify the Page Server that will be used as part of the Crystal Enterprise deployment to obtain the report source.

No Default Value

Yes

Reportsourcevar

Set the name of the session variable that will cache the report source. If the reportsourcetype attribute is pageserver, the report flag is no longer used. For the reportsourcevar value, set the session variable name of the cache report source to obtain the report source.

Crystalreportsource

No

Identifier

Features Description Default Required

Viewername

Set the name of the viewer.

Crystalviewer

Yes

Source: http://publib.boulder.ibm.com/infocenter/radhelp/v6r0m1/index.jsp? Topic =/com.businessobjects.integration.eclipse.doc. devtools/developer/viewertaglib4.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.