6.2. Interaction between Regions

The previous section illustrated how you can get two pages to work together to give users a more complete exploration of their data. In this section, you will see how you can implement a similar approach by using a select list to impose a filter condition on a Flash chart.

You are going to give your users another version of the chart you created in the previous section, which will show the breakdown of purchases, by category, for individual customers. The users will be able to select a customer from a dynamic selection list, so additional customers will instantly be available for this type of analysis.

Try It Out: Copying a Page

Since this chart will have a selection condition imposed on its data, you should start by copying your previous chart.

  1. Return to the development environment for your chart page.

  2. Click Copy to bring up the page shown in Figure 6-18. Accept the default choice of copying a page in the application, and click Next.

  3. On the next page, change the New Page Name to Purchases by Customer and select Breadcrumb from the selection list. Change the Entry Name for the breadcrumb to Purchases by Customer. You can use breadcrumbs as you did before, and click Next.

    Figure 6-18. Figure 6-18
  4. Leave the default names for the regions in the next page, and click Next.

  5. This chart will be used to look at the data from a different viewpoint, so select ...

Get Beginning Oracle® Application Express now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.