Websydian v6.1 online documentationOnline documentation - Websydian v6.1

The Presentation Control Module

Library

WSYPRES

Main Patterns

MessageStore

SessionWithLayoutControl

Introduction to the Presentation Control Module

The Presentation Control module contains two main patterns providing support for controlling the appearance of pages and messages generated by a Websydian application.

Message Store

The Message Store pattern overwrites the standard CA Plex message handling.  Instead, messages generated by the application are stored in and retrieved from database tables.  When retrieving a message to be displayed to the user, each message is assembled from a selected template depending on the language chosen.

The Message Store can also be used simply to log all messages generated by the application.

Layout Control

The Layout Control pattern enables a Websydian application to use multiple sets of Document Templates.  Based on a Template Code, the Document Template from the corresponding folder will be selected when generating the HTML page (or WML deck) by the Websydian application.

The Layout Control pattern is itself based on the Websydian Session Management module.  In this way, the Template Code is stored with the User Session.

Websydian Layout Control may also be used in WAP applications to comply with the fact that the WML browsers built into WAP devices from different vendors differ in their interpretation of the WML standard.