Internet Technologies:cxp

CXP file types and usage Foundation

The following table lists all CXP-specific file types and their description. Each of these file types will be explained in more detail below.

CXP file types
Extension Description
.cxp A CXP source file. Contains a mix of Xbase++ code and HTML markup.
.layout A layout file. Use for structuring complex content.
.config A configuration file specific to the CXP page/layout file with the same name.
.locale A collection of locale definitions specific to the CXP page/layout file with the same name.
application.config Configuration file for all CXP pages within the same directory.
global.config Global configuration of your website.

<filename>.cxp: The .cxp file contains your markup and Xbase++ source code for creating the presentation layer of your web application. Typically, a web application consists of multiple .cxp files located in the same sub-directory.

<filename>.layout: A .layout file is like a .cxp file. However, .layout's can never be requested directly via the browser. Instead, layout files are referenced by multiple CXP pages which have the same visual structure. In fact, layout files allow to organize the visual appearance of your website or web application at a central place.

<filename.cxp>.config: Any CXP page can have an associated .config file. This file can be used to control the behavior as well as the build management of your CXP page. In addition, any user-defined node in the config file can be accessed using the ::config member variable of your page object.

<filename.cxp>.locale: Any CXP page can have an associated .locale file. The locale file is used to resolve language specific tokens inside your CXP page.

<application.config>: Any directory which contains multiple CXP pages is considered an application. The application.config file is used to configure the behavior of all CXP pages contained in the application directory.

<global.config>: The <global.config> file is used to define website global CXP-specific configuration parameters, such as the location of the session storage or the timeouts of the session cookies.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.