Creating BI Beans JSP Tags

To use BI Beans JSP tags in a project in JDeveloper, perform the following tasks:

  1. Create the JSP pages that your project requires.

  2. Display BI Beans JSP tags in the JDeveloper Component Palette.

  3. Add BI Beans JSP tags to each JSP page.

  4. Make the project.

Creating a JSP page in your project

To create a JSP page in your JDeveloper project, use the following procedure:

  1. In the System - Navigator, right-click the project and select New. The New dialog box is displayed.

  2. Under Categories, expand the Web Tier node and select JavaServer Pages (JSP).

  3. Under Items, double-click Page.

  4. In the New JSP dialog box, accept the default directory to hold the new JSP (or, if you wish, specify a different directory in the Directory Name box).

  5. In the File Name box, enter the name for the page and use the .jsp extension.

Displaying BI Beans JSP tags in the Component Palette

To display BI JSP tags in the JDeveloper Component Palette, use the following procedure:

  1. Ensure that a JSP page is open in the code window.

  2. If the JDeveloper Component Palette is not displayed, select Component Palette from the View menu.

  3. In the combo box in the Component Palette, select Business Intelligence Tags.

  4. To change the display of the tags in the palette from Icon View to List View, right-click the palette and choose the desired view.

Adding BI Beans JSP tags to a JSP page

To add BI Beans JSP tags to a JSP page, use the following procedure:

  1. Click anywhere in the JSP page in order to establish focus.

  2. In the Component Palette, click the icon for the BIThinSession tag and complete the wizard that is displayed. This wizard inserts theBIThinSession tag, a default <FORM> element, and a synchronized scriptlet that surrounds the BI Beans JSP tags.

  3. For each additional BI Beans JSP tag that you want to insert in the page, use the following procedure:

    1. Create a new line within the <FORM> element after the comment <!-- Insert your Business Intelligence tags here -->. (Note: The sequence of tags within the FORM element determines the sequence in which the objects associated with the tags are rendered in the page.)

    2. To insert a tag in the new line, click the icon for the desired JSP tag and complete the wizard that is displayed. The wizard performs the following tasks: (1) Inserts a content definition tag within the BIThinSession tag and (2) Inserts a Render tag at the location of the cursor in the <FORM> element.

List of BI Beans JSP Tags