2022 April Release

Class FSCVAPP@1.1001:ApplicationDispatcher Permanent link for this heading

Class Hierarchy

Object > ComponentObject > ApplicationDispatcher

An object of the class ApplicationDispatcher ("Application Dispatcher") is used to control the application beeing executed.
An application dispatcher stores a list of static resources ("Look Entries"), that are used by the generated code. The look entries are the primary means to modify the look and feel of an application. To make the customization of a predefined application dispatcher feasable, a custom dispatcher can be based on another dispatcher ("Based on"). To overwrite or add an .css or .scss file in a new ApplicationDispatcher you also need to specify an ColorScheme which has the property "defaultdispatcher" set to the new dispatcher.
When an application is started, a custom login procedure can be applied. This custom login is done by calling the action "Process Login" on the dispatcher. Process login executes the login statements ("Login Steps") registered on the dispatcher by default.
After the login processing, access to the application dispatcher is checked with the accesstype AccTypeExecApp ("Run Application").

Additional Information

Properties Permanent link for this heading

Type

Property

Name

ApplicationDispatcher

basedon

Based on

ComponentObject[]

clientconstants

Constants

ComponentObject[]

clientstrings

Localization Strings for Client Parts

Feature[]

features

Features

ListView[]

listviews

List Views

Step[]

loginsteps

Login Statements

LookElement[]

lookelements

Look Entries

LookElement[]

preparedlookelements

Prepared Look Entries

AuthAggregate[]

vsgauthaggregate

Secure Signature

Application

vsgauthenticateapp

Validate Authentication Before Signing

boolean

vsgchangetohttps

Change to HTTPS for Signing

Action

vsgverifypasswordaction

Action to Verify Password

Actions Permanent link for this heading

Return Type

Signature

void

GenerateView(
  interface context,
  object dispatcher,
  object application,
  integer[] applicationpath,
  dictionary applicationroot,
  dictionary parameters,
  object applicationview)

string

GetHTML(
  string url,
  out retval string htmlutf8,
  optional string context,
  optional string cutprefix,
  optional string cutsuffix)

void

Login(
  interface context,
  object application)

void

Prepare(
  string directory)

void

PrepareStyleSheet(
  string[] srcfiles,
  string dstpath,
  string swc)

string

ProcessLocal(
  object application,
  optional string arguments,
  optional interface request,
  out retval string response,
  optional string contenttype)

integer

ReadViewResults(
  interface context,
  object dispatcher,
  object application,
  integer[] applicationpath,
  dictionary applicationroot,
  dictionary parameters,
  dictionary branchparameters,
  object applicationview,
  out retval integer branchid)

void

Starting(
  interface context,
  object dispatcher,
  object application,
  integer[] applicationpath,
  dictionary applicationroot)

void

Stopping(
  interface context,
  object dispatcher,
  object application,
  integer[] applicationpath,
  dictionary applicationroot)