Tag definitions

The ReportPageViewer component consists of a single JSF component tag called reportPageViewer.

Tag class:

com.crystaldecisions.report.web.jsf.JSFViewerTag

Component class:

com.crystaldecisions.report.web.jsf.UIReportPageViewer

Example syntax

<bocrv:reportPageViewer reportSource="#{enterpriseItem.reportSource}" />

Tag attributes (reportPageViewer)

AttributeRequiredComponent Class MethodsDescription

allowDatabaseLogonPrompting

false

setAllowDatabaseLogonPrompting

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

allowDrillDown

false

setAllowDrill

Sets whether to allow the user to drill down on the report.

allowParameterPrompting

false

setAllowParameterPrompting

Enables the option to prompt the user for parameters to use when running the report.

databaseLogonInfos

false

setDatabaseLogonInfos

Specifies the logon information used to log on to the database.

Note:    This attribute must be set as an object using the JSF expression language (for example, databaseLogonInfos="#{bean.databaseLogonInfos}").

displayGroupTree

false

setDisplayGroupTree

Indicates whether to display the Group Tree on viewer start up.

displayPage

false

setDisplayPage

Indicates whether to display the report page.

displayToolbar

false

setDisplayToolbar

Indicates whether to display the toolbar.

displayToolbarExportButton

false

setdisplayToolbarExportButton

Indicates whether to display the export button on the toolbar.

displayToolbarFindButton

false

setDisplayToolbarFindButton

Indicates whether to display the Search button on the toolbar.

displayToolbarFindPageButton

false

setDisplayToolbarFindPageButton

Indicates whether to display the Go To Page button on the toolbar.

displayToolbarLogo

false

setDisplayToolbarLogo

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

displayToolbarPageNavigationButtons

false

setDisplayToolbarPageNavigationButtons

Indicates whether to display the page navigation buttons on the toolbar.

displayToolbarPrintButton

false

setDisplayToolbarPrintButton

Indicates whether to display the print button on the toolbar.

displayToolbarRefreshButton

false

setDisplayToolbarRefreshButton

Indicates whether to display the Refresh button on the toolbar.

displayToolbarToggleTreeButton

false

setDisplayToolbarToggleTreeButton

Indicates whether to display the toggle Group Tree button on the toolbar.

displayToolbarViewList

false

setDisplayToolbarViewList

Indicates whether to display the view list on the toolbar.

displayToolbarZoomList

false

setDisplayToolbarZoomList

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

enablePageToGrow

false

setEnablePageToGrow

Indicates whether the viewer ignores the height and width attributes it is given and tries to find the best fit for the report by taking up as much space as it needs to properly display the report.

groupTreeWidth

false

setGroupTreeWidth

Sets the width of the Group Tree in the units set in groupTreeWidthUnit.

groupTreeWidthUnit

false

setGroupTreeWidthUnit

Sets whether to use pixels or percentage to determine the width of the Group Tree.

height

false

setHeight

Sets the height of the viewer in pixels.

hyperlinkTarget

false

setHyperlinkTarget

Sets the window or frame to display hyperlinked documents.

left

false

setLeft

Sets the position of the top-left corner of the viewer on the x-axis.

parameterFields

false

setParameterFields

Specifies the parameter fields information used to log on to the database.

Note:    This attribute must be set as an object using the JSF expression language (for example, parameterFields="#{bean.parameterFields}").

printMode

false

setPrintMode

The ReportPageViewer component supports PDF and ActiveX printing.

productLocale

false

setProductLocale

Sets the locale setting used to display all text and formatting generated by the viewer (such as the toolbar).

reportSource

true

setReportSource

Specifies the report to display.

Note:    This attribute must be set as an object using the JSF expression language (for example, reportSource="#{enterpriseItem.reportSource}").

styleSheet

false

setStyleSheet

The style sheet that is used to display the report content.

top

false

setTop

Sets the position of the top-left corner of the viewer on the y-axis.

viewerName

false

setViewerName

The component identifier for the ReportPageViewer component. This value must be unique.

width

false

setWidth

Sets the width of the viewer in pixels.

zoomPercentage

false

setZoomPercentage

Sets the zoom percentage used when displaying a report.



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