How to I change the default preferences of the UI components?

You can avoid the need to apply the same changes to multiple components, one by one, after you add them to your pages. Within RAD, you can set the default preferences of the ItemsGrid and Logon components, before you add them to your application. By changing the default preferences, all new ItemsGrid or Logon components added to Faces JSP pages will reflect the new settings. This change can save time when you build applications.

To change the default preferences
  1. On the Windows menu, click Preferences.
  2. In the Preferences dialog box, expand the Crystal Enterprise node and select Logon or ItemsGrid.
  3. Specify the new default settings for the component.
  4. For details, see ItemsGrid preferences and Logon preferences.

  5. Click Apply to apply the changes.
  6. Note:    To revert back to the original settings, click Restore Defaults.

  7. Click OK to confirm the changes, and then close the Preferences dialog box.

The next sections explain in detail the preferences for each component.

ItemsGrid preferences

The ItemsGrid preferences panel allows you to set the fields of the EnterpriseItems bean that is bound to the ItemsGrid component. These fields will appear as separate columns in the grid. For example, by default, SI_DESCRIPTION, SI_NAME, and SI_PROGID are shown, which would create a grid with three columns: one for each field of the item.

To remove one of the fields, clear the box next to the field and click Apply. Additional custom fields can also be added to the default ItemsGrid component, to create more columns when you add a new component to a page. To add a custom field, click Add Custom and enter the appropriate field name as the description.

Note:    The preferences only determine what field columns are created by default when you first add a new ItemsGrid component to a page. Fields can still be added or removed during design time after this point.

For a list of fields that can be added, see the EnterpriseItem bean.

Logon preferences

The Logon preferences panel allows you to set the default values of the four main properties of a new Identity bean that is bound to a new Logon component:

When you add a new Logon component after setting these preferences, to see the effects of these changes, you must create a new Identity bean when prompted, rather than use an existing Identity bean. These preferences will be the initialized values for the equivalent bean properties of a the Identity bean.



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