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 UI page 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:
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 |
Facilitates testing on mobile devices, where the browser log is not easy to retrieve in real-time. |
Boolean |
|
Inserts new entries at the top of the log window rather than at the end. | Boolean |
|
Specifies the direction of the text on the page.
|
String |
|
Specifies the locale for the view. | String |
|
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 or page, see Building coaches.
For information about standard properties
(General, Configuration,
Positioning, Visibility, and HTML
Attributes), see View properties.