Configuration

Turns on debugging information and helps you pin down the problematic view. It also specifies the internationalization (I18N) service that is used to internationalize views.

The Configuration view provides details about the views in the coach where it is used. For example, it can specify whether the debug log is on, what views are loaded, and what expressions are associated with what views.
Tip: Use Configuration at the page level rather than nested inside a view. Also, when you use parameters, place the Configuration view at the top of the page, so that when the page is loaded, the parameters can be accessed by the other views in the page.

Configuration properties

Under Configuration, set or modify the configuration properties for the view.
Theme definitions
Theme definitions specify the colors and styles for a view and determine its appearance. You can preview the look and feel of views in the theme editor. See Themes.

The appearance configuration properties for Configuration are shown in the following table:

Table 1. Appearance configuration properties for Configuration
Configuration property Description Data type
Debugging on Specifies whether the debug switch is enabled. The debug switch enables views to log debug information in the console. Boolean
Logging > Show log

Facilitates testing on mobile devices, where the browser log is not easy to retrieve in real-time.

Boolean
Logging > Last entry first Inserts new entries at the top of the log window rather than at the end. Boolean
Internationalization > Global text direction Specifies the direction of the text on the page.
  • Auto (based on user settings)
  • Left-to-Right
  • Right-to-Left
String
Internationalization > Locale Specifies the locale for the view. String
Internationalization > I18N service Specifies the I18N Ajax service that supplies internationalization to the UI views. AJAX Service
Parameters Provides the list of parameters that can be accessed by the getParameter() method. NameValuePair[]

Methods

For detailed information on the available methods for Configuration, see the Configuration JavaScript API.

Additional resources

For information about how to create a coach, see Building coaches.
For information about standard properties (General, Configuration, Positioning, Visibility, and HTML Attributes), see View properties.