$SEARCH_SKELETON

Specify the order of searching for layout definitions of static server pages.

$SEARCH_SKELETON {=} internal_only | internal_first | external_only | external_first

Arguments

  • internal_only—searches for the layout definition of a server page internally (default if there is an internal layout).
  • internal_first—searches for the layout definition of a server page internally. If the search fails, then it searches for the .hts file with the same name as the server page.
  • external_only—searches for the .hts file with the same name as the server page (default if there is no internal layout).
  • external_first—searches for the .hts file with the same name as the server page. If the search fails, then it searches for the layout definition of the server page internally.

Defaults

Assignment file: Application assignment files
Section: [SETTINGS]
Default value: None

Description

A server page consists of a component definition and a layout definition, which may be internal (the default) or external. An external layout (known as an HTML skeleton file) can be generated using the /ext subswitch when compiling static or dyanmic server pages from the command line.

$SEARCH_SKELETON determines the order and locations in which Uniface searches for the layout definition of a static server page (USP) to generate the XHTML file for the browser. It has no effect on the use of external layouts in dynamic server pages (DSPs).

Uniface only uses an external skeleton for DSPs if directed to do so in ProcScript, or if the .dsp contain no internal layout.

External layout definitions enable you to maintain the layout in a third-party tool, or to incorporate the standards and templates for your web site without having to do so the IDE.

Related Topics