Selecting the Right Style Sheet

An intelligent HTML page (generated inside Application Designer) links to a style sheet file. The selection of the style sheet file is done in the following way:

  • Dynamic selection (default):
    The name of the style sheet file is determined by a property style of your adapter class. If this is not specified, the default Application Designer style sheet is chosen. The style property is provided automatically. See Dynamic Selection of the Style Sheet File for further information.

  • Static selection:
    The name of the style sheet file is defined in the page by specifying the stylesheetfile property of the "page" tag. See Static Selection of the Style Sheet File.

Static selection takes precedence over dynamic selection, i.e. if static selection is defined, dynamic selection is not taken into consideration anymore.

Typically, you define the style sheet file name statically only for certain pages: for those pages you want to be sure that they do not differ from the defined look and feel.