Display Page Service

Top  Previous  Next

The Display Page Service of the MoreMotion can be called using the following syntax:

   display.doms?pg=page-name
     [&loc=current-location]
     [_sendhtml=true]
     [_lang=page-language-code]
     [_nocache=true]
     [other-parameters]
     &_rand=unique-number 

display.doms

The URL of the Display Page Service.

pg

The name of the page to display. The value assigned to this parameter is a page name with its path name relative to the web root.

Examples:

http://myhost/display.doms?pg=Page1 "Page1" is right under the web root.

http://myhost/display.doms?pg=/dir1/dir2/Page2 "Page2" is under dir1/dir2 directory under the web root

pg parameter accepts more than one page name by separating each with commas. See Page Sequencing.

loc

The current page location. It is used to be able to define the pg parameter relatively.

Example:

http://myhost/display.doms?pg=Page2&loc=/dir1/dir2 

 

_sendhtml

It is used to force the Display Page Service to respond to the request in HTML. When this parameter is given value 'true', regardless of the XSLT capability of the browser, the MoreMotion prepares the response in HTML format by invoking the configured XSLT processor and sends to the requesting browser.

Example:

display.doms?pg=Page3&_sendhtml=true

 

_lang

The 2-digit language code of the page. Once this parameter is used in a request its value is preserved during the session until it is replaced by another usage. This parameter helps MoreMotion Resource Manager and I18N components (if provided any) to serve correct resources depending on the chosen language.

_nocache

Using the avoidCaching element in the Page Configuration it is possible to tell the MoreMotion to place necessary settings in the response header so that the XML or HTML response sent is not cached by the browser. If, however, avoidCaching element is not configured in the Page Configuration it is still possible to do the same for a particular request by using this parameter with value true.

_rand

This parameter is not evaluated by the Display Page Service. It is used to force the browser to make a new request even though all the request parameters are identical to one of the previous requests. If avoidCaching element is used in the Page Configuration or _nocache parameter is used in the request then there is no need for this parameter.