# Oracle Business Intelligence Beans Sample

## Changing the Look and Feel of the BI Beans UIX Application

### Overview

Business Intelligence Beans thin beans are built using ADF UIX technology. ADF UIX lets you change the appearance, or look and feel, of an application without having to rewrite the UIX code that implements the application's user interface. UIX provides two parent look and feels, Base Look and Feel and Simple Look and Feel, which you can extend to provide custom look and feels for your applications. By default, a custom look and feel inherits the appearance of its parent look and feel. When you wish to modify the appearance of a component, you simply provide custom style definitions, custom icons, or a custom Renderer for that component.

This sample demonstrates how to switch between different look and feels. It uses a custom look and feel that extends the Simple Look and Feel, and it can replace the default Oracle Browser Look and Feel (BLAF) with Oracle JDeveloper 10g.

For more information refer to the following JDeveloper tutorial on Oracle Technology Network: How To create a Look and Feel for ADF UIX.

### Code Highlights

Examine the file `public_html\WEB-INF\uix-config.xml` to see how the new look and feel is registered with the UIX configuration.

The features of the Sample look and feel are defined in file `public_html\WEB-INF\sample-laf.xml.`

The new page layout and side bar are defined in the following files:

- `public_html\templates\laf\sample\pageLayout.uit`
- `public_html\templates\laf\sample\sideBar.uit`

The styles for the Sample look and feel are defined in file: `public_html\sampleStyles\sample.xss`

### How To Run

In JDeveloper, expand the `bibeans` workspace and the `uix` project. Expand the Web Content folder, right-click on `changingLAF.uix`, and select Run from the popup menu. Change the look and feel of the page using the dropdown labeled "Look and Feel".

Copyright © 2004 Oracle Corporation. All Rights Reserved.