Page Configuration

Top  Previous  Next

A Page configuration has the following inner level configuration elements.

<root>

    <language />

    <encoding />

    <avoidCaching />

    <ajaxSourcePage />

 

    <processTemplateCall />

 

    <accessControl />

 

    <dataRequest />

 

    <command />

 

  </root> 

The configuration elements that are specific to the page configuration

language Element

Defines the language code of the page.The values can be a two-byte international language code, "ml" or "applicationLanguage". "ml" stands for multi-lingual and it should be used for multi lingual applications. When the language code of a page is "ml" then "_lang" parameter should be provided in the display page request of the page.

If "applicationLanguage" is used as the language code then it is substituted with the value of the "applicationLanguage" system parameter. See "applicationLanguage" system parameter.

 
encoding Element

Defines the encoding of the page. For multi-lingual pages "utf-8" should be specified as the value.

avoidCaching Element

When the value of this parameter is true then MoreMotion places no-cache definitions into the response header to tell the browser "Do Not Cache This Response".

ajaxSourcePage Element

If a page contains one or more Ajax Source Area elements then the page should be marked with this element as Ajax Source Page in order to block the direct access to it.

processTemplateCall Element

This configuration element is used to define a process template call which will be executed prior to displaying of the page. 0 or more process template calls can be defined using this element in a page configuration. See processTemplateCall configuration element.

accessControl Element

The accessControl element can be used to control the accessing of the page source with a sufficient authority.
See accessControl configuration element.

dataRequest Element

Defines a data request for the page. See dataRequest element.

command Element

Defines a page command. See command element.

 
Other configuration elements that can be used inside the page configuration

In addition to the page specific configuration elements, a page configuration may also contain the following configuration elements.

dataSource Element
processComandElement Element
processTemplateElement Element

 

Please note that these configuration elements can be used in global configuration files as well as the page configuration files.

See Global Configuration versus Page Configuration