當使用者導覽資料夾時,他們會想要尋找報表並加以檢視。所以,您必須加入可以配合那些動作需求的介面至 contents.jsp。
在本逐步解說中,如果資料夾內有報表可供顯示,就會為使用者建構報表名稱清單。第二個 ItemsGrid
元件 (置於頁面上第一個 ItemsGrid
元件下方) 可以供上述用途之用。當使用者按一下格線中的報表項目時,他們會被重新導向至另一個頁面 (view.jsp),報表便在其中建構以供檢視。
[ItemsGrid]
元件到 visual designer 的頁面上。
在此步驟中,會出現提示要求您建立新的 EnterpriseItems Bean 或選取現有的 Bean,以繫結至 ItemsGrid
元件。
EnterpriseItems
Bean 代表要在格線中顯示的報表集合。您必須建立一個 EnterpriseItems
Bean,並將其繫結至 ItemsGrid
元件。
在此步驟中,會出現提示要求您選擇一個 Identity
Bean。EnterpriseItems
Bean 具有 identity
屬性;您必須將其初始化為 Identity
Bean,以提供 Enterprise 工作階段及使用者憑證。
identity
。
CrystalEnterprise.Report
」。
這個步驟會將元件加至 visual designer;您便可在其中選取該元件,並於 [Properties] 檢視內設定其屬性。
[id]
屬性為 [reportsList]
。
Business Objects http://www.china.businessobjects.com Support services http://www.china.businessobjects.com |