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

CallFirstPageGenerator Function

The CallFirstPageGenerator function is scoped by the EventDispatcher function, and it is called the first time a new web user calls the Dispatcher function.

As the name indicates, the CallFirstPageGenerator should call the Page Generator for the first page of the Websydian application.  To the web user, this HTML page will be the Entry page of the application.

Implementing

The CallFirstPageGenerator function is responsible for calling the Page Generator function of the first HTML page to be generated and sent to the user.  The call to the Entry Page Generator function is placed in the Call to first page edit point.

Call Page Generator of entry page

In the CallFirstPageGenerator function of a Websydian application, a call is required to the Page Generator function of the entry page of the web application.

Often, the entry page of a web application is the page where the user can log into the application.

Example

The inherited action diagram logic of the CallFirstPageGenerator function is simple:

CallFirstPageGenerator example

Example of CallFirstPageGenerator function only contains a call to the Entry page of the web application